[MKDoc-commit] thead and tbody elements added to the table
chris at mkdoc.demon.co.uk
chris at mkdoc.demon.co.uk
Tue Nov 16 16:23:24 GMT 2004
Log Message:
-----------
thead and tbody elements added to the table
Modified Files:
--------------
mkd/resources/templates/admin/finder:
en.html
-------------- next part --------------
Index: en.html
===================================================================
RCS file: /var/spool/cvs/mkd/resources/templates/admin/finder/en.html,v
retrieving revision 1.7
retrieving revision 1.8
diff -Lresources/templates/admin/finder/en.html -Lresources/templates/admin/finder/en.html -u -r1.7 -r1.8
--- resources/templates/admin/finder/en.html
+++ resources/templates/admin/finder/en.html
@@ -693,264 +693,268 @@
i18n:translate="documents-found"
>Documents Found</a>
</caption>
- <tr>
- <th
- id="h-title"
- i18n:translate="title"
- >Title</th>
- <th
- id="h-created-by"
- i18n:translate="created-by"
- >Created By</th>
- <th
- id="h-creation-date"
- i18n:translate="creation-date"
- >Creation Date</th>
- <th
- id="h-last-modified-by"
- i18n:translate="last-modified-by"
- >Last Modified By</th>
- <th
- id="h-modification-date"
- i18n:translate="modification-date"
- >Modification Date</th>
- <th
- id="h-language"
- i18n:translate="language"
- >Language</th>
- <th
- id="h-status"
- i18n:translate="status"
- >Status</th>
- <!--? Uncomment this if you want a ID col
- <th
- id="h-id"
- i18n:translate="id"
- >ID</th>
- ?-->
- </tr>
- <tr
- petal:repeat="document self/results"
- >
-
- <!--? First the even row ?-->
- <th
- id="h-1"
- class="even"
- headers="h-title"
- petal:attributes="id string:h-id-${document/id};"
- petal:condition="true: repeat/even"
+ <thead>
+ <tr>
+ <th
+ id="h-title"
+ i18n:translate="title"
+ >Title</th>
+ <th
+ id="h-created-by"
+ i18n:translate="created-by"
+ >Created By</th>
+ <th
+ id="h-creation-date"
+ i18n:translate="creation-date"
+ >Creation Date</th>
+ <th
+ id="h-last-modified-by"
+ i18n:translate="last-modified-by"
+ >Last Modified By</th>
+ <th
+ id="h-modification-date"
+ i18n:translate="modification-date"
+ >Modification Date</th>
+ <th
+ id="h-language"
+ i18n:translate="language"
+ >Language</th>
+ <th
+ id="h-status"
+ i18n:translate="status"
+ >Status</th>
+ <!--? Uncomment this if you want a ID col
+ <th
+ id="h-id"
+ i18n:translate="id"
+ >ID</th>
+ ?-->
+ </tr>
+ </thead>
+ <tbody>
+ <tr
+ petal:repeat="document self/results"
>
- <a
- href="#"
- hreflang="en"
- lang="en"
- xml:lang="en"
- title="#"
- petal:content="document/title"
- petal:attributes="href document/uri;
- title document/uri;
- hreflang document/lang;
- dir document/direction;
- lang document/lang;
- xml:lang document/lang;"
- >Title</a>
- </th>
- <td
- class="even"
- headers="h-created-by h-id-1"
- title="lisa"
- petal:attributes="headers string:h-created-by h-id-${document/id};
- title document/editor_created/login;"
- petal:content="document/editor_created/real_name"
- petal:condition="true: repeat/even"
- >Lisa Simpson</td>
- <td
- class="even"
- headers="h-creation-date h-id-1"
- petal:attributes="headers string:h-creation-date h-id-${document/id};"
- petal:content="document/date_created"
- petal:condition="true: repeat/even"
- >2002-12-19 16:02:59</td>
- <td
- class="even"
- headers="h-last-modified-by h-id-1"
- title="bart"
- petal:attributes="headers string:h-last-modified-by h-id-${document/id};
- title document/editor_last_modified/login;"
- petal:content="document/editor_last_modified/real_name"
- petal:condition="true: repeat/even"
- >Bart Simpson</td>
- <td
- class="even"
- headers="h-modification-date h-id-1"
- petal:attributes="headers string:h-modification-date h-id-${document/id};"
- petal:content="document/date_last_modified"
- petal:condition="true: repeat/even"
- >2003-01-03 10:11:16</td>
- <td
- class="even"
- headers="h-language h-id-1"
- petal:attributes="headers string:h-language h-id-${document/id};
- title document/lang;"
- petal:content="document/lang_label"
- petal:condition="true: repeat/even"
- >English</td>
- <td
- class="even"
- headers="h-language h-id-1"
- petal:attributes="headers string:h-status h-id-${document/id};"
- petal:condition="true: repeat/even"
- >
- <span
- petal:omit-tag=""
- petal:translate="hidden"
- petal:condition="true: document/is_hidden"
- >Hidden</span>
- <span
- petal:omit-tag=""
- petal:condition="false: document/is_hidden"
+
+ <!--? First the even row ?-->
+ <th
+ id="h-1"
+ class="even"
+ headers="h-title"
+ petal:attributes="id string:h-id-${document/id};"
+ petal:condition="true: repeat/even"
+ >
+ <a
+ href="#"
+ hreflang="en"
+ lang="en"
+ xml:lang="en"
+ title="#"
+ petal:content="document/title"
+ petal:attributes="href document/uri;
+ title document/uri;
+ hreflang document/lang;
+ dir document/direction;
+ lang document/lang;
+ xml:lang document/lang;"
+ >Title</a>
+ </th>
+ <td
+ class="even"
+ headers="h-created-by h-id-1"
+ title="lisa"
+ petal:attributes="headers string:h-created-by h-id-${document/id};
+ title document/editor_created/login;"
+ petal:content="document/editor_created/real_name"
+ petal:condition="true: repeat/even"
+ >Lisa Simpson</td>
+ <td
+ class="even"
+ headers="h-creation-date h-id-1"
+ petal:attributes="headers string:h-creation-date h-id-${document/id};"
+ petal:content="document/date_created"
+ petal:condition="true: repeat/even"
+ >2002-12-19 16:02:59</td>
+ <td
+ class="even"
+ headers="h-last-modified-by h-id-1"
+ title="bart"
+ petal:attributes="headers string:h-last-modified-by h-id-${document/id};
+ title document/editor_last_modified/login;"
+ petal:content="document/editor_last_modified/real_name"
+ petal:condition="true: repeat/even"
+ >Bart Simpson</td>
+ <td
+ class="even"
+ headers="h-modification-date h-id-1"
+ petal:attributes="headers string:h-modification-date h-id-${document/id};"
+ petal:content="document/date_last_modified"
+ petal:condition="true: repeat/even"
+ >2003-01-03 10:11:16</td>
+ <td
+ class="even"
+ headers="h-language h-id-1"
+ petal:attributes="headers string:h-language h-id-${document/id};
+ title document/lang;"
+ petal:content="document/lang_label"
+ petal:condition="true: repeat/even"
+ >English</td>
+ <td
+ class="even"
+ headers="h-language h-id-1"
+ petal:attributes="headers string:h-status h-id-${document/id};"
+ petal:condition="true: repeat/even"
>
<span
petal:omit-tag=""
- petal:translate="versioned"
- petal:condition="true: document/is_modified_version"
- >Versioned</span>
+ petal:translate="hidden"
+ petal:condition="true: document/is_hidden"
+ >Hidden</span>
<span
petal:omit-tag=""
- petal:condition="false: document/is_modified_version"
+ petal:condition="false: document/is_hidden"
>
<span
petal:omit-tag=""
- petal:translate="deleted"
- petal:condition="true: document/is_deleted_version"
- >Deleted</span>
+ petal:translate="versioned"
+ petal:condition="true: document/is_modified_version"
+ >Versioned</span>
<span
petal:omit-tag=""
- petal:translate="live"
- petal:condition="false: document/is_deleted_version"
- >Live</span>
+ petal:condition="false: document/is_modified_version"
+ >
+ <span
+ petal:omit-tag=""
+ petal:translate="deleted"
+ petal:condition="true: document/is_deleted_version"
+ >Deleted</span>
+ <span
+ petal:omit-tag=""
+ petal:translate="live"
+ petal:condition="false: document/is_deleted_version"
+ >Live</span>
+ </span>
</span>
- </span>
- </td>
- <!--? Uncomment this if you want a ID col
- <td
- class="even"
- headers="h-id"
- petal:content="document/id"
- petal:condition="true: repeat/even"
- >ID</td>
- ?-->
-
- <!--? Now the odd row ?-->
- <th
- id="h-1"
- class="odd"
- headers="h-title"
- petal:attributes="id string:h-id-${document/id};"
- petal:condition="true: repeat/odd"
- >
- <a
- href="#"
- hreflang="en"
- lang="en"
- xml:lang="en"
- title="#"
- petal:content="document/title"
- petal:attributes="href document/uri;
- title document/uri;
- hreflang document/lang;
- dir document/direction;
- lang document/lang;
- xml:lang document/lang;"
- >Title</a>
- </th>
- <td
- class="odd"
- headers="h-created-by h-id-1"
- title="lisa"
- petal:attributes="headers string:h-created-by h-id-${document/id};
- title document/editor_created/login;"
- petal:content="document/editor_created/real_name"
- petal:condition="true: repeat/odd"
- >Lisa Simpson</td>
- <td
- class="odd"
- headers="h-creation-date h-id-1"
- petal:attributes="headers string:h-creation-date h-id-${document/id};"
- petal:content="document/date_created"
- petal:condition="true: repeat/odd"
- >2002-12-19 16:02:59</td>
- <td
- class="odd"
- headers="h-last-modified-by h-id-1"
- title="bart"
- petal:attributes="headers string:h-last-modified-by h-id-${document/id};
- title document/editor_last_modified/login;"
- petal:content="document/editor_last_modified/real_name"
- petal:condition="true: repeat/odd"
- >Bart Simpson</td>
- <td
- class="odd"
- headers="h-modification-date h-id-1"
- petal:attributes="headers string:h-modification-date h-id-${document/id};"
- petal:content="document/date_last_modified"
- petal:condition="true: repeat/odd"
- >2003-01-03 10:11:16</td>
- <td
- class="odd"
- headers="h-language h-id-1"
- petal:attributes="headers string:h-language h-id-${document/id};
- title document/lang;"
- petal:content="document/lang_label"
- petal:condition="true: repeat/odd"
- >English</td>
- <td
- class="odd"
- headers="h-language h-id-1"
- petal:attributes="headers string:h-status h-id-${document/id};"
- petal:condition="true: repeat/odd"
- >
- <span
- petal:omit-tag=""
- petal:translate="hidden"
- petal:condition="true: document/is_hidden"
- >Hidden</span>
- <span
- petal:omit-tag=""
- petal:condition="false: document/is_hidden"
+ </td>
+ <!--? Uncomment this if you want a ID col
+ <td
+ class="even"
+ headers="h-id"
+ petal:content="document/id"
+ petal:condition="true: repeat/even"
+ >ID</td>
+ ?-->
+
+ <!--? Now the odd row ?-->
+ <th
+ id="h-1"
+ class="odd"
+ headers="h-title"
+ petal:attributes="id string:h-id-${document/id};"
+ petal:condition="true: repeat/odd"
+ >
+ <a
+ href="#"
+ hreflang="en"
+ lang="en"
+ xml:lang="en"
+ title="#"
+ petal:content="document/title"
+ petal:attributes="href document/uri;
+ title document/uri;
+ hreflang document/lang;
+ dir document/direction;
+ lang document/lang;
+ xml:lang document/lang;"
+ >Title</a>
+ </th>
+ <td
+ class="odd"
+ headers="h-created-by h-id-1"
+ title="lisa"
+ petal:attributes="headers string:h-created-by h-id-${document/id};
+ title document/editor_created/login;"
+ petal:content="document/editor_created/real_name"
+ petal:condition="true: repeat/odd"
+ >Lisa Simpson</td>
+ <td
+ class="odd"
+ headers="h-creation-date h-id-1"
+ petal:attributes="headers string:h-creation-date h-id-${document/id};"
+ petal:content="document/date_created"
+ petal:condition="true: repeat/odd"
+ >2002-12-19 16:02:59</td>
+ <td
+ class="odd"
+ headers="h-last-modified-by h-id-1"
+ title="bart"
+ petal:attributes="headers string:h-last-modified-by h-id-${document/id};
+ title document/editor_last_modified/login;"
+ petal:content="document/editor_last_modified/real_name"
+ petal:condition="true: repeat/odd"
+ >Bart Simpson</td>
+ <td
+ class="odd"
+ headers="h-modification-date h-id-1"
+ petal:attributes="headers string:h-modification-date h-id-${document/id};"
+ petal:content="document/date_last_modified"
+ petal:condition="true: repeat/odd"
+ >2003-01-03 10:11:16</td>
+ <td
+ class="odd"
+ headers="h-language h-id-1"
+ petal:attributes="headers string:h-language h-id-${document/id};
+ title document/lang;"
+ petal:content="document/lang_label"
+ petal:condition="true: repeat/odd"
+ >English</td>
+ <td
+ class="odd"
+ headers="h-language h-id-1"
+ petal:attributes="headers string:h-status h-id-${document/id};"
+ petal:condition="true: repeat/odd"
>
<span
petal:omit-tag=""
- petal:translate="versioned"
- petal:condition="true: document/is_modified_version"
- >Versioned</span>
+ petal:translate="hidden"
+ petal:condition="true: document/is_hidden"
+ >Hidden</span>
<span
petal:omit-tag=""
- petal:condition="false: document/is_modified_version"
+ petal:condition="false: document/is_hidden"
>
<span
petal:omit-tag=""
- petal:translate="deleted"
- petal:condition="true: document/is_deleted_version"
- >Deleted</span>
+ petal:translate="versioned"
+ petal:condition="true: document/is_modified_version"
+ >Versioned</span>
<span
petal:omit-tag=""
- petal:translate="live"
- petal:condition="false: document/is_deleted_version"
- >Live</span>
+ petal:condition="false: document/is_modified_version"
+ >
+ <span
+ petal:omit-tag=""
+ petal:translate="deleted"
+ petal:condition="true: document/is_deleted_version"
+ >Deleted</span>
+ <span
+ petal:omit-tag=""
+ petal:translate="live"
+ petal:condition="false: document/is_deleted_version"
+ >Live</span>
+ </span>
</span>
- </span>
- </td>
- <!--? Uncomment this if you want a ID col
- <td
- class="odd"
- headers="h-id"
- petal:content="document/id"
- petal:condition="true: repeat/odd"
- >ID</td>
- ?-->
- </tr>
+ </td>
+ <!--? Uncomment this if you want a ID col
+ <td
+ class="odd"
+ headers="h-id"
+ petal:content="document/id"
+ petal:condition="true: repeat/odd"
+ >ID</td>
+ ?-->
+ </tr>
+ </tbody>
</table>
<!--? This navigation bar for the link to the next page of results doesn't work ?-->
More information about the MKDoc-commit
mailing list