Revision 3fc38171
Von Andreas Rudin vor etwa 6 Jahren hinzugefügt
templates/webpages/common/flash.html | ||
---|---|---|
2 | 2 |
[% USE LxERP %] |
3 | 3 |
[% USE T8 %] |
4 | 4 |
|
5 |
[% BLOCK output %]
|
|
5 |
[% BLOCK output %] |
|
6 | 6 |
<div id="flash_[% type %]" class="flash_message flash_message_[% type %]" [% IF !messages || !messages.size %] style="display: none" [% END %]> |
7 | 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>
|
|
11 |
</span>
|
|
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> |
|
11 |
</span> |
|
12 | 12 |
</div> |
13 | 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">
|
|
14 |
<span class="flash_title">[% title %]:</span>
|
|
15 |
<div class="flash_notification">
|
|
16 |
<span id="flash_[% type %]_content" class="content">
|
|
17 | 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 -->
|
|
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 | 24 |
</div> |
25 | 25 |
</div> |
26 | 26 |
[% END #BLOCK output %] |
... | ... | |
28 | 28 |
[% PROCESS output title=LxERP.t8('Error') type='error' messages = FLASH.error %] |
29 | 29 |
[% PROCESS output title=LxERP.t8('Warning') type='warning' messages = FLASH.warning %] |
30 | 30 |
[% PROCESS output title=LxERP.t8('Information') type='info' messages = FLASH.info %] |
31 |
[% PROCESS output title=LxERP.t8('Ok') type='ok' messages = FLASH.ok %] |
|
31 |
[% PROCESS output title=LxERP.t8('Ok') type='ok' messages = FLASH.ok %] |
Auch abrufbar als: Unified diff
HP Aenderungen bis Oktober 2018