aboutsummaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
Diffstat (limited to 'template')
-rw-r--r--template/default/admin/comments.tpl26
-rw-r--r--template/default/default.css39
2 files changed, 65 insertions, 0 deletions
diff --git a/template/default/admin/comments.tpl b/template/default/admin/comments.tpl
new file mode 100644
index 000000000..82c8a9ed5
--- /dev/null
+++ b/template/default/admin/comments.tpl
@@ -0,0 +1,26 @@
+<h1>{lang:User comments validation}</h1>
+
+<form method="post" action="{F_ACTION}">
+
+ <input type="hidden" name="list" value="{LIST}" />
+
+ <!-- BEGIN comment -->
+ <div class="comment">
+ <a class="illustration" href="{comment.U_PICTURE}"><img src="{comment.TN_SRC}" /></a>
+ <p class="commentHeader"><strong>{comment.AUTHOR}</strong> - <em>{comment.DATE}</em></p>
+ <blockquote>{comment.CONTENT}</blockquote>
+ <ul class="actions">
+ <li><label><input type="radio" name="action-{comment.ID}" value="reject" />{lang:Reject}</label></li>
+ <li><label><input type="radio" name="action-{comment.ID}" value="validate" />{lang:Validate}</label></li>
+ </ul>
+ </div>
+ <!-- END comment -->
+
+ <p class="bottomButtons">
+ <input type="submit" name="submit" value="{lang:Submit}" />
+ <input type="submit" name="validate-all" value="{lang:Validate All}" />
+ <input type="submit" name="reject-all" value="{lang:Reject All}" />
+ <input type="reset" value="{lang:Reset}" />
+ </p>
+
+</form>
diff --git a/template/default/default.css b/template/default/default.css
index 026ca626c..72914717e 100644
--- a/template/default/default.css
+++ b/template/default/default.css
@@ -626,4 +626,43 @@ textarea.description {
fieldset.elementEdit>a {
display: block;
float: right;
+}
+
+/* Administration comments */
+div#adminMain div.comment {
+ margin: 5px;
+ border: 1px solid gray;
+ clear: both;
+}
+
+div#adminMain div.comment > a.illustration {
+ display: block;
+ float: left;
+ margin: 5px;
+}
+
+div#adminMain div.comment p.commentHeader {
+ text-align: right;
+ margin: 0.5em 0.5em 0 0;
+}
+
+div#adminMain div.comment ul.actions {
+ text-align: center;
+ margin: 0.2em;
+ clear: both;
+}
+
+div#adminMain div.comment > ul.actions > li {
+ display: inline;
+}
+
+div#adminMain div.comment blockquote {
+ margin: 15px;
+ border: 1px dashed gray;
+ padding: 0.5em;
+}
+
+/* */
+form p.bottomButtons {
+ text-align: center;
} \ No newline at end of file