Commit Diff


commit - 6e1b28b643862111cb5b8b916fef8249b1b36c97
commit + 1d47f68bf9b6f33efff83db74a63cbd0e53c5ff6
blob - 9bc9e41186b83a537530e7cfb4e386bdc1bcfb4d
blob + 2594c09ca6c2732111ca27d0de6e45f927624dc7
--- gotwebd/pages.tmpl
+++ gotwebd/pages.tmpl
@@ -217,7 +217,7 @@ nextsep(char *s, char **t)
         {{ end }}
       </div>
     </nav>
-    <main>
+    <main class="action-{{ gotweb_action_name(qs->action) }}">
       {{ render body(tp) }}
     </main>
     <footer id="site_owner_wrapper">
@@ -1108,15 +1108,23 @@ nextsep(char *s, char **t)
     <dd><pre class="clone-url">{{ t->repo_dir->url }}</pre></dd>
   {{ end }}
 </dl>
-{{ render gotweb_render_briefs(tp) }}
-{{ render gotweb_render_branches(tp, refs) }}
-{{ render gotweb_render_tags(tp) }}
-<header class='subtitle'>
-  <h2>Tree</h2>
-</header>
-<div id="tree_content">
-  {{ render tree_listing(tp) }}
+<div class="summary-briefs">
+  {{ render gotweb_render_briefs(tp) }}
+</div>
+<div class="summary-branches">
+  {{ render gotweb_render_branches(tp, refs) }}
 </div>
+<div class="summary-tags">
+  {{ render gotweb_render_tags(tp) }}
+</div>
+<div class="summary-tree">
+  <header class='subtitle'>
+    <h2>Tree</h2>
+  </header>
+  <div id="tree_content">
+    {{ render tree_listing(tp) }}
+  </div>
+</div>
 {{ end }}
 
 {{ define gotweb_render_blame(struct template *tp) }}