From 49fb2b6fd30bf4830c344ca93c64e2ecd92d2dff Mon Sep 17 00:00:00 2001 From: plegall Date: Tue, 21 Jun 2005 21:08:11 +0000 Subject: - comments page rewritten : comments are displayed one by one, with filters and display options available. The list of comments is paginated. git-svn-id: http://piwigo.org/svn/trunk@796 68402e56-0260-453c-a942-63ccdbb3a9ee --- template/default/comments.tpl | 87 ++++++++++++++++++++++++++++++++++++------- template/default/default.css | 34 ++++++++++++++++- 2 files changed, 106 insertions(+), 15 deletions(-) (limited to 'template') diff --git a/template/default/comments.tpl b/template/default/comments.tpl index 18877fbbd..5aa668499 100644 --- a/template/default/comments.tpl +++ b/template/default/comments.tpl @@ -1,17 +1,76 @@
{L_COMMENT_TITLE}
-
- [ - - {last_day_option.OPTION}{T_SEPARATION} - - {L_COMMENT_STATS} - ] - - [ {L_COMMENT_RETURN} ] - -
+ +
+ +
+ {lang:Filter} + + + + + + + + + +
+ +
+ + {lang:Display} + + + + + + + +
+ + + +
+ + +{lang:home} +
@@ -50,8 +109,8 @@
- - + +
- \ No newline at end of file + diff --git a/template/default/default.css b/template/default/default.css index 2b5ed28fc..e8e63c8a5 100644 --- a/template/default/default.css +++ b/template/default/default.css @@ -412,4 +412,36 @@ label:hover { margin: 5px; border:1px solid gray; padding: 10px 50px 10px 10px; -} \ No newline at end of file +} + +/** + * Filter forms are displayed label by label with the input (or select...) + * below the label + */ +form.filter FIELDSET { + padding: 10px; +} + +form.filter FIELDSET LABEL { + display: block; + float: left; + width: auto; + margin-right: 10px; + padding: 0; +} + +form.filter FIELDSET INPUT, form.filter FIELDSET SELECT { + display: block; +} + +form.filter FIELDSET P { + clear: left; +} + +form.filter FIELDSET { + border: 1px solid gray; +} + +form.filter FIELDSET + INPUT { + margin-top: 10px; +} -- cgit v1.2.3