Thread: [Codestriker-commits] CVS update: codestriker/template/en/default viewtopicheader.html.tmpl
Brought to you by:
sits
|
From: <si...@us...> - 2008-06-23 07:27:23
|
User: sits
Date: 08/06/23 00:27:22
Modified: template/en/default viewtopicheader.html.tmpl
Log:
More CSS changes.
Index: viewtopicheader.html.tmpl
===================================================================
RCS file: /cvsroot/codestriker/codestriker/template/en/default/viewtopicheader.html.tmpl,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- viewtopicheader.html.tmpl 29 Jun 2007 07:13:59 -0000 1.9
+++ viewtopicheader.html.tmpl 23 Jun 2008 07:27:22 -0000 1.10
@@ -26,7 +26,7 @@
<td width="1" class="space"> </td>
<td width="1%" nowrap class=[% IF topicinfo == 0 %]"notselected"[% ELSE %]"selected"[% END %]>
<a class="tab" href="[% view_topicinfo_url %]">Topic Information</a> </td>
- <td colspan=2 bgcolor="#eeeeee" align=right><b>[% author | html_entity %]</b></td>
+ <td colspan=2 class="space" align=right><b>[% author | html_entity %]</b></td>
</tr>
</table>
|
|
From: <si...@us...> - 2008-07-02 00:37:02
|
User: sits
Date: 08/07/01 17:37:01
Modified: . CHANGELOG
html codestriker.css
template/en/default viewtopicheader.html.tmpl
Log:
More CSS / html changes from Daniel for the view topic header.
Index: CHANGELOG
===================================================================
RCS file: /cvsroot/codestriker/codestriker/CHANGELOG,v
retrieving revision 1.237
retrieving revision 1.238
diff -u -r1.237 -r1.238
--- CHANGELOG 26 Jun 2008 21:52:22 -0000 1.237
+++ CHANGELOG 2 Jul 2008 00:37:00 -0000 1.238
@@ -60,8 +60,9 @@
in either the start or end tag field.
* Updated the Codestriker CSS file significantly based on the work by
- Kannan Goundan <ca...@us...>. Also changed the
- appearance of the application to give it a more modern look.
+ Kannan Goundan <ca...@us...> ands Daniel Noll.
+ Also changed the appearance of the application to give it a more
+ modern appearance.
* Can now comment on any line of any file in the review, not just those
that are a part of the diff file.
Index: codestriker.css
===================================================================
RCS file: /cvsroot/codestriker/codestriker/html/codestriker.css,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- codestriker.css 1 Jul 2008 11:10:29 -0000 1.27
+++ codestriker.css 2 Jul 2008 00:37:01 -0000 1.28
@@ -161,18 +161,23 @@
/* Codestriker heading */
#header {margin-bottom: 1em; font-family: sans-serif;}
-#header .heading {background-color: #404D6C; color: white; font-size: 110%; -moz-border-radius-topleft: 5px; -moz-border-radius-topright: 5px; margin: 0; padding: 0.5em; vertical-align: bottom; font-weight: bold;}
+#header .heading {background-color: #404D6C; color: white; font-size: 110%; border-top-left-radius: 5px; -moz-border-radius-topleft: 5px; border-top-right-radius: 5px; -moz-border-radius-topright: 5px; margin: 0; padding: 0.5em; vertical-align: bottom; font-weight: bold;}
#header .heading a {text-decoration: none; color: white; background-color: transparent;}
/* Codestriker top-level menu */
-#header .menu {font-size: 85%; border-left: 1px solid silver; border-right: 1px solid silver; border-bottom: 1px solid silver; -moz-border-radius-bottomleft: 5px; -moz-border-radius-bottomright: 5px; padding: 0.5em}
+#header .menu {font-size: 85%; border-left: 1px solid silver; border-right: 1px solid silver; border-bottom: 1px solid silver; border-bottom-left-radius: 5px; -moz-border-radius-bottomleft: 5px; border-bottom-right-radius: 5px; -moz-border-radius-bottomright: 5px; padding: 0.5em;}
/* Tabbing styles */
-TR.tab {background-color: #abd; font-family: Georgia, serif}
-TD.selected {background-color: #abd}
-TD.notselected {background-color: #cccccc}
-TD.space {background-color: white}
-A.tab {text-decoration: none}
+DIV.tabs {width: 100%; font-family: sans-serif;}
+DIV.tab {display: block; float: left; padding: 0.3em 0.4em; margin-right: 0.4em; border-top-left-radius: 5px; -moz-border-radius-topleft: 5px; border-top-right-radius: 5px; -moz-border-radius-topright: 5px;}
+DIV.tab.selected {background-color: #abd;}
+DIV.tab.selected:hover {background-color: #bce;}
+DIV.tab.notselected {background-color: #ccc;}
+DIV.tab.notselected:hover {background-color: #ddd;}
+DIV.tab A {text-decoration: none;}
+DIV.tabfloat {font-weight: bold; float: right;}
+DIV.aftertabs {left: 0; right: 0; background-color: #abd; padding: 0.3em 0.4em; font-family: sans-serif; clear: both;}
+DIV.aftertabfloat {float: right}
/* Styles for error field in comment posting tooltip. */
span.hidden {display: none}
@@ -191,8 +196,8 @@
SPAN.dir { color:#008200; }
SPAN.sym { color:#000000; }
SPAN.line { color:#555555; }
-SPAN.mark { background-color:#ffffbb;}
+SPAN.mark { background-color:#ffffbb;}
SPAN.kwa { color:#000080; font-weight:bold; }
SPAN.kwb { color:#000080; font-weight:bold; }
SPAN.kwc { color:#000000; }
-SPAN.kwd { color:#000000; }
\ No newline at end of file
+SPAN.kwd { color:#000000; }
Index: viewtopicheader.html.tmpl
===================================================================
RCS file: /cvsroot/codestriker/codestriker/template/en/default/viewtopicheader.html.tmpl,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- viewtopicheader.html.tmpl 23 Jun 2008 10:12:16 -0000 1.11
+++ viewtopicheader.html.tmpl 2 Jul 2008 00:37:01 -0000 1.12
@@ -13,29 +13,25 @@
<p>
[% END %]
-<table cellpadding="5" cellspacing="0" border="0" width="100%">
-<tr class="tab">
- <td width="1%" nowrap class=[% IF topicview == 0 %]"notselected"[% ELSE %]"selected"[% END %]>
- <a class="tab" href="[% view_topic_url %]">Topic Text</a></td>
- <td width="1" class="space"> </td>
- <td width="1%" nowrap class=[% IF topiccomments == 0 %]"notselected"[% ELSE %]"selected"[% END %]>
- <a class="tab" href="[% view_comments_url %]">Topic Comments ([% number_comments %])</a></td>
- <td width="1" class="space"> </td>
- <td width="1%" nowrap class=[% IF topicproperties == 0 %]"notselected"[% ELSE %]"selected"[% END %]>
- <a class="tab" href="[% view_topic_properties_url %]">Topic Properties</a></td>
- <td width="1" class="space"> </td>
- <td width="1%" nowrap class=[% IF topicinfo == 0 %]"notselected"[% ELSE %]"selected"[% END %]>
- <a class="tab" href="[% view_topicinfo_url %]">Topic Information</a> </td>
- <td colspan=2 class="space" align=right><b>[% author | html_entity %]</b></td>
-</tr>
-</table>
-
-<table cellpadding="5" cellspacing="0" border="0" width="100%">
-<tr class="tab">
- <td>Topic title: <b>[% title | html_entity %]</b></td>
- <td align=right>[% document_creation_time | html_entity %]</td>
-</tr>
-</table>
+<div class="tabs">
+ <div class="tabfloat">[% author | html_entity %]</div>
+ <div class=[% IF topicview == 0 %]"tab notselected"[% ELSE %]"tab selected"[% END %]>
+ <a href="[% view_topic_url %]">Topic Text</a>
+ </div>
+ <div class=[% IF topiccomments == 0 %]"tab notselected"[% ELSE %]"tab selected"[% END %]>
+ <a href="[% view_comments_url %]">Topic Comments ([% number_comments %])</a>
+ </div>
+ <div class=[% IF topicproperties == 0 %]"tab notselected"[% ELSE %]"tab selected"[% END %]>
+ <a href="[% view_topic_properties_url %]">Topic Properties</a>
+ </div>
+ <div class=[% IF topicinfo == 0 %]"tab notselected"[% ELSE %]"tab selected"[% END %]>
+ <a href="[% view_topicinfo_url %]">Topic Information</a>
+ </div>
+</div>
+<div class="aftertabs">
+ <div class="aftertabfloat">[% document_creation_time | html_entity %]</div>
+ <div>Topic title: <b>[% title | html_entity %]</b></div>
+</div>
[%# If this topic obsoletes any other topics, show them now #%]
[% IF obsoleted_topics.size > 0 %]
|