<t:style t:include="resource:extra/webapps/wiki/wiki.css" />
- <div class="navbar">
+ <table width="100%">
+ <tr>
+ <t:if t:value="sidebar">
+ <td valign="top" style="width: 210px;">
+ <div class="sidebar">
+ <t:bind t:name="sidebar">
+ <h2>
+ <t:a t:href="$wiki/view" t:query="title">
+ <t:label t:name="title" />
+ </t:a>
+ </h2>
- <t:a t:href="$wiki">Front Page</t:a>
- | <t:a t:href="$wiki/articles">All Articles</t:a>
- | <t:a t:href="$wiki/changes">Recent Changes</t:a>
- | <t:a t:href="$wiki/random">Random Article</t:a>
+ <t:html t:name="html" />
+ </t:bind>
+ </div>
+ </td>
+ </t:if>
- <t:if t:code="furnace.auth:logged-in?">
+ <td valign="top">
- <t:if t:code="furnace.auth.features.edit-profile:allow-edit-profile?">
- | <t:a t:href="$realm/edit-profile" t:aside="begin">Edit Profile</t:a>
- </t:if>
+ <div class="navbar">
- | <t:button t:action="$login-realm/logout" t:aside="begin" class="link-button link">Logout</t:button>
+ <t:a t:href="$wiki">Front Page</t:a>
+ | <t:a t:href="$wiki/articles">All Articles</t:a>
+ | <t:a t:href="$wiki/changes">Recent Changes</t:a>
+ | <t:a t:href="$wiki/random">Random Article</t:a>
- </t:if>
+ <t:if t:code="furnace.auth:logged-in?">
- </div>
+ <t:if t:code="furnace.auth.features.edit-profile:allow-edit-profile?">
+ | <t:a t:href="$realm/edit-profile" t:aside="begin">Edit Profile</t:a>
+ </t:if>
- <h1><t:write-title /></h1>
+ | <t:button t:action="$login-realm/logout" t:aside="begin" class="link-button link">Logout</t:button>
- <table width="100%">
- <tr>
- <td> <t:call-next-template /> </td>
- <t:if t:value="sidebar">
- <td valign="top">
- <t:bind t:name="sidebar">
- <h2>
- <t:a t:href="$wiki/view" t:query="title">
- <t:label t:name="title" />
- </t:a>
- </h2>
-
- <t:html t:name="html" />
- </t:bind>
- </td>
- </t:if>
+ </t:if>
+
+ </div>
+
+ <h1><t:write-title /></h1>
+
+ <t:call-next-template />
+
+ </td>
</tr>
<t:if t:value="footer">
<tr>
- <td>
+ <td colspan="2">
<t:bind t:name="footer">
<small>
<t:html t:name="html" />