Commit Diff


commit - 51b4fd27b0649d6573dbb0fc138470f29936bdce
commit + d89b39875598f924873fd58a154df51e5b501eb5
blob - 7b799b551584ca3915742463b22ef7f94d0fab31
blob + ba1f795cb604112cad56721ea713c5df80ba64fc
--- 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) }}