/* Main navigation bar (borrowed from Trac) */
#menu {
background-color: #000000 ;
- background:no-repeat url(http://si0.twimg.com/a/1333470865/t1/img/twitter_web_sprite_bgs.png) 0 0;
+ background:no-repeat url(../images/tw_hd_bg.png) 0 0;
background-color:#ebebeb;
background-repeat:repeat;
font: normal verdana,'Bitstream Vera Sans',helvetica,arial,sans-serif;
border-top: 1px solid #333;
- padding-left:15%;
+ padding-left:10%;
}
#menu a, #menu a:visited{
width: 100%;
float:left;
border-bottom:0px solid #fff;
- background:no-repeat url(http://si0.twimg.com/a/1333470865/t1/img/twitter_web_sprite_bgs.png) 0 0;
+ background:no-repeat url(../images/tw_hd_bg.png) 0 0;
background-color:#ebebeb;
background-repeat:repeat;
}
/* Footer (borrowed from Trac) */
#footer {
background: #000000;
- background:no-repeat url(http://si0.twimg.com/a/1333470865/t1/img/twitter_web_sprite_bgs.png) 0 0;
+ background:no-repeat url(../images/tw_hd_bg.png) 0 0;
background-color:#ebebeb;
background-repeat:repeat;
clear: both;
color: #000; /*#6A0307;*/
}
+#button_action_blue {
+ background-color: #4b8df8;
+ color: #FFF;
+ padding:0.8em 0.8em 0.8em 0.8em;
+ }
+
+#button_action_red {
+ background-color: #d34836;
+ color: #FFF;
+ padding:0.8em 0.8em 0.8em 0.8em;
+ }
+#button_action_green {
+ background-color: #92b220;
+ color: #FFF;
+ padding:0.8em 0.8em 0.8em 0.8em;
+ }
.list_item, .list_item:visited, .list_item:hover{
display:block;
-moz-border-radius: 8px 0px 0px 0px;
-webkit-border-radius: 8px 0px 0px 0px;
border-radius: 8px 0px 0px 0px;
- padding: 0em 0.8em 0em 0em;
+ padding: 0em 0.8em 0.8em 0em;
font-weight: bold;
font-size: 1.2em;
}
-moz-border-radius: 8px 0px 8px 8px;
-webkit-border-radius: 8px 0px 8px 8px;
border-radius: 8px 0px 8px 8px;
-
+ padding: 0em 0em 0em 0.3em;
}
+
+.course_content h2 {
+ padding: 0.5em 0em 0em 0.3em;
+ }
+
.course_media {
background-color: transparent;
margin: 0em 0em 2em 0em;
.media_infos {
background-color: #FFF;
padding: 0.3em 0.8em 0.3em 0.8em;
+ width: 100%;
}
.video {
background-color: transparent;
- padding: 0.8em 1em 1em 0em;
+ padding: 0.8em 0em 1em 0em;
}
.audio {
padding: 0em 0em 0em 1em;
}
+.pm_message {
+ background-color: #FFF;
+ -moz-border-radius: 8px 0px 8px 8px;
+ -webkit-border-radius: 8px 0px 8px 8px;
+ border-radius: 8px 0px 8px 8px;
+ padding: 0.8em 0.8em 0.8em 1em;
+ }
+
+#pm_messages {
+ font-weight: normal;
+ font-size: 1em;
+ background-color: #FFF;
+ -moz-border-radius: 8px 0px 8px 8px;
+ -webkit-border-radius: 8px 0px 8px 8px;
+ border-radius: 8px 0px 8px 8px;
+ padding: 0.8em 0.8em 0.8em 1em;
+ width: 100%;
+ margin-top : 1em;
+ }
+
#pm_messages td {
font-weight: normal;
font-size: 1em;
+
}
#pm_write {
text-align: center;
margin: 0em 0em 3em 0em;
+ padding: 1em;
}
\ No newline at end of file
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2012-04-04 13:32+0200\n"
+"POT-Creation-Date: 2012-04-04 22:38+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"long term storage."
msgstr ""
-#: templates/postman/base.html:7 templates/telemeta/base.html:71
-msgid "Messages"
-msgstr "Messages"
+#: templates/postman/base.html:10
+msgid "Folders"
+msgstr "Dossiers"
#: templates/postman/base.html:15
msgid "Inbox"
msgid "Sent Messages"
msgstr "Messages"
-#: templates/postman/base.html:17 templates/postman/write.html:3
-msgid "Write"
-msgstr ""
-
-#: templates/postman/base.html:18 templates/telemeta/base.html:79
+#: templates/postman/base.html:17 templates/telemeta/base.html:79
msgid "Archives"
msgstr ""
-#: templates/postman/base.html:19
+#: templates/postman/base.html:18
msgid "Trash"
msgstr ""
+#: templates/postman/base.html:23
+msgid "New message"
+msgstr "Nouveau message"
+
#: templates/postman/base_folder.html:10
msgid "Sorry, this page number is invalid."
msgstr ""
msgid "g:i A,M j,n/j/y"
msgstr ""
-#: templates/postman/base_folder.html:52 templates/postman/view.html:28
+#: templates/postman/base_folder.html:53 templates/postman/view.html:32
msgid "Delete"
msgstr ""
-#: templates/postman/base_folder.html:53 templates/postman/view.html:29
+#: templates/postman/base_folder.html:56 templates/postman/view.html:36
msgid "Archive"
msgstr ""
-#: templates/postman/base_folder.html:54
+#: templates/postman/base_folder.html:59
msgid "Undelete"
msgstr ""
-#: templates/postman/base_folder.html:60
+#: templates/postman/base_folder.html:66
#, fuzzy
msgid "No messages."
msgstr "Messages"
msgid "Received"
msgstr ""
-#: templates/postman/reply.html:3 templates/postman/view.html:31
-#: templates/postman/view.html.py:34 templates/postman/view.html:37
+#: templates/postman/reply.html:3 templates/postman/view.html:40
+#: templates/postman/view.html.py:43 templates/postman/view.html:46
msgid "Reply"
msgstr ""
msgid ":"
msgstr ""
-#: templates/postman/view.html:26
+#: templates/postman/view.html:27
msgid "Back"
msgstr ""
+#: templates/postman/write.html:3
+msgid "Write"
+msgstr ""
+
#: templates/teleforma/course.html:15
-#: templates/teleforma/inc/document_list.html:3
+#: templates/teleforma/inc/document_list.html:4
msgid "Documents"
msgstr "Documents"
#: templates/teleforma/course.html:18 templates/teleforma/course.html.py:34
-#: templates/teleforma/inc/document_list.html:7
+#: templates/teleforma/inc/document_list.html:8
#: templates/teleforma/inc/media_list.html:8
msgid "Title"
msgstr "Titre"
#: templates/teleforma/course.html:19 templates/teleforma/course.html.py:35
-#: templates/teleforma/inc/document_list.html:8
+#: templates/teleforma/inc/document_list.html:9
#: templates/teleforma/inc/media_list.html:9
msgid "Description"
msgstr "Description"
#: templates/teleforma/course.html:20 templates/teleforma/course.html.py:36
#: templates/teleforma/course.html:53
-#: templates/teleforma/inc/conference_list.html:9
-#: templates/teleforma/inc/document_list.html:9
+#: templates/teleforma/inc/conference_list.html:10
+#: templates/teleforma/inc/document_list.html:10
#: templates/teleforma/inc/media_list.html:10
msgid "Date added"
msgstr "Date d'ajout"
msgstr "Médias"
#: templates/teleforma/course.html:48
-#: templates/teleforma/inc/conference_list.html:3
+#: templates/teleforma/inc/conference_list.html:4
msgid "Conferences"
msgstr "Conférences"
#: templates/teleforma/course.html:51
-#: templates/teleforma/inc/conference_list.html:7
+#: templates/teleforma/inc/conference_list.html:8
msgid "Session"
msgstr "Session"
#: templates/teleforma/course.html:52
-#: templates/teleforma/inc/conference_list.html:8
+#: templates/teleforma/inc/conference_list.html:9
msgid "Professor"
msgstr "Professeur"
-#: templates/teleforma/course_media.html:27
+#: templates/teleforma/course_media.html:48
#, fuzzy
msgid "Recording date"
msgstr "date de début"
-#: templates/teleforma/course_media.html:32
-#, fuzzy
-msgid "Last modification"
-msgstr "date de modification"
-
-#: templates/teleforma/courses.html:18
-msgid "Bureau"
-msgstr ""
-
-#: templates/teleforma/courses.html:24
+#: templates/teleforma/courses.html:12
msgid "My courses"
msgstr "Mes matières"
msgid "Sign in"
msgstr ""
+#: templates/telemeta/base.html:71 templates/telemeta/inc/user_list.html:10
+msgid "Messages"
+msgstr "Messages"
+
#: templates/telemeta/base.html:73
msgid "Users"
msgstr ""
msgid "Sign out"
msgstr ""
-#: templates/telemeta/base.html:144
+#: templates/telemeta/base.html:145
msgid "Powered by"
msgstr ""
-#: templates/telemeta/base.html:145
+#: templates/telemeta/base.html:146
msgid "By"
msgstr ""
-#: templates/telemeta/base.html:150
+#: templates/telemeta/base.html:151
msgid ""
"Usage of the archives in the respect of cultural heritage of the original "
"communities."
msgstr ""
-#: templates/telemeta/base.html:156
+#: templates/telemeta/base.html:157
msgid "Legal notices"
msgstr ""
msgid "Musical selection"
msgstr ""
+#: templates/telemeta/inc/user_list.html:7
+msgid "User"
+msgstr ""
+
+#: templates/telemeta/inc/user_list.html:8
+msgid "First Name"
+msgstr ""
+
+#: templates/telemeta/inc/user_list.html:9
+msgid "Last Name"
+msgstr ""
+
+#: templates/telemeta/inc/user_list.html:11
+#, fuzzy
+msgid "Training"
+msgstr "formation"
+
+#, fuzzy
+#~ msgid "Last modification"
+#~ msgstr "date de modification"
+
#~ msgid "course types"
#~ msgstr "types de matières"
</div>
</div>
<div id="pm_write">
-<a href="{% url postman_write %}" class="component_icon button icon_edit">{% trans "Write" %}</a>
+<a href="{% url postman_write %}" class="component_icon button" id="button_action_red">{% trans "New message" %}</a>
</div>
</div>
{% else %}
{% if pm_messages %}
-<br /><br />
-{% block pm_by_modes %}<div id="pm_by_modes">
+
+{% block pm_by_modes %}<div id="pm_by_modes" style="float: right;">
<a href="{{ by_conversation_url }}" class="component_icon button icon_filter">{% trans "by conversation" %}</a>
<a href="{{ by_message_url }}" class="component_icon button icon_filter">{% trans "by message" %}</a>
</div>{% endblock pm_by_modes %}
<br />
-<form action="{% block pm_form_action %}{% endblock %}" method="post">{% csrf_token %}
+<form id="_messageForm" action="{% block pm_form_action %}{% endblock %}" method="post">{% csrf_token %}
<table id="pm_messages" class="listing" >
<thead>
<tbody>{% for message in pm_messages %}
<tr>
<td><input type="checkbox" {% if by_conversation and message.thread_id %}name="tpks" value="{{ message.thread_id }}"{% else %}name="pks" value="{{ message.pk }}"{% endif %} /></td>
-{% block pm_sender_cell %} <td>{{ message.obfuscated_sender|or_me:user }}{% if message.count %} ({{ message.count }}){% endif %}</td>{% endblock %}
+ {% block pm_sender_cell %} <td>{% if message.is_new %}<strong>{% endif %}{{ message.obfuscated_sender|or_me:user }}{% if message.count %} ({{ message.count }}){% endif %}{% if message.is_new %}</strong>{% endif %}</td>{% endblock %}
{% block pm_recipient_cell %} <td>{{ message.obfuscated_recipient|or_me:user }}{% if message.count %} ({{ message.count }}){% endif %}</td>{% endblock %}
<td>{% if message.is_new %}<strong>{% endif %}{% if message.is_replied %}<em>{% endif %}
{% block pm_subject %}
<br />
{% block pm_form_buttons %}<span id="pm_buttons">
-{% block pm_delete_button %}<button type="submit" onclick="this.form.action='{% url postman_delete %}'">{% trans "Delete" %}</button>{% endblock %}
-{% block pm_archive_button %}<button type="submit" onclick="this.form.action='{% url postman_archive %}'">{% trans "Archive" %}</button>{% endblock %}
-{% block pm_undelete_button %}<button type="submit" onclick="this.form.action='{% url postman_undelete %}'">{% trans "Undelete" %}</button>{% endblock %}
+{% block pm_delete_button %}
+<a href="#" class="component_icon button icon_delete" onclick="f=document.getElementById('_messageForm'); f.action='{% url postman_delete %}'; f.submit(); return false;">{% trans "Delete" %}</a>
+{% endblock %}
+{% block pm_archive_button %}
+<a href="#" class="component_icon button icon_save" onclick="f=document.getElementById('_messageForm'); f.action='{% url postman_archive %}'; f.submit(); return false;">{% trans "Archive" %}</a>
+{% endblock %}
+{% block pm_undelete_button %}
+<a href="#" class="component_icon button icon_previous" onclick="f=document.getElementById('_messageForm'); f.action='{% url postman_undelete %}'; f.submit(); return false;">{% trans "Undelete" %}</a>
+{% endblock %}
</span>{% endblock %}
</form>
{% block content %}
<div id="postman" class="desk_center">
<h1>{% block pm_write_title %}{% endblock %}</h1>
-<form action="{% if next_url %}?next={{ next_url|urlencode }}{% endif %}" method="post">{% csrf_token %}
+<form id="_messageForm" action="{% if next_url %}?next={{ next_url|urlencode }}{% endif %}" method="post">{% csrf_token %}
<table>
{% block pm_write_recipient %}{% endblock %}
{{ form.as_table }}
</table>
-<button type="submit">{% trans "Send" %}</button>
+<a href="#" class="component_icon button icon_next" onclick="f=document.getElementById('_messageForm'); f.submit(); return false;">{% trans "Send" %}</a>
</form>
</div>
{% endblock %}
\ No newline at end of file
{% load postman_tags %}
{% block content %}
-<div id="postman">
+<div id="postman" class="desk_center">
<h1>{% if pm_messages|length > 1 %}{% trans "Conversation" %}{% else %}{% trans "Message" %}{% endif %}</h1>
<br /><br />
{% for message in pm_messages %}
</div>
<br />
{% if forloop.last %}
-<form action="" method="post">{% csrf_token %}
+<form id="_messageForm" action="" method="post">{% csrf_token %}
<input type="hidden" {% if message.thread_id %}name="tpks" value="{{ message.thread_id }}"{% else %}name="pks" value="{{ message.pk }}"{% endif %} />
-<a href="{{ next_url }}">{% trans "Back" %}</a>
+
+<a href="{{ next_url }}" class="component_icon button icon_previous">{% trans "Back" %}</a>
+
<span id="pm_buttons">
-<button type="submit" onclick="this.form.action='{% url postman_delete %}?next={{ next_url|urlencode }}'">{% trans "Delete" %}</button>
-{% if not archived %}<button type="submit" onclick="this.form.action='{% url postman_archive %}?next={{ next_url|urlencode }}'">{% trans "Archive" %}</button>{% endif %}
-</span>
-{% if reply_to_pk %}<a href="{% url postman_reply reply_to_pk %}?next={{ next_url|urlencode }}">{% trans "Reply" %}</a>{% endif %}
+
+{% block pm_delete_button %}
+<a href="#" class="component_icon button icon_delete" onclick="f=document.getElementById('_messageForm'); f.action='{% url postman_delete %}'; f.submit(); return false;">{% trans "Delete" %}</a>
+{% endblock %}
+{% block pm_archive_button %}
+{% if not archived %}
+<a href="#" class="component_icon button icon_save" onclick="f=document.getElementById('_messageForm'); f.action='{% url postman_archive %}'; f.submit(); return false;">{% trans "Archive" %}</a>
+{% endif %}
+{% endblock %}
+
+{% if reply_to_pk %}<a class="component_icon button icon_next" href="{% url postman_reply reply_to_pk %}?next={{ next_url|urlencode }}">{% trans "Reply" %}</a>{% endif %}
</form>
{% if reply_to_pk %}<hr />
<h2>{% trans 'Reply' %}</h2>
-<form action="{% url postman_reply reply_to_pk %}?next={{ next_url|urlencode }}" method="post">{% csrf_token %}
-<div id="pm_reply">{{ form.body }}</div>
-<button type="submit">{% trans 'Reply' %}</button>
+<form id="_messageReply" action="{% url postman_reply reply_to_pk %}?next={{ next_url|urlencode }}" method="post">{% csrf_token %}
+<div id="pm_reply">{{ form.body }}</div><br />
+<a href="#" class="component_icon button icon_next" onclick="f=document.getElementById('_messageReply'); f.submit(); return false;">{% trans "Reply" %}</a>
</form>{% endif %}
{% endif %}
{% endfor %}
{% block content %}
-<div class="home-description">
- <div id="module-set-left" style="width: 30%">
- <div class="module">
- <h3><img src="{% url telemeta-images "module_playlist.png" %}" alt="playlists" style="vertical-align:middle" />{% trans "My courses" %}</h3>
-
- <div style="background: white;">
- <ul>
- {% block courses %}
- {% for course in object_list %}
- <li><a href="{% url teleforma-course-detail course.id %}">{{ course.title }}</a></li>
- {% endfor %}
- {% endblock courses %}
- </ul>
- </div>
- </div>
- </div>
+<div id="module-set-left" style="width: 20%">
+<div class="module">
+<h3><img src="{% url telemeta-images "module_playlist.png" %}" alt="playlists" style="vertical-align:middle" />{% trans "My courses" %}</h3>
+
+<div style="background: white;">
+<ul>
+{% block courses %}
+{% for course in object_list %}
+<li><a href="{% url teleforma-course-detail course.id %}">{{ course.title }}</a></li>
+{% endfor %}
+{% endblock courses %}
+</ul>
+</div>
+</div>
+</div>
+
+
<div class="desk_center">
{% block course %}
</div>
-</div>
</div>
{% endif %}
{% if user.is_authenticated %}
- <li><a href="#profil#" class="origin"><img src="{% url telemeta-images "user.png" %}" alt="user" style="vertical-align:middle" width="12px" />{% if user.first_name and user.last_name %}
+ <li><a href="#profil#" class="origin"><img src="{% url telemeta-images "user_tr.png" %}" alt="user" style="vertical-align:middle" width="13px" />{% if user.first_name and user.last_name %}
{{ user.first_name }} {{ user.last_name }}
{% else %}
{{ user.username }}
{% endif %}</a>
<ul>
<li><a href="{% url telemeta-profile-detail user.username %}">{% trans "Profile" %}</a></li>
+ {% if user.is_staff %}
+ <li><a href="{% url telemeta-desk-lists %}">{% trans "Lists" %}</a></li>
+ {% endif %}
<li><a href="{% url telemeta-flatpage "help" %}">{% trans "Help" %}</a></li>
<li><a href="{% url telemeta-logout %}">{% trans "Sign out" %}</a></li>
</ul>