|
1 {% load com %} |
|
2 {% load i18n %} |
|
3 |
|
4 <!-- TODO factorize with base.html for style and jquery etc... --> |
|
5 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
|
6 <html> |
|
7 |
|
8 <head> |
|
9 |
|
10 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
|
11 |
|
12 <!-- TODO factorize with base.html etc...--> |
|
13 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}js/lib/yui/{{ YUI_VERSION }}/build/cssreset/reset-min.css"> |
|
14 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}js/lib/yui/{{ YUI_VERSION }}/build/cssfonts/fonts-min.css"> |
|
15 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}js/lib/yui/{{ YUI_VERSION }}/build/cssbase/base-min.css"> |
|
16 |
|
17 <!-- TODO factorize with base.html for jquery etc... --> |
|
18 <script type="text/javascript"> |
|
19 <!-- |
|
20 sv_media_url = "{{ MEDIA_URL|escapejs}}" ; |
|
21 --> |
|
22 </script> |
|
23 <link type="text/css" href="{{ MEDIA_URL }}js/lib/jquery/css/smoothness/jquery-ui-1.7.2.custom.css" rel="stylesheet" /> |
|
24 <script type="text/javascript" src="{{ MEDIA_URL }}js/lib/jquery/js/jquery-1.3.2.min.js"></script> |
|
25 <script type="text/javascript" src="{{ MEDIA_URL }}js/lib/jquery/js/jquery-ui-1.7.2.custom.min.js"></script> |
|
26 <script type="text/javascript" src="{{ MEDIA_URL }}js/lib/jquery/js/layout/jquery.layout.min.js"></script> |
|
27 <script type="text/javascript" src="{{ MEDIA_URL }}js/lib/jquery/js/cookie/jquery.cookie.js"></script><!-- not minified --> |
|
28 |
|
29 <!-- <script type="text/javascript" src="{{ MEDIA_URL }}js/lib/bgiframe_2.1.1/jquery.bgiframe.min.js"></script> --> |
|
30 |
|
31 <link type="text/css" href="{{ MEDIA_URL }}css/site/text_view_frame.css" rel="stylesheet" /> |
|
32 |
|
33 <script type="text/javascript" src="{% url django.views.i18n.javascript_catalog %}"></script> |
|
34 {% if CLIENT_DEBUG %} |
|
35 <script type="text/javascript" src="{{ MEDIA_URL }}js/client/f_message.js"></script> |
|
36 <script type="text/javascript" src="{{ MEDIA_URL }}js/client/f_printDialog.js"></script> |
|
37 <script type="text/javascript" src="{{ MEDIA_URL }}js/site/f_text_view_frame.js"></script> |
|
38 {% else %} |
|
39 <script type="text/javascript" src="{{ MEDIA_URL }}js/client/f_client-min.js?1258465065"></script> |
|
40 {% endif %} |
|
41 <style type="text/css"> |
|
42 /* |
|
43 * TAB-THEME ADJUSTMENTS |
|
44 */ |
|
45 .ui-tabs-nav li { |
|
46 white-space: nowrap; |
|
47 } |
|
48 .ui-tabs-nav li a { |
|
49 font-size: 1em !important; |
|
50 padding: 4px 1.5ex 3px !important; |
|
51 } |
|
52 .ui-tabs-panel { |
|
53 font-size: 1em !important; |
|
54 padding: 8px 1em !important; |
|
55 } |
|
56 </style> |
|
57 |
|
58 |
|
59 |
|
60 </head> |
|
61 <BODY> |
|
62 <DIV id="add_comment_btn" class="initially_hidden"> |
|
63 <img align="middle" src="/site_media/img/note_add_sop_mid.gif" alt="{% blocktrans %}add a comment{% endblocktrans %}" title="{% blocktrans %}add a comment{% endblocktrans %}"/> |
|
64 </DIV> |
|
65 <!-- cf.http://layout.jquery-dev.net/download/example.html --> |
|
66 <!-- TODO check height 600 ... --> |
|
67 <DIV id="outer-north" class="ui-layout-north"> |
|
68 <div style="margin-top:4px;" id="c_slider"></div> |
|
69 </DIV> |
|
70 <DIV class="outer-center" > |
|
71 <DIV class="inner-north initially_hidden" > |
|
72 <ul id="header-nobck"> |
|
73 <li><a href="#c_filter">{% blocktrans %}Filter comments{% endblocktrans %}</a></li> |
|
74 <li><a href="#c_preferences">{% blocktrans %}Preferences{% endblocktrans %}</a></li> |
|
75 <li><a href="#c_text_preferences">{% blocktrans %}Text preferences{% endblocktrans %}</a></li> |
|
76 </ul> |
|
77 <div id="c_filter" class="c_tab"> |
|
78 </div> |
|
79 <div id="c_preferences" class="c_tab"> |
|
80 </div> |
|
81 <div id="c_text_preferences" class="c_tab"> |
|
82 </div> |
|
83 </DIV> |
|
84 <iframe id="text_view_comments" name="text_view_comments" class="ui-layout-center" |
|
85 width="100%" height="100%" frameborder="0" scrolling="auto" |
|
86 src="{% url text-view-comments text.key %}?{{ request.GET.urlencode }}"></iframe> |
|
87 |
|
88 <!-- exemple de passage d'arguments <iframe id="text_view_comments" name="text_view_comments" class="ui-layout-center" |
|
89 width="100%" height="100%" frameborder="0" scrolling="auto" |
|
90 src="{% url text-view-comments text.key %}?filter_name=aa&filter_tag=toto"></iframe> |
|
91 --> |
|
92 </DIV> |
|
93 <div style="display: none;"> |
|
94 <div id="dialog_h"></div> |
|
95 <div id="dialog_print_export" title=""> |
|
96 <!-- <p id="validateTips">All form fields are required.</p> --> |
|
97 |
|
98 <form name="print_export_form" id="print_export_form" method="post" action="" target_action="{% url text-export text.key "FoRmAt" "DoWnLoAd" "WhIcHCoMmEnT" "WiThCoLoR" %}?{{ request.GET.urlencode }}"> |
|
99 <fieldset> |
|
100 <label for="name">{% blocktrans %}Which comments?{% endblocktrans %}</label> |
|
101 <select name="p_comments" id="p_comments" /> |
|
102 </select> |
|
103 |
|
104 <label for="name">{% blocktrans %}How do you want to print?{% endblocktrans %}</label> |
|
105 <select name="p_method" id="p_method"/> |
|
106 </select> |
|
107 |
|
108 <label id="p_color_label" for="email">{% blocktrans %}How should comments' scope be shown in text?{% endblocktrans %}</label> |
|
109 <select name="p_color" id="p_color"/> |
|
110 </select> |
|
111 </fieldset> |
|
112 |
|
113 <input type="hidden" name="filteredIds" id="filteredIds" value="" /> |
|
114 <input type="hidden" name="print_export_action" id="print_export_action" value="" /> |
|
115 </form> |
|
116 </div> |
|
117 </div> |
|
118 </BODY> |
|
119 </html> |