Author: nick Date: 2006-08-10 17:55:37 +0100 (Thu, 10 Aug 2006) New Revision: 835
Modified: trunk/templates/admin_home.tt Log: Add css classes to bits of the admin page
Modified: trunk/templates/admin_home.tt =================================================================== --- trunk/templates/admin_home.tt 2006-08-10 16:48:35 UTC (rev 834) +++ trunk/templates/admin_home.tt 2006-08-10 16:55:37 UTC (rev 835) @@ -21,12 +21,13 @@ <tr><th>Node name</th><th>Current Version</th><th>Moderation</th><th>Actions</th></tr> [% FOREACH node = nodes %] <tr> - <td><a href="[% node.view_url %]">[% node.name %]</a></td> - <td>[% node.version %]</td> - <td>[% IF node.moderate %]yes[% ELSE %]no[% END %]</td> - <td><a href="[% node.view_url %]">View</a> or - <a href="[% node.versions_url %]">View all versions</a> or - <a href="[% node.moderation_url %]">Set Moderation</a> + <td class="admin_name"><a href="[% node.view_url %]">[% node.name %]</a></td> + <td class="admin_version">[% node.version %]</td> + <td class="admin_moderate">[% IF node.moderate %]yes[% ELSE %]no[% END %]</td> + <td class="admin_action"> + <a href="[% node.view_url %]">View</a> or + <a href="[% node.versions_url %]">View all versions</a> or + <a href="[% node.moderation_url %]">Set Moderation</a> </td> </tr> [% END %] @@ -39,12 +40,13 @@ <tr><th>Locale name</th><th>Current Version</th><th>Moderation</th><th>Actions</th></tr> [% FOREACH locale = locales %] <tr> - <td><a href="[% locale.view_url %]">[% locale.name %]</a></td> - <td>[% locale.version %]</td> - <td>[% locale.moderate %]</td> - <td><a href="[% locale.view_url %]">View</a> or - <a href="[% locale.versions_url %]">View all versions</a> or - <a href="[% locale.moderation_url %]">Set Moderation</a> + <td class="admin_name"><a href="[% locale.view_url %]">[% locale.name %]</a></td> + <td class="admin_version">[% locale.version %]</td> + <td class="admin_moderate">[% IF node.moderate %]yes[% ELSE %]no[% END %]</td> + <td class="admin_action"> + <a href="[% locale.view_url %]">View</a> or + <a href="[% locale.versions_url %]">View all versions</a> or + <a href="[% locale.moderation_url %]">Set Moderation</a> </td> </tr> [% END %] @@ -57,12 +59,13 @@ <tr><th>Category name</th><th>Current Version</th><th>Moderation</th><th>Actions</th></tr> [% FOREACH cat = categories %] <tr> - <td><a href="[% cat.view_url %]">[% cat.name %]</a></td> - <td>[% cat.version %]</td> - <td>[% cat.moderate %]</td> - <td><a href="[% cat.view_url %]">View</a> or - <a href="[% cat.versions_url %]">View all versions</a> or - <a href="[% cat.moderation_url %]">Set Moderation</a> + <td class="admin_name"><a href="[% cat.view_url %]">[% cat.name %]</a></td> + <td class="admin_version">[% cat.version %]</td> + <td class="admin_moderate">[% IF node.moderate %]yes[% ELSE %]no[% END %]</td> + <td class="admin_action"> + <a href="[% cat.view_url %]">View</a> or + <a href="[% cat.versions_url %]">View all versions</a> or + <a href="[% cat.moderation_url %]">Set Moderation</a> </td> </tr> [% END %]