Commit dab09c33 authored by david.verdin's avatar david.verdin
Browse files

[feature][Submitted by P. Rynhart, univ. Massey] A new Sympa skin, more modern, partly responsive.

git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-6.2-branch@11806 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
parent 085b7769
......@@ -283,6 +283,8 @@ nobase_default_DATA = \
web_tt2/rss_request.tt2 \
web_tt2/rss.tt2 \
web_tt2/scenario_test.tt2 \
web_tt2/search_list.tt2 \
web_tt2/search_list_request.tt2 \
web_tt2/search_user.tt2 \
web_tt2/serveradmin.tt2 \
web_tt2/setlang.tt2 \
......
<!-- $Id$ -->
<div class="block">
<h2>[%|loc%]Casual administration[%END%]</h2>
<ul>
[% IF is_listmaster || is_owner %]
<li><strong><a href="[% path_cgi %]/edit_list_request/[% list %]">[%|loc%]Edit list config:[%END%]</a></strong> [%|loc%]Use it with care: it allows you to modify some of the list parameters. The list of the parameters you can modify depends on your privileges.[%END%]</li>
[% END %]
[% IF is_listmaster || is_owner || may_del %]
<li><strong><a href="[% path_cgi %]/review/[% list %]">[%|loc%]Manage subscribers:[%END%]</a></strong> [%|loc%]Allows you to add or delete list subscribers, moderate subscriptions and so on.[%END%]</li>
[% IF conf.use_blacklist != 'none' %]
<li><strong><a href="[% path_cgi %]/blacklist/[% list %]" >[%|loc%]Blacklist:[%END%]</a></strong> [%|loc%]Handles the set of black-listed mail addresses for this list.[%END%]</li>
[% END %]
[% END %]
[% IF is_listmaster || is_owner %]
[% IF is_archived %]
<li><strong><a href="[% path_cgi %]/arc_manage/[% list %]">[%|loc%]Manage archives:[%END%]</a></strong> [%|loc%]Allows you to download and delete list archives.[%END%]</li>
[% END %]
[% IF is_listmaster || is_owner || ( is_editor && may_review ) %]
<li><strong><a href="[% path_cgi %]/reviewbouncing/[% list %]">[%|loc%]Bounces:[%END%]</a></strong> [%|loc%]Manages non-delivery reports (also called bounces).[%END%]</li>
[% END %]
[% IF is_priv || is_listmaster %]
<li><strong><a href="[% path_cgi %]/viewlogs/[% list %]" >[%|loc%]Logs:[%END%]</a></strong> [%|loc%]A tool for exploring the list logs.[%END%]</li>
[% END %]
[% END %]
</ul>
[% IF is_listmaster || is_owner || is_privileged_owner %]
<h2>[%|loc%]Drastic operations[%END%]</h2>
<h2>[%|loc%]Advanced Operations[%END%]</h2>
[% IF is_privileged_owner %]
<div>
<form name="manage_list_status" action="[% path_cgi %]" method="post">
......@@ -37,7 +10,7 @@
<input class="MainMenuLinks" type="submit" name="action_restore_list" value="[%|loc%]Restore List[%END%]" onClick="return request_confirm('[% FILTER escape_quote %][%|loc(list)%]Are you sure you wish to restore list %1?[%END%][%END%]');"/> [%|loc%]This list is currently closed. Clicking this button will make it active again.[%END%]
<input type="hidden" name="list" value="[% list %]"/>
[% ELSE %]
<input class="MainMenuLinks" type="submit" name="action_close_list" value="[%|loc%]Remove List[%END%]" onClick="return request_confirm('[% FILTER escape_quote %][%|loc(list)%]Are you sure you wish to close list %1?[%END%][%END%]');"/> [%|loc%]Completely removes the current list. Listmaster privileges are required to restore a list.[%END%]
<input class="MainMenuLinks" type="submit" name="action_close_list" value="Close List" onClick="return request_confirm('[% FILTER escape_quote %][%|loc(list)%]Are you sure you wish to close list %1?[%END%][%END%]');"/>
<input type="hidden" name="list" value="[% list %]"/>
[% END %]
</fieldset>
......@@ -47,7 +20,7 @@
<form name="manage_list_name" action="[% path_cgi %]" method="post">
<fieldset>
[% IF may_create_list %]
<input class="MainMenuLinks" type="submit" name="action_rename_list_request" value="[%|loc%]Rename List[%END%]"/> [%|loc%]Allows you to change this list's name. Everything related to the list will be relabeled according to the new name, including the mail aliases and the web archives.[%END%]
<input class="MainMenuLinks" type="submit" name="action_rename_list_request" value="[%|loc%]Rename List[%END%]"/>
<input type="hidden" name="list" value="[% list %]"/>
[% END %]
</fieldset>
......@@ -55,16 +28,16 @@
</div><br/>
[% END %]
[% IF is_listmaster || is_owner %]
[% IF is_owner %]
<div>
<form name="manage_shared_status" action="[% path_cgi %]" method="post">
<fieldset>
[% IF shared == 'none' %]
<input class="MainMenuLinks" type="submit" name="action_d_admin" value="[%|loc%]Create Shared[%END%]"/> [%|loc%]Initializes the shared document web space.[%END%]
<input class="MainMenuLinks" type="submit" name="action_d_admin" value="Create Shared Content"/> [%|loc%]Initializes the shared document web space.[%END%]
<input type="hidden" name="list" value="[% list %]"/>
<input type="hidden" name="d_admin" value="create"/>
[% ELSIF shared == 'exist' %]
<input class="MainMenuLinks" type="submit" name="action_d_admin" value="[%|loc%]Delete Shared[%END%]" onClick="return request_confirm('[% FILTER escape_quote %][%|loc(listname)%]Are you sure you wish to delete the shared documents for list %1?[%END%][%END%]');"/> [%|loc%]Closes the shared document web space. It can be restored using "Restore shared" button.[%END%]</li>
<input class="MainMenuLinks" type="submit" name="action_d_admin" value="Delete Shared Documents" onClick="return request_confirm('[% FILTER escape_quote %][%|loc(listname)%]Are you sure you wish to delete the shared documents for list %1?[%END%][%END%]');"/></li>
<input type="hidden" name="list" value="[% list %]"/>
<input type="hidden" name="d_admin" value="delete"/>
[% ELSIF shared == 'deleted' %]
......@@ -76,7 +49,6 @@
</form>
</div><br/>
[% END %]
[% END %]
</div>
<!-- end admin.tt2 -->
......@@ -11,43 +11,43 @@
<span class="larger">[%|loc%]Search field:[%END%] </span><a href="[% path_cgi %]/arc/[% list %]/[% archive_name %]"><strong>[% archive_name %]</strong></a>
<input id="key_word" name="key_word" type="text" size="30" value="[% key_word %]" />
<input name="key_word" type="text" size="30" value="[% key_word %]" />
<input name="action" type="hidden" value="arcsearch" />
<input class="MainMenuLinks" name="action_arcsearch" type="submit" value="[%|loc%]Search[%END%]" onClick="return isNotEmpty('key_word');" />
<input class="MainMenuLinks" name="action_arcsearch" type="submit" value="[%|loc%]Search[%END%]" onClick="if (document.getElementsByName('key_word')[0].value.replace(/\s+/g, '')) return true; else return false;" />
<br />
[%|loc%]Search:[%END%]
<input id="how.phrase" type="radio" name="how" value="phrase" checked="checked" /> <label for="how.phrase"><em>[%|loc%]this sentence[%END%]</em></label>
<input id="how.all" type="radio" name="how" value="all" /> <label for="how.all"><em>[%|loc%]all of these words[%END%]</em></label>
<input id="how.any" type="radio" name="how" value="any" /> <label for="how.any"><em>[%|loc%]one of these words[%END%]</em></label>
<label for="how">[%|loc%]Search:[%END%] </label>
<input id="how" type="radio" name="how" value="phrase" checked="checked" /> <em>[%|loc%]this sentence[%END%]</em>
<input id="how" type="radio" name="how" value="all" /> <em>[%|loc%]all of these words[%END%]</em>
<input id="how" type="radio" name="how" value="any" /> <em>[%|loc%]one of these words[%END%]</em>
<br />
[%|loc%]Prefer:[%END%]
<input id="age.new" type="radio" name="age" value="new" checked="checked" /> <label for="age.new"><em>[%|loc%]newest messages[%END%]</em></label>
<input id="age.old" type="radio" name="age" value="old" /> <label for="age.old"><em>[%|loc%]oldest messages[%END%]</em></label>
<label for="age">[%|loc%]Prefer:[%END%] </label>
<input id="age" type="radio" name="age" value="new" checked="checked" /> <em>[%|loc%]newest messages[%END%]</em>
<input id="age" type="radio" name="age" value="old" /> <em>[%|loc%]oldest messages[%END%]</em>
<br />
[%|loc%]Case:[%END%]
<input id="case.off" type="radio" name="case" value="off" checked="checked" /> <label for="case.off"><em>[%|loc%]insensitive[%END%]</em></label>
<input id="case.on" type="radio" name="case" value="on" /> <label for="case.on"><em>[%|loc%]sensitive[%END%]</em></label>
<label for="case">[%|loc%]Case:[%END%] </label>
<input id="case" type="radio" name="case" value="off" checked="checked" /> <em>[%|loc%]insensitive[%END%]</em>
<input id="case" type="radio" name="case" value="on" /> <em>[%|loc%]sensitive[%END%]</em>
<br />
[%|loc%]Check:[%END%]
<input id="match.partial" type="radio" name="match" value="partial" checked="checked" /> <label for="match.partial"><em>[%|loc%]part of word[%END%]</em></label>
<input id="match.exact" type="radio" name="match" value="exact" /> <label for="match.exact"><em>[%|loc%]entire word[%END%]</em></label>
<label for="match">[%|loc%]Check:[%END%] </label>
<input id="match" type="radio" name="match" value="partial" checked="checked" /> <em>[%|loc%]part of word[%END%]</em>
<input id="match" type="radio" name="match" value="exact" /> <em>[%|loc%]entire word[%END%]</em>
<br />
[%|loc%]Layout:[%END%]
<input id="limit.10" type="radio" name="limit" value="10" checked="checked" /> <label for="limit.10"><em>10</em> [%|loc%]results by page[%END%]</label>
<input id="limit.25" type="radio" name="limit" value="25" /> <label for="limit.25"><em>25</em> [%|loc%]results by page[%END%]</label>
<input id="limit.50" type="radio" name="limit" value="50" /> <label for="limit.50"><em>50</em> [%|loc%]results by page[%END%]</label>
<label for="limit">[%|loc%]Layout:[%END%] </label>
<input id="limit" type="radio" name="limit" value="10" checked="checked" /> <em>10</em> [%|loc%]results by page[%END%]
<input id="limit" type="radio" name="limit" value="25" /> <em>25</em> [%|loc%]results by page[%END%]
<input id="limit" type="radio" name="limit" value="50" /> <em>50</em> [%|loc%]results by page[%END%]
<br />
[%|loc%]Search area:[%END%]
<input id="from" type="checkbox" name="from" value="True" /> <label for="from"><em>[%|loc%]Sender[%END%] </em></label>
<input id="subj" type="checkbox" name="subj" value="True" checked="checked" /> <label for="subj"><em>[%|loc%]Subject[%END%] </em></label>
<input id="date" type="checkbox" name="date" value="True" /> <label for="date"><em>[%|loc%]Date[%END%] </em></label>
<input id="body" type="checkbox" name="body" value="True" checked="checked" /> <label for="body"><em>[%|loc%]Body[%END%] </em></label>
<label for="from" rowspan="2">[%|loc%]Search area:[%END%] </label>
<input id="from" type="checkbox" name="from" value="True" /> <em>[%|loc%]Sender[%END%] </em>
<input id="from" type="checkbox" name="subj" value="True" checked="checked" /> <em>[%|loc%]Subject[%END%] </em>
<input type="checkbox" name="date" value="True" /> <em>[%|loc%]Date[%END%] </em>
<input type="checkbox" name="body" value="True" checked="checked" /> <em>[%|loc%]Body[%END%] </em>
<br />
<br />
......
<!-- $Id$ -->
<div class="block">
<div class="block" id="create_switch">
[% IF get_which_owner.size > 0 %]
<h2>[%|loc%]Copy an existing list.[%END%]</h2>
<br />
<div id="list_create">
<h2>[%|loc%]Create list[%END%] <a class="input" href="[% path_cgi %]/nomenu/help/admin#create_list" title="[%|loc%]Open in a new window[%END%]" onclick="window.open('','wws_help','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=800,height=400')" target="wws_help">[%|loc%]Help[%END%]</a></h2>
[%|loc%]You can create a list, using an existing list as a template; the list configuration of the source list will be copied to create the new one. Note that neither list members, nor archives or shared documents are duplicated. The source lists you can use are limited to lists you own.[%END%]
[%|loc%]After the list is created, you will be able to adjust it's configuration.[%END%] <br />
<form action="[% path_cgi %]" method="post">
<fieldset>
<select name="list">
[% FOREACH l = all_lists %]
<option value="[% l.name %]">[% l.name %]</option>
[% END %]
</select>
<label for="new_listname">[%|loc%]New list name:[%END%]</label> <input id="new_listname" name="new_listname" value="" />
<input type="hidden" name="new_robot" value=[%robot%] />
<input class="MainMenuLinks" type="submit" name="action_copy_list" value="[%|loc%]copy list configuration[%END%]" />
</fieldset>
</form>
[% END %]
<h2>[%|loc%]Create a list using a template[%END%] <a class="input" href="[% path_cgi %]/nomenu/help/admin#create_list" title="[%|loc%]Open in a new window[%END%]" onclick="window.open('','wws_help','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=400,height=200')" target="wws_help">[%|loc%]Help[%END%]</a></h2>
<br />
[%|loc%]You can request a new list creation with the following form.You will have to choose a list template that will preset most of the list parameters according to the list usage you plan. [%END%]
[%|loc%]After the list is created, you will be able to adjust it's configuration.[%END%] <br />
<form action="[% path_cgi %]" method="post">
<fieldset>
<div class="form_row"><label for="listname"><strong>[%|loc%]List name:[%END%]</strong></label><input type="text" id="listname" name="listname" size="30" value="[% saved.listname %]" /></div>
<div class="form_row"><label><strong>[%|loc%]Owner:[%END%]</strong></label><span style="font-family:'Lucida Console', 'Courier New', Courier, Monospace;">[% user.email %]</span></div>
<div class="form_row"><label for="list_type"><strong>[%|loc%]List type:[%END%]</strong></label><div style="width:70%; float:left;"><ul id="list_type" style="padding:0;">
[% FOREACH template = list_list_tpl %]
[% IF template.value.comment %]
<li>
<input type="radio" name="template" value="[% template.key %]"
[% IF template.value.selected || loop.size == 1 %]
checked="checked"
[% END %]
/>
[% PROCESS $template.value.comment %]
</li>
[% ELSE %]
<li>
<input type="radio" name="template" value="[% template.key %]"
[% IF template.value.selected %]
checked="checked"
[% END %]
/> [% template.key %]
</li>
[% END %]
[% END %]
</ul></div></div>
<div class="form_row"><label for="subject"><strong>[%|loc%]Subject:[%END%]</strong></label><input type="text" name="subject" id="subject" size="60" value="[% saved.subject %]" /></div>
<img src="[% icons_url %]/unknown.png" alt="[%|loc%]Help[%END%]" title="[%|loc%]the list name; be careful, not its address![%END%]" />
<label for="listname"><strong>[%|loc%]List name:[%END%]</strong></label>
<input type="text" id="listname" name="listname" size="30" value="[% saved.listname %]" />
<br />
<img src="[% icons_url %]/unknown.png" alt="[%|loc%]Help[%END%]" title="[%|loc%]You are the privileged owner of this list[%END%]" />
<strong>[%|loc%]Owner:[%END%]</strong>
<em>[% user.email %]</em><br />
<img src="[% icons_url %]/unknown.png" alt="[%|loc%]Help[%END%]" title="[%|loc%]The list type is a set of parameters' profile. Parameters will be editable, once the list created[%END%]" />
<label for="list_type" ><strong>[%|loc%]List type:[%END%]</strong></label>
<ul id="list_type">
[% FOREACH template = list_list_tpl %]
[% IF template.value.comment %]
<li>
<input id="template.[% template.key %]" type="radio" name="template" value="[% template.key %]"
[% IF template.value.selected || loop.size == 1 %]
checked="checked"
[% END %]
/>
[% PROCESS $template.value.comment %]
</li>
[% ELSE %]
<li>
<input id="template.[% template.key %]" type="radio" name="template" value="[% template.key %]"
[% IF template.value.selected %]
checked="checked"
[% END %]
/> <label for="template.[% template.key %]">[% template.key %]</label>
</li>
[% END %]
[% END %]
</ul>
<br />
<img src="[% icons_url %]/unknown.png" alt="[%|loc%]Help[%END%]" title="[%|loc%]The list's subject[%END%]" />
<label for="subject"><strong>[%|loc%]Subject:[%END%]</strong></label>
<input type="text" name="subject" id="subject" size="60" value="[% saved.subject %]" />
<br />
[% SET single_topic = "other" %]
[% FOREACH topic = list_of_topics %]
[% IF loop.size > 1 || (topic.key && topic.key != "other") %]
......@@ -85,10 +48,10 @@
[% IF single_topic != "" %]
<input id="topics" name="topics" type="hidden" value="[% single_topic %]" />
[% ELSE %]
<img src="[% icons_url %]/unknown.png" alt="[%|loc%]Help[%END%]" title="[%|loc%]List classification in the directory[%END%]" />
<label for="topics"><strong>[%|loc%]Topics:[%END%]</strong></label>
<div class="form_row">
<label for="topics"><strong>[%|loc%]Audience:[%END%]</strong></label>
<select id="topics" name="topics">
<option value="">[%|loc%]--Select a topic--[%END%]</option>
<option value="">[%|loc%]-- Select an Audience --[%END%]</option>
[% SET topic_other = 0 %]
[% FOREACH topic = list_of_topics %]
[% IF topic.key == "other" %][% SET topic_other = 1 %][% END %]
......@@ -99,11 +62,7 @@
>[% topic.value.current_title %]</option>
[% IF topic.value.sub %]
[% FOREACH subtopic = topic.value.sub %]
<option value="[% topic.key %]/[% subtopic.key %]"
[% IF subtopic.value.selected %]
selected="selected"
[% END %]
>[% topic.value.current_title %] / [% subtopic.value.current_title %]</option>
<option value="[% topic.key %]/[% subtopic.key %]">[% topic.value.current_title %] / [% subtopic.value.current_title %]</option>
[% END %]
[% END %]
[% END %]
......@@ -111,16 +70,38 @@
<option value="other">[%|loc%]Other[%END%]</option>
[% END %]
</select>
<br />
</div>
<br />
[% END %]
<img class="align_top" src="[% icons_url %]/unknown.png" alt="[%|loc%]Help[%END%]" title="[%|loc%]A few lines describing the list[%END%]" />
<label for="info" class="align_top"><strong>[%|loc%]Description:[%END%]</strong></label>
<textarea class="desc" id="info" name="info" rows="10" cols="80">[% saved.info %]</textarea><br /><br />
<input class="MainMenuLinks" type="submit" name="action_create_list" value="[%|loc%]Submit your creation request[%END%]" />
<div class="form_row"><label for="info" class="align_top"><strong>[%|loc%]Description:[%END%]</strong></label><textarea class="desc" id="info" name="info" rows="10" cols="80">[% saved.info %]</textarea></div>
<div class="form_row"><input class="MainMenuLinks" type="submit" name="action_create_list" value="[%|loc%]Submit your creation request[%END%]" /></div>
</fieldset>
</form>
</div>
[% IF get_which_owner.size > 0 %]
<div id="list_copy">
<h2>[%|loc%]Copy an existing list.[%END%]</h2>
<br />
[%|loc%]You can create a list, using an existing list as a template; the list configuration of the source list will be copied to create the new one. Note that neither list members, nor archives or shared documents are duplicated. The source lists you can use are limited to lists you own.[%END%]
[%|loc%]After the list is created, you will be able to adjust it's configuration.[%END%] <br />
<form action="[% path_cgi %]" method="post">
<fieldset>
<select name="list">
[% FOREACH l = all_lists %]
<option value="[% l.name %]">[% l.name %]</option>
[% END %]
</select>
<label for="new_listname">[%|loc%]New list name:[%END%]</label> <input id="new_listname" name="new_listname" value="" />
<input type="hidden" name="new_robot" value=[%robot%] />
<input class="MainMenuLinks" type="submit" name="action_copy_list" value="[%|loc%]copy list configuration[%END%]" />
</fieldset>
</form>
</div>
[% END %]
</div>
<!-- end create_list_request.tt2 -->
This diff is collapsed.
This diff is collapsed.
<!-- $Id$ -->
<div class="clearfooter">&nbsp;</div>
<div id="Footer">
<img src="[% icons_url %]/favicon_sympa.png" width="20px" height="20px"/>
<a href="http://www.sympa.org"> Powered by Sympa [% version %]</a>
</div>
<!-- end footer.tt2 -->
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -2,7 +2,7 @@
<div class="list_panel">
<ul>
<ul id="MainMenuLinks">
[% IF list_status == 'closed' || list_status == 'family_closed' %]
<li class="menuLinks"><span class="bg_color_error">[%|loc%]Closed list[%END%]</span></li>
......@@ -21,7 +21,7 @@
[% END %]
[% IF is_priv %]
<br />
<span style="font-weight: normal;">
&nbsp;&nbsp;(<a href="[% path_cgi %]/reviewbouncing/[% list %]">[%|loc%]Error rate:[%END%]</a> [% bounce_rate %]% )
</span>
......
This diff is collapsed.
This diff is collapsed.
......@@ -37,9 +37,9 @@
<input type="hidden" name="action" value="login" />
<label for="email_login">[%|loc%]email address:[%END%]</label>
<input type="text" name="email" id="email_login" size="28" value="[% unauthenticated_email %]" /> &nbsp;&nbsp;
<div><input type="text" name="email" id="email_login" size="28" value="[% unauthenticated_email %]" /></div>
<label for="passwd" >[%|loc%]password:[%END%]</label>
<input type="password" name="passwd" id="passwd" size="8" /> &nbsp;&nbsp;
<div><input type="password" name="passwd" id="passwd" size="8" /></div>
<input class="MainMenuLinks" type="submit" name="action_login" value="[%|loc%]Login[%END%]" />
</fieldset>
</form>
......
This diff is collapsed.
This diff is collapsed.
<!-- $Id: $ -->
<div class="MenuBlock menu_search">
<h2 style="border-bottom: 0 none;">[%|loc%]Search Lists[%END%]</h2>
<form action="[% path_cgi %]" method="post">
<fieldset>
<input type="text" size="14" id="filter_list" name="filter_list" value="[% filter_list %]" title="[%|loc%]Enter a list name[%END%]"/>
<input type="text" size="14" name="filter" value="[% filter %]" alt="[%|loc%]Enter a list name[%END%]"/>
<input type="hidden" name="action" value="search_list" />
<input class="MainMenuLinks" type="submit" name="action_search_list" value="[%|loc%]Search lists[%END%]" onclick="return isNotEmpty('filter_list')" />
<div class="form_row"><input class="MainMenuLinks" type="submit" name="action_search_list" value="[%|loc%]Search lists[%END%]" onclick="show('loading'); hide('content-inner');"/></div>
<br />
</fieldset>
</form>
</div>
<!-- end menu_search.tt2 -->
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment