logo       
Google Custom Search
    AddThis Social Bookmark Button

svn commit: r1334 - trunk/templates: . docroot include: msg#00034

Subject: svn commit: r1334 - trunk/templates: . docroot include
Author: cmpilato
Date: 2006-04-13 21:35:13-0700
New Revision: 1334

Modified:
   trunk/templates/dir_new.ezt
   trunk/templates/directory.ezt
   trunk/templates/docroot/styles.css
   trunk/templates/include/file_header.ezt
   trunk/templates/include/footer.ezt
   trunk/templates/query_form.ezt
   trunk/templates/revision.ezt
   trunk/templates/roots.ezt

Log:
* templates/docroot/styles.css
  New "vc_icon" style.

* templates/include/footer.ezt,
* templates/include/file_header.ezt,
* templates/dir_new.ezt,
* templates/query_form.ezt,
* templates/revision.ezt,
* templates/directory.ezt,
* templates/roots.ezt
  Use 'class="vc_icon"' instead of 'width="16" height="16"'.


Modified: trunk/templates/dir_new.ezt
Url: 
http://viewvc.tigris.org/source/browse/viewvc/trunk/templates/dir_new.ezt?view=diff&rev=1334&p1=trunk/templates/dir_new.ezt&p2=trunk/templates/dir_new.ezt&r1=1333&r2=1334
==============================================================================
--- trunk/templates/dir_new.ezt (original)
+++ trunk/templates/dir_new.ezt 2006-04-13 21:35:13-0700
@@ -29,7 +29,7 @@
   <tr class="vc_row_odd">
     <td>
       <a href="[up_href]">
-      <img src="[docroot]/images/back_small.png" alt="" width="16" height="16"
+      <img src="[docroot]/images/back_small.png" alt="" class="vc_icon"
       />&nbsp;Parent&nbsp;Directory</a>
     </td>
     <td>&nbsp;</td>
@@ -40,7 +40,7 @@
   <tr class="vc_row_[if-index entries even]even[else]odd[end]">
     <td>
     <a name="[entries.anchor]" href="[is entries.pathtype 
"dir"][entries.view_href][else][if-any 
entries.prefer_markup][entries.view_href][else][entries.download_href][end][end]"
 title="[is entries.pathtype "dir"]View Directory Contents[else][if-any 
entries.prefer_markup]View[else]Download[end] File Contents[end]">
-       <img src="[docroot]/images/[is entries.pathtype "dir"]dir[else][is 
entries.state "dead"]broken[else]text[end][end].png" alt="" width="16" 
height="16" />
+       <img src="[docroot]/images/[is entries.pathtype "dir"]dir[else][is 
entries.state "dead"]broken[else]text[end][end].png" alt="" class="vc_icon" />
        [entries.name][is entries.pathtype "dir"]/[end]</a>
        [is entries.state "dead"](dead)[end]
     </td>
@@ -56,7 +56,7 @@
         [if-any entries.log_href]
         <a href="[entries.log_href]"><img
         src="[docroot]/images/log.png"
-        alt="View Log" width="16" height="16" /></a>
+        alt="View Log" class="vc_icon" /></a>
         [end]
 
         [is entries.pathtype "dir"]
@@ -65,7 +65,7 @@
           [else]
             <a href="[entries.view_href]"><img
             src="[docroot]/images/list.png"
-            alt="View Directory Listing" width="16" height="16" /></a>
+            alt="View Directory Listing" class="vc_icon" /></a>
           [end]
         [end]
 
@@ -74,26 +74,26 @@
           <a href="[entries.graph_href]"
           title="View Revision Graph"><img
           src="[docroot]/images/cvsgraph_16x16.png"
-          alt="View Revision Graph" width="16" height="16" />
+          alt="View Revision Graph" class="vc_icon" />
           </a>
           [end]
 
           [if-any entries.view_href]
           <a href="[entries.view_href]"><img
           src="[docroot]/images/view.png"
-          alt="View File" width="16" height="16" /></a>
+          alt="View File" class="vc_icon" /></a>
           [end]
 
           [if-any entries.download_href]
           <a href="[entries.download_href]"><img
           src="[docroot]/images/download.png"
-          alt="Download File" width="16" height="16" /></a>
+          alt="Download File" class="vc_icon" /></a>
           [end]
 
           [if-any entries.annotate_href]
           <a href="[entries.annotate_href]"><img
           src="[docroot]/images/annotate.png"
-          alt="Annotate File" width="16" height="16" /></a>
+          alt="Annotate File" class="vc_icon" /></a>
           [end]
         [end]
       </td>

Modified: trunk/templates/directory.ezt
Url: 
http://viewvc.tigris.org/source/browse/viewvc/trunk/templates/directory.ezt?view=diff&rev=1334&p1=trunk/templates/directory.ezt&p2=trunk/templates/directory.ezt&r1=1333&r2=1334
==============================================================================
--- trunk/templates/directory.ezt       (original)
+++ trunk/templates/directory.ezt       2006-04-13 21:35:13-0700
@@ -58,7 +58,7 @@
   <tr class="vc_row_odd">
     <td colspan="2">
       <a href="[up_href]">
-      <img src="[docroot]/images/back_small.png" alt="" width="16" height="16"
+      <img src="[docroot]/images/back_small.png" alt="" class="vc_icon"
       />&nbsp;Parent&nbsp;Directory</a>
     </td>
     <td>&nbsp;</td>
@@ -77,7 +77,7 @@
        [else]
        <a name="[entries.anchor]" href="[entries.log_href]" title="View file 
revision log">
        [end]
-       <img src="[docroot]/images/[is entries.pathtype "dir"]dir[else][is 
entries.state "dead"]broken[else]text[end][end].png" alt="" width="16" 
height="16" />
+       <img src="[docroot]/images/[is entries.pathtype "dir"]dir[else][is 
entries.state "dead"]broken[else]text[end][end].png" alt="" class="vc_icon" />
        [entries.name][is entries.pathtype "dir"]/[end]</a>
        [is entries.state "dead"](dead)[end]
      </td>
@@ -85,7 +85,7 @@
        <td style="width:1%"><a href="[entries.graph_href]"
        title="View Revision Graph"><img
        src="[docroot]/images/cvsgraph_16x16.png"
-       alt="View Revision Graph" width="16" height="16" />
+       alt="View Revision Graph" class="vc_icon" />
        </a></td>
      [end]
      [if-any entries.errors]

Modified: trunk/templates/docroot/styles.css
Url: 
http://viewvc.tigris.org/source/browse/viewvc/trunk/templates/docroot/styles.css?view=diff&rev=1334&p1=trunk/templates/docroot/styles.css&p2=trunk/templates/docroot/styles.css&r1=1333&r2=1334
==============================================================================
--- trunk/templates/docroot/styles.css  (original)
+++ trunk/templates/docroot/styles.css  2006-04-13 21:35:13-0700
@@ -24,7 +24,16 @@
 tr, td, th { vertical-align: top; }
 form { margin: 0; }
 
-/** Navigation Headers ***/
+/*** Icons ***/
+.vc_icon {
+  width: 16px;
+  height: 16px;
+  border: none;
+  padding: 0 1px;
+}
+
+
+/*** Navigation Headers ***/
 .vc_navheader {
   background-color: #cccccc;
 }

Modified: trunk/templates/include/file_header.ezt
Url: 
http://viewvc.tigris.org/source/browse/viewvc/trunk/templates/include/file_header.ezt?view=diff&rev=1334&p1=trunk/templates/include/file_header.ezt&p2=trunk/templates/include/file_header.ezt&r1=1333&r2=1334
==============================================================================
--- trunk/templates/include/file_header.ezt     (original)
+++ trunk/templates/include/file_header.ezt     2006-04-13 21:35:13-0700
@@ -1,16 +1,16 @@
 <p style="margin:0;">
 [is pathtype "file"]
-<a href="[up_href]"><img src="[docroot]/images/back_small.png" width="16" 
height="16" alt="Parent Directory" /> Parent Directory</a>
+<a href="[up_href]"><img src="[docroot]/images/back_small.png" class="vc_icon" 
alt="Parent Directory" /> Parent Directory</a>
 [if-any log_href] 
-  | <a href="[log_href][if-any log_href_rev]#rev[log_href_rev][end]"><img 
src="[docroot]/images/log.png" width="16" height="16" alt="Revision Log" /> 
Revision Log</a>
+  | <a href="[log_href][if-any log_href_rev]#rev[log_href_rev][end]"><img 
src="[docroot]/images/log.png" class="vc_icon" alt="Revision Log" /> Revision 
Log</a>
 [end]
 [if-any graph_href]
-  | <a href="[graph_href]"><img src="[docroot]/images/cvsgraph_16x16.png" 
width="16" height="16" alt="View Revision Graph" /> Revision Graph</a>
+  | <a href="[graph_href]"><img src="[docroot]/images/cvsgraph_16x16.png" 
class="vc_icon" alt="View Revision Graph" /> Revision Graph</a>
 [end]
 [is view "diff"]
-  | <a href="[patch_href]"><img src="[docroot]/images/diff.png" width="16" 
height="16" alt="View Patch" /> Patch</a>
+  | <a href="[patch_href]"><img src="[docroot]/images/diff.png" 
class="vc_icon" alt="View Patch" /> Patch</a>
 [end]
 [else]
-<a href="[view_href]"><img src="[docroot]/images/dir.png" width="16" 
height="16" alt="View Directory Listing" /> Directory Listing</a>
+<a href="[view_href]"><img src="[docroot]/images/dir.png" class="vc_icon" 
alt="View Directory Listing" /> Directory Listing</a>
 [end]
 </p>

Modified: trunk/templates/include/footer.ezt
Url: 
http://viewvc.tigris.org/source/browse/viewvc/trunk/templates/include/footer.ezt?view=diff&rev=1334&p1=trunk/templates/include/footer.ezt&p2=trunk/templates/include/footer.ezt&r1=1333&r2=1334
==============================================================================
--- trunk/templates/include/footer.ezt  (original)
+++ trunk/templates/include/footer.ezt  2006-04-13 21:35:13-0700
@@ -9,7 +9,7 @@
 </tr>
 <tr>
   <td>Powered by <a href="http://viewvc.tigris.org/";>ViewVC [vsn]</a></td>
-  <td style="text-align: right;">[if-any rss_href]<a href="[rss_href]" 
title="RSS 2.0 feed"><img 
src="[docroot]/images/feed-icon-16x16.jpg"/>[else]&nbsp;[end]</td>
+  <td style="text-align: right;">[if-any rss_href]<a href="[rss_href]" 
title="RSS 2.0 feed"><img src="[docroot]/images/feed-icon-16x16.jpg" 
class="vc_icon" />[else]&nbsp;[end]</td>
 </tr>
 </table>
 

Modified: trunk/templates/query_form.ezt
Url: 
http://viewvc.tigris.org/source/browse/viewvc/trunk/templates/query_form.ezt?view=diff&rev=1334&p1=trunk/templates/query_form.ezt&p2=trunk/templates/query_form.ezt&r1=1333&r2=1334
==============================================================================
--- trunk/templates/query_form.ezt      (original)
+++ trunk/templates/query_form.ezt      2006-04-13 21:35:13-0700
@@ -6,7 +6,7 @@
 [include "include/header.ezt" "query"]
 
 <p><a href="[dir_href]">
-<img src="[docroot]/images/dir.png" width="16" height="16" alt="Directory" />
+<img src="[docroot]/images/dir.png" class="vc_icon" alt="Directory" />
 Browse Directory</a></p>
 
 <form action="[query_action]" method="get">

Modified: trunk/templates/revision.ezt
Url: 
http://viewvc.tigris.org/source/browse/viewvc/trunk/templates/revision.ezt?view=diff&rev=1334&p1=trunk/templates/revision.ezt&p2=trunk/templates/revision.ezt&r1=1333&r2=1334
==============================================================================
--- trunk/templates/revision.ezt        (original)
+++ trunk/templates/revision.ezt        2006-04-13 21:35:13-0700
@@ -60,7 +60,7 @@
   [if-any changes]
    [for changes]
     <tr class="vc_row_[if-index changes even]even[else]odd[end]">
-      <td>[if-any changes.view_href]<a href="[changes.view_href]">[end]<img 
src="[docroot]/images/[is changes.pathtype "dir"]dir[else]text[end].png" 
width="16" height="16" alt="Directory" />[changes.path][is changes.pathtype 
"dir"]/[end][if-any changes.view_href]</a>[end]
+      <td>[if-any changes.view_href]<a href="[changes.view_href]">[end]<img 
src="[docroot]/images/[is changes.pathtype "dir"]dir[else]text[end].png" 
class="vc_icon" alt="Directory" />[changes.path][is changes.pathtype 
"dir"]/[end][if-any changes.view_href]</a>[end]
       [if-any changes.is_copy]<br /><em>(Copied from [changes.copy_path], 
r[changes.copy_rev])</em>[end]
       </td>
       <td>[if-any changes.log_href]<a 
href="[changes.log_href]">[end][changes.action][if-any 
changes.log_href]</a>[end]

Modified: trunk/templates/roots.ezt
Url: 
http://viewvc.tigris.org/source/browse/viewvc/trunk/templates/roots.ezt?view=diff&rev=1334&p1=trunk/templates/roots.ezt&p2=trunk/templates/roots.ezt&r1=1333&r2=1334
==============================================================================
--- trunk/templates/roots.ezt   (original)
+++ trunk/templates/roots.ezt   2006-04-13 21:35:13-0700
@@ -17,7 +17,7 @@
   <tr class="vc_row_[if-index roots even]even[else]odd[end]">
     <td>
       <a href="[roots.href]">
-      <img src="[docroot]/images/dir.png" alt="" width="16" height="16" />
+      <img src="[docroot]/images/dir.png" alt="" class="vc_icon" />
       [roots.name]</a>
     </td>
   </tr>



Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>