Revision 251fb566
Von Hans Peter Schlaepfer vor fast 5 Jahren hinzugefügt
templates/webpages/common/flash.html | ||
---|---|---|
1 |
[%- USE HTML -%][%- USE LxERP %][%- USE T8 %] |
|
2 |
[%- BLOCK output %] |
|
3 |
<div id="flash_[% type %]" class="flash_message_[% type %]"[% IF !messages || !messages.size %] style="display: none"[% END %]> |
|
4 |
<a href='#' style='float:right' |
|
5 |
onclick='$("#flash_[% type %]_content").empty();$("#flash_[% type %]_detail").empty();$("#flash_[% type %]").hide()'> |
|
6 |
<img src='image/close.png' border='0' alt='[% 'Close Flash' | $T8 %]'></a> |
|
7 |
<span class="flash_title">[%- title %]:</span> |
|
8 |
<span id="flash_[% type %]_content"> |
|
9 |
[% FOREACH message = messages %] |
|
10 |
[%- HTML.escape(message) %] |
|
11 |
[%- UNLESS loop.last %]<br>[% END %] |
|
12 |
[%- END %] |
|
1 |
[% USE HTML %] |
|
2 |
[% USE LxERP %] |
|
3 |
[% USE T8 %] |
|
4 |
|
|
5 |
[% BLOCK output %] |
|
6 |
<div id="flash_[% type %]" class="flash_message flash_message_[% type %]" [% IF !messages || !messages.size %] style="display: none" [% END %]> |
|
7 |
<div class="icon-container"> |
|
8 |
<a href="#" onclick='$("#flash_[% type %]_content").empty();$("#flash_[% type %]_detail").empty();$("#flash_[% type %]").hide()' class="icon-close"> ✕</a> |
|
9 |
<span id="flash_[% type %]_disp" class="display" style="display: none"> |
|
10 |
<a href="#" onclick='$("#flash_detail_[% type %]").toggle();' class="button"> [% 'Details' | $T8 %] </a> |
|
13 | 11 |
</span> |
14 |
<span id="flash_[% type %]_disp" style="display: none"> |
|
15 |
<a href='#' style='float:left' onclick='$("#flash_detail_[% type %]").toggle();'> |
|
16 |
[[% 'Details' | $T8 %]]</a> </span> |
|
17 |
<div id="flash_detail_[% type %]" style="display: none"> |
|
18 |
<br> |
|
19 |
<span id="flash_[% type %]_detail"></span><br> |
|
20 |
<a href='#' style='float:left' |
|
21 |
onclick='$("#flash_detail_[% type %]").hide()'> |
|
22 |
<img src='image/close.png' border='0' alt='[% 'Close Details' | $T8 %]'></a><br> |
|
23 |
</div> |
|
24 |
</div> |
|
25 |
[%- END %] |
|
26 |
[%- PROCESS output title=LxERP.t8('Error') type='error' messages = FLASH.error %] |
|
27 |
[%- PROCESS output title=LxERP.t8('Warning') type='warning' messages = FLASH.warning %] |
|
28 |
[%- PROCESS output title=LxERP.t8('Information') type='info' messages = FLASH.info %] |
|
29 |
[%- PROCESS output title=LxERP.t8('Ok') type='ok' messages = FLASH.ok %] |
|
12 |
</div> |
|
13 |
<div class="message-container"> |
|
14 |
<span class="flash_title">[% title %]:</span> |
|
15 |
<div class="flash_notification"> |
|
16 |
<span id="flash_[% type %]_content" class="content"> |
|
17 |
[% FOREACH message = messages %] [% HTML.escape(message) %] [% UNLESS loop.last %]<br>[% END %] [% END %] |
|
18 |
</span> |
|
19 |
<div id="flash_detail_[% type %]" class="detail" style="display: none"> |
|
20 |
<span id="flash_[% type %]_detail"></span> |
|
21 |
<a href="#" style="float:left" onclick='$("#flash_detail_[% type %]").hide()' class="icon-close">✕</a> |
|
22 |
</div> |
|
23 |
</div><!-- /.flash_notification --> |
|
24 |
</div> |
|
25 |
</div> |
|
26 |
[% END #BLOCK output %] |
|
27 |
|
|
28 |
[% PROCESS output title=LxERP.t8('Error') type='error' messages = FLASH.error %] |
|
29 |
[% PROCESS output title=LxERP.t8('Warning') type='warning' messages = FLASH.warning %] |
|
30 |
[% PROCESS output title=LxERP.t8('Information') type='info' messages = FLASH.info %] |
|
31 |
[% PROCESS output title=LxERP.t8('Ok') type='ok' messages = FLASH.ok %] |
Auch abrufbar als: Unified diff
Neues kivitendo Design Aenderungen in templates/webpages/common/..