aboutsummaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorgweltas <gweltas@piwigo.org>2004-11-26 16:10:17 +0000
committergweltas <gweltas@piwigo.org>2004-11-26 16:10:17 +0000
commit2e6ace2df02bbd1499c351e32d1d10d68a4bb4ac (patch)
tree649e7658b9dc61bf5cf02cc058fcf2590bee75b2 /template
parent8f97f21eb2025c563cf7d8a56adb0193f3dc5eab (diff)
New template for group management
French translation for synchronization Minor update of the css file git-svn-id: http://piwigo.org/svn/trunk@623 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template')
-rw-r--r--template/default/admin/admin_upload.tpl22
-rw-r--r--template/default/admin/group_list.tpl52
-rw-r--r--template/default/admin/group_list.vtp53
-rw-r--r--template/default/default.css48
4 files changed, 72 insertions, 103 deletions
diff --git a/template/default/admin/admin_upload.tpl b/template/default/admin/admin_upload.tpl
deleted file mode 100644
index 045324455..000000000
--- a/template/default/admin/admin_upload.tpl
+++ /dev/null
@@ -1,22 +0,0 @@
-<div class="admin">{L_UPLOAD_TITLE}</div>
-<form name="form1" method="post" action="" style="text-align:center;width:80%;">
-<div style="clear:both;"></div>
- <div style="float:left;padding:10px;">
- {L_AUTHORIZED}<br />
- <select style="width:280px" name="cat_data[]" multiple="multiple" size="5">
- {UPLOADABLE_CATEGORIES}
- </select><br />
- <input type="submit" name="delete" value="{L_DELETE}" class="bouton" />
- </div>
- <div style="float:right;padding:10px;">
- {L_FORBIDDEN}<BR />
- <select style="width:280px" name="cat_data[]" multiple="multiple" size="5">
- {PRIVATE_CATEGORIES}
- </select>
- <br>
- <input type="submit" name="submit" value="{L_SUBMIT}" class="bouton" /> &nbsp;
- <input type="reset" name="reset" value="{L_RESET}" class="bouton" />
- </div>
-<div style="clear:both;"></div>
-</form>
-<div class="infoCat">{L_UPLOAD_INFO}</div> \ No newline at end of file
diff --git a/template/default/admin/group_list.tpl b/template/default/admin/group_list.tpl
new file mode 100644
index 000000000..3a5688af0
--- /dev/null
+++ b/template/default/admin/group_list.tpl
@@ -0,0 +1,52 @@
+<!-- BEGIN errors -->
+<div class="errors">
+<ul>
+ <!-- BEGIN error -->
+ <li>{errors.error.ERROR}</li>
+ <!-- END error -->
+</ul>
+</div>
+<!-- END errors -->
+<form method="post" name="post" action="{S_GROUP_ACTION}">
+<div class="admin">{L_GROUP_SELECT}</div>
+<!-- BEGIN select_box -->
+{S_GROUP_SELECT}&nbsp;&nbsp;<input type="submit" name="edit" value="{L_LOOK_UP}" class="bouton" />
+<input type="submit" name="delete" value="{L_GROUP_DELETE}" class="bouton" />
+<div style="vertical-align:middle;">
+<input type="checkbox" name="confirm_delete" value="1">{L_GROUP_CONFIRM}
+</div>
+<!-- END select_box -->
+<input type="text" name="newgroup">
+<input type="submit" class="bouton" name="new" value="{L_CREATE_NEW_GROUP}" />
+<br />
+<br />
+<!-- BEGIN edit_group -->
+<div class="admin">{L_GROUP_EDIT} [{edit_group.GROUP_NAME}]</div>
+<table class="table2" width="60%" style="margin-left:20%;">
+<tr class="throw">
+ <th width="25%">{L_USER_NAME}</th>
+ <th width="25%">{L_USER_EMAIL}</th>
+ <th width="10%">{L_USER_SELECT}</th>
+</tr>
+<!-- BEGIN user -->
+ <tr class="{edit_group.user.T_CLASS}">
+ <td>{edit_group.user.NAME}</td>
+ <td>{edit_group.user.EMAIL}</td>
+ <td align="center"><input name="members[]" type="checkbox" value="{edit_group.user.ID}"></td>
+ </tr>
+<!-- END user -->
+<tr>
+ <td colspan="3" align="right" valign="middle">
+ <input type="submit" name="deny_user" value="{L_DENY_SELECTED}" class="bouton" />
+ </td>
+</tr>
+</table>
+<div align="left" style="margin-left:20%;">
+<input type="text" name="username" maxlength="50" size="20" />
+<input type="submit" name="add" value="{L_ADD_MEMBER}" class="bouton" />
+<input name="edit_group_id" type="hidden" value="{edit_group.GROUP_ID}">
+<input type="submit" name="usersubmit" value="{L_FIND_USERNAME}" class="bouton" onClick="window.open('{U_SEARCH_USER}', '_phpbbsearch', 'HEIGHT=250,resizable=yes,WIDTH=400');return false;" />
+</div>
+<br />
+<!-- END edit_group -->
+</form> \ No newline at end of file
diff --git a/template/default/admin/group_list.vtp b/template/default/admin/group_list.vtp
deleted file mode 100644
index 7c4520747..000000000
--- a/template/default/admin/group_list.vtp
+++ /dev/null
@@ -1,53 +0,0 @@
-<!--VTP_errors-->
-<div class="errors">
- <ul>
- <!--VTP_li-->
- <li>{#li}</li>
- <!--/VTP_li-->
- </ul>
-</div>
-<!--/VTP_errors-->
-
-<!--VTP_deletion-->
-<table style="width:100%;">
- <tr>
- <th colspan="2">{#group_confirm} "{#name}"</th>
- </tr>
- <tr>
- <td align="center"><a href="{#yes_url}">{#yes}</a></td>
- <td align="center" class="row2"><a href="{#no_url}">{#no}</a></td>
- </tr>
-</table>
-<!--/VTP_deletion-->
-
-<!--VTP_confirmation-->
-<div class="{#class}">{#info}</div>
-<!--/VTP_confirmation-->
-
-<form method="post" action="{#form_action}">
- <div style="text-align:center;margin:10px;">
- {#group_add} <input type="text" name="name" />
- <input type="submit" value="{#add}" name="submit" />
- </div>
-</form>
-
-<!--VTP_groups-->
-<table width="100%">
- <tr>
- <th colspan="3">{#group_list_title}</th>
- </tr>
- <!--VTP_group-->
- <tr>
- <td style="width:25%;">
- <div style="margin-left:10px;color:{#color}"><img src="./template/{#user_template}/admin/images/puce.gif" alt="&gt;" /> {#name}</div>
- </td>
- <td class="row2" style="text-align:center;width:25%;">
- <a href="{#permission_url}">{#listuser_permission}</a>
- </td>
- <td class="row2" style="text-align:center;width:25%;">
- <a href="{#deletion_url}">{#delete}</a>
- </td>
- </tr>
- <!--/VTP_group-->
-</table>
-<!--/VTP_groups--> \ No newline at end of file
diff --git a/template/default/default.css b/template/default/default.css
index fe0092477..07b079206 100644
--- a/template/default/default.css
+++ b/template/default/default.css
@@ -1,4 +1,5 @@
/* BACKGROUND */
+
body { background-color:#000000;}
.main, .throw, .admin { background-color:#3F3F3F;}
.row1,input,select,textarea, .table1, .home { background-color:#5F5F5F;}
@@ -8,6 +9,22 @@ body { background-color:#000000;}
.titreMenu,.titrePage,.imgMenu a:hover { background-image: url(theme/tableh1_bg.gif);}
.bouton, .imgMenu a, #imgBarMenu { background-image: url(theme/button_bg.gif);}
+/* FONT COLORS */
+
+.titreMenu, .titreMenu a, .info, .admin{ color:#FFF48E;}
+.titrePage, .titreMenu a:hover { color:#E0E0E0;}
+.comment{ color:#C6B78E;}
+.commentDate { color:#999999;}
+input,select,textarea { color:#FFFFCC;}
+
+/* ANCHORS */
+
+a { text-decoration:none; color:#FFFFFF;}
+a:hover { text-decoration:none; color:#FFF48E;}
+a.none:hover { text-decoration:none;}
+a.image:hover { text-decoration:none;}
+a.thumbLink:hover { text-decoration:none;}
+
/* POSITION */
#gauche,#droite
{
@@ -23,20 +40,9 @@ body { background-color:#000000;}
text-align:center;
}
-#droite
-{
- text-align:right;
-}
-
-#left
-{
- float:left;
-}
-
-#right
-{
- float:right;
-}
+#droite{text-align:right;}
+#left {float:left; }
+#right{float:right; }
/* MAIN STYLES */
@@ -59,13 +65,7 @@ h2 {
line-height: 120%;
}
-/* ANCHORS */
-a { text-decoration:none; color:#FFFFFF;}
-a:hover { text-decoration:none; color:#FFF48E;}
-a.none:hover { text-decoration:none;}
-a.image:hover { text-decoration:none;}
-a.thumbLink:hover { text-decoration:none;}
/* LAYOUT STYLE */
@@ -92,7 +92,6 @@ a.thumbLink:hover { text-decoration:none;}
height: 25px;
line-height: 25px;
font-size:12px;
- color:#E0E0E0;
font-weight:600;
text-align:center;
}
@@ -265,14 +264,10 @@ table.thumbnail {
.commentDate {
font-weight:lighter;
text-align:right;
- color:#999999;
border-top: 1px solid #000000;
border-bottom: 1px solid #000000;
}
-.comment{
- color:#C6B78E;
-}
/* Form styles */
form{
@@ -294,7 +289,6 @@ input,select,textarea {
text-indent:2px;
border: 1px solid #797979;
padding: 0;
- color:#FFFFCC;
}
.radio{
@@ -316,12 +310,10 @@ font-weight:bold;
margin:0px 0px 12px 0px;
text-align: center;
padding:0px;
-color : #FFF48E;
}
/* Other styles */
.info {
- color:#FFF48E;
margin:5px 0px 5px 0px;
white-space:nowrap;
text-align:center;