Commit Diff


commit - edc930eb84ed02c76531f9db419b1d6477805eef
commit + 6595d7300a0803b0372c4bae0ee3a077e4739f59
blob - 93dc6cd6cb77e7439e1fd413b8cd2b710115028e
blob + 3792b652dee263ce30204bd5400a0e7bd5088964
--- gotwebd/files/htdocs/gotwebd/gotweb.css
+++ gotwebd/files/htdocs/gotwebd/gotweb.css
@@ -236,15 +236,6 @@ header.subtitle h2 {
 	width: 65%;
 }
 
-#tag_header_wrapper {
-	background-color: #f5fcfb;
-}
-#tag_header {
-	padding-left: 10px;
-	padding-top: 5px;
-	padding-bottom: 2px;
-	width: 80%;
-}
 #tag_commit {
 	padding-top: 20px;
 	padding-left: 20px;
@@ -299,16 +290,15 @@ header.subtitle h2 {
 	text-decoration: none;
 }
 
-.commits_content {
-	width: 100%;
-}
-.commits_header_wrapper {
+.page_header_wrapper {
 	background-color: #f5fcfb;
-}
-.commits_header {
+	padding-left: 10px;
 	padding-top: 5px;
 	padding-bottom: 2px;
-	width: 80%;
+}
+
+.commits_content {
+	width: 100%;
 }
 .commit {
 	padding-left: 20px;
@@ -316,14 +306,6 @@ header.subtitle h2 {
 	white-space: pre-wrap;
 }
 
-#blame_header_wrapper, #blob_header_wrapper {
-	background-color: #f5fcfb;
-}
-#blame_header, #blob_header {
-	padding-left: 10px;
-	padding-top: 5px;
-	padding-bottom: 2px;
-}
 #blame, #blob {
 	margin-top: 20px;
 	margin-left: 20px;
@@ -364,12 +346,6 @@ header.subtitle h2 {
 	overflow: hidden;
 }
 
-#tree_header {
-	background-color: #f5fcfb;
-	padding-left: 10px;
-	padding-top: 5px;
-	padding-bottom: 2px;
-}
 #tree {
 	margin-left: 20px;
 	margin-top: 20px;
@@ -389,14 +365,6 @@ header.subtitle h2 {
 	width: 9.5em;
 }
 
-#diff_header_wrapper {
-	background-color: #f5fcfb;
-}
-#diff_header {
-	padding-left: 10px;
-	padding-top: 5px;
-	padding-bottom: 2px;
-}
 #diff {
 	margin-top: 20px;
 	margin-left: 20px;
blob - 74d26ee3cbcb7e3df2545d2fbb12bbc95351b2db
blob + 05d50fd5f99362148873de51d2893430d624d249
--- gotwebd/pages.tmpl
+++ gotwebd/pages.tmpl
@@ -503,8 +503,8 @@ nextsep(char *s, char **t)
 	diff.commit = rc->commit_id;
 	tree.commit = rc->commit_id;
     !}
-    <div class="commits_header_wrapper">
-      <dl class="commits_header">
+    <div class="page_header_wrapper">
+      <dl>
         <dt>Commit:</dt>
         <dd><code class="commit-id">{{ rc->commit_id }}</code></dd>
         <dt>From:</dt>
@@ -548,8 +548,8 @@ nextsep(char *s, char **t)
   <h2>Blob</h2>
 </header>
 <div id="blob_content">
-  <div id="blob_header_wrapper">
-    <dl id="blob_header">
+  <div class="page_header_wrapper">
+    <dl>
       <dt>Date:</dt>
       <dd>
         {{ render datetime(tp, rc->committer_time, TM_LONG) }}
@@ -594,8 +594,8 @@ nextsep(char *s, char **t)
   <h2>Tree</h2>
 </header>
 <div id="tree_content">
-  <div id="tree_header_wrapper">
-    <dl id="tree_header">
+  <div class="page_header_wrapper">
+    <dl>
       <dt>Tree:</dt>
       <dd><code class="commit-id">{{ rc->tree_id }}</code></dd>
       <dt>Date:</dt>
@@ -787,8 +787,8 @@ nextsep(char *s, char **t)
   <h2>Tag</h2>
 </header>
 <div id="tags_content">
-  <div id="tag_header_wrapper">
-    <dl id="tag_header">
+  <div class="page_header_wrapper">
+    <dl>
       <dt>Commit:</dt>
       <dd>
         <code class="commit-id">{{ rt->commit_id }}</code>
@@ -826,8 +826,8 @@ nextsep(char *s, char **t)
   <h2>Commit Diff</h2>
 </header>
 <div id="diff_content">
-  <div id="diff_header_wrapper">
-    <dl id="diff_header">
+  <div class="page_header_wrapper">
+    <dl>
       <dt>Commit:</dt>
       <dd><code class="commit-id">{{ rc->commit_id }}</code></dd>
       <dt>From:</dt>
@@ -994,8 +994,8 @@ nextsep(char *s, char **t)
   <h2>Blame</h2>
 </header>
 <div id="blame_content">
-  <div id="blame_header_wrapper">
-    <dl id="blame_header">
+  <div class="page_header_wrapper">
+    <dl>
       <dt>Date:</dt>
       <dd>
         {{ render datetime(tp, rc->committer_time, TM_LONG) }}