make app portable through uri_base

This commit is contained in:
Oliver Gorwits
2012-01-15 23:09:43 +00:00
parent e2e032de18
commit c555fc9330
18 changed files with 59 additions and 54 deletions

View File

@@ -14,10 +14,10 @@
<td>[% row.alias %]</a>
<td>[% row.dns.remove(settings.domain_suffix) %]</a>
<td class="center_cell"><a class="nd_linkcell"
href="/device?tab=ports&ip=[% row.ip %]&q=[% row.port %]">[% row.port %]</a></td>
href="[% uri_base %]/device?tab=ports&ip=[% row.ip %]&q=[% row.port %]">[% row.port %]</a></td>
<td>[% row.device_port.name %]</td>
<td><a class="nd_linkcell"
href="/search?tab=node&q=[% row.subnet %]">[% row.subnet %]</a></td>
href="[% uri_base %]/search?tab=node&q=[% row.subnet %]">[% row.subnet %]</a></td>
</tr>
[% END %]
</tbody>