1 <!DOCTYPE html> |
|
2 <html lang="en" i18n:domain="pyams_skin" |
|
3 tal:define="config extension:back_configuration; |
|
4 static extension:static_configuration;" |
|
5 tal:attributes="lang request.locale_name"> |
|
6 <head> |
|
7 <tal:var replace="structure extension:metas" /> |
|
8 |
|
9 <title tal:attributes="data-ams-title-prefix config.get_title_prefix(request)" |
|
10 tal:content="config.title"></title> |
|
11 |
|
12 <tal:if define="icon config.icon | nothing; url extension:absolute_url(icon);" condition="icon"> |
|
13 <!-- Favorite icon --> |
|
14 <link rel="shortcut icon" tal:attributes="href url" type="image/x-icon"> |
|
15 <link rel="icon" tal:attributes="href url" type="image/x-icon"> |
|
16 </tal:if> |
|
17 |
|
18 <tal:var replace="extension:resources" /> |
|
19 |
|
20 </head> |
|
21 <body tal:attributes="class static.body_css_class"> |
|
22 |
|
23 <!-- Page header --> |
|
24 <header id="header"> |
|
25 |
|
26 <!-- Logo --> |
|
27 <div id="logo-group"> |
|
28 <span id="logo" |
|
29 tal:define="logo config.logo | nothing" |
|
30 tal:condition="logo"> |
|
31 <a href="/@@admin.html"> |
|
32 <img tal:attributes="src extension:absolute_url(logo, '++thumb++200x36.png');" /> |
|
33 </a> |
|
34 </span> |
|
35 </div> |
|
36 <!-- end logo --> |
|
37 |
|
38 <!-- projects drop-downs --> |
|
39 <div id="top-links" tal:condition="static.include_top_links"> |
|
40 <tal:div replace="structure provider:pyams.toplinks" /> |
|
41 </div> |
|
42 <!-- end projects drop-downs --> |
|
43 |
|
44 <!-- pulled right: nav area --> |
|
45 <div class="pull-right"> |
|
46 |
|
47 <!-- multiple langs dropdown --> |
|
48 <ul class="header-dropdown-list hidden-xs" tal:condition="static.include_flags"> |
|
49 <li tal:content="structure provider:pyams.flags"></li> |
|
50 </ul> |
|
51 <!-- end multiple langs --> |
|
52 |
|
53 <!-- collapse menu button --> |
|
54 <div id="hide-menu" class="btn-header pull-right" tal:condition="static.include_menus"> |
|
55 <span> |
|
56 <a href="#" title="Hide menu" class="hint" i18n:attributes="title" |
|
57 data-ams-hint-gravity="ne"><i class="fa fa-bars"></i></a> |
|
58 </span> |
|
59 </div> |
|
60 <!-- end collapse menu --> |
|
61 |
|
62 <!-- User avatar and user menus --> |
|
63 <div id="user-menu" class="btn-header pull-right margin-left-10"> |
|
64 <span class="btn btn-sm btn-success" data-toggle="dropdown"> |
|
65 <tal:var define="profile extension:public_profile(request)"> |
|
66 <tal:if condition="profile.avatar"> |
|
67 <img tal:define="src extension:absolute_url(profile.avatar)" |
|
68 tal:attributes="src string:${src}/++thumb++square:32x32.png" /> |
|
69 </tal:if> |
|
70 <tal:if condition="not:profile.avatar"> |
|
71 <i class="fa fa-user img hint" data-ams-hint-gravity="ne" |
|
72 title="Update your profile to select an avatar..." i18n:attributes="title"></i> |
|
73 </tal:if> |
|
74 <i class="fa fa-caret-down pull-right padding-y-5"></i> |
|
75 </tal:var> |
|
76 </span> |
|
77 <tal:var content="structure provider:pyams.user_menus" /> |
|
78 </div> |
|
79 <!-- end user avatar --> |
|
80 |
|
81 <tal:var define="shortcuts provider:pyams.shortcuts; |
|
82 display_shortcuts shortcuts and static.include_user_shortcuts" |
|
83 condition="display_shortcuts"> |
|
84 <!-- user shortcuts --> |
|
85 <div class="btn-header pull-right" tal:condition="static.include_menus"> |
|
86 <span> |
|
87 <a href="#" title="My shortcuts" id="show-shortcuts" class="hint" i18n:attributes="title" |
|
88 data-ams-hint-gravity="ne"><i class="fa fa-bookmark-o"></i></a> |
|
89 </span> |
|
90 </div> |
|
91 <div id="shortcuts"> |
|
92 <tal:var content="structure shortcuts" /> |
|
93 <div tal:condition="static.version_location == 'shortcuts'" class="version"> |
|
94 <tal:var content="static.application_name" /> - version <tal:var content="static.version" /> |
|
95 </div> |
|
96 </div> |
|
97 <!-- end user shortcuts --> |
|
98 </tal:var> |
|
99 |
|
100 <tal:if condition="static.include_user_activity"> |
|
101 <tal:var define="activity provider:pyams.activity" |
|
102 condition="activity"> |
|
103 <!-- user notifications button --> |
|
104 <div id="user-activity" class="btn-header pull-right" tal:condition="static.include_menus"> |
|
105 <span> |
|
106 <a href="#" title="Notifications" class="activity-button hint" i18n:attributes="title" |
|
107 data-ams-hint-gravity="ne"><i class="fa fa-bell"></i></a> |
|
108 <b class="badge bg-color-danger txt-color-white hidden">0</b> |
|
109 <!-- AJAX-dropdown --> |
|
110 <div class="ajax-dropdown" |
|
111 tal:content="structure activity"> |
|
112 </div> |
|
113 <!-- end AJAX-dropdown --> |
|
114 </span> |
|
115 </div> |
|
116 <!-- end user notifications --> |
|
117 </tal:var> |
|
118 </tal:if> |
|
119 |
|
120 <tal:if condition="static.include_mobile_search"> |
|
121 <!-- search mobile button (this is hidden till mobile view port) --> |
|
122 <tal:var content="structure provider:pyams.mobile_search" /> |
|
123 <!-- end search mobile button --> |
|
124 </tal:if> |
|
125 |
|
126 <tal:if condition="static.include_site_search"> |
|
127 <!-- site search field --> |
|
128 <tal:var content="structure provider:pyams.site_search" /> |
|
129 <!-- end site search field --> |
|
130 </tal:if> |
|
131 |
|
132 </div> |
|
133 <!-- end nav area --> |
|
134 |
|
135 </header> |
|
136 <!-- end page header --> |
|
137 |
|
138 <!-- Menus panel --> |
|
139 <aside id="left-panel"> |
|
140 |
|
141 <tal:if condition="static.include_menus"> |
|
142 <!-- AJAX progress gear --> |
|
143 <div id="ajax-gear"><i class="fa fa-2x fa-spin fa-gear"></i></div> |
|
144 <!-- Navigation menus --> |
|
145 <nav tal:content="structure provider:pyams.menus"></nav> |
|
146 <span class="minifyme" style=""> <i class="fa fa-arrow-circle-left hit"></i> </span> |
|
147 </tal:if> |
|
148 |
|
149 <div tal:condition="static.version_location == 'menus'" class="version"> |
|
150 <!-- Application version --> |
|
151 <tal:var content="static.application_name" /> - version <tal:var content="static.version" /> |
|
152 </div> |
|
153 </aside> |
|
154 <!-- end menus panel --> |
|
155 |
|
156 <!-- Main panel --> |
|
157 <div id="main" role="main"> |
|
158 |
|
159 <!-- Ribbon --> |
|
160 <div id="ribbon"> |
|
161 <!-- Refresh button --> |
|
162 <span class="ribbon-button-alignment"> |
|
163 <span id="refresh" class="btn btn-ribbon hint" data-ams-hint-gravity="w" data-ams-hint-html="true" |
|
164 title="<span><i class='text-warning fa fa-warning'></i> WARNING: this will reset all your widgets status!</span>" |
|
165 tal:condition="static.include_reload_button" i18n:attributes="title"> |
|
166 <i class="fa fa-refresh"></i> |
|
167 </span> |
|
168 </span> |
|
169 <!-- breadcrumb --> |
|
170 <ol class="breadcrumb"> |
|
171 <tal:var content="structure provider:pyams.breadcrumbs" /> |
|
172 </ol> |
|
173 </div> |
|
174 <!-- end ribbon --> |
|
175 |
|
176 <!-- Content --> |
|
177 <div id="content" style="opacity: 1;"> |
|
178 <!--[if lt IE 9]> |
|
179 <h1 i18n:translate="">Your browser is too old. Please install version 9 or higher of Internet Explorer.</h1> |
|
180 <![endif]--> |
|
181 <tal:var content="structure provider:pagelet" /> |
|
182 </div> |
|
183 <!-- end content --> |
|
184 |
|
185 </div> |
|
186 <!-- end main panel --> |
|
187 |
|
188 <!-- Javascript extensions --> |
|
189 <tal:var content="structure provider:pyams.jsextensions" /> |
|
190 <!-- end javascript extensions --> |
|
191 </body> |
|
192 </html> |
|