Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision a85900cb

Von Hans Peter Schlaepfer vor mehr als 6 Jahren hinzugefügt

  • ID a85900cb68a578d89090043534ae79664a4070a9
  • Vorgänger 72c4037d
  • Nachfolger e7c11f83

Preview design 4.0

Unterschiede anzeigen:

templates/webpages/common/flash.html
1
[%- USE HTML -%][%- USE LxERP %][%- USE T8 %]
1
[%- USE HTML -%]
2
[%- USE LxERP %]
3
[%- USE T8 %]
2 4
[%- 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>
5
<div id="flash_[% type %]" class="flash_message flash_message_[% type %]"[% IF !messages || !messages.size %] style="display: none"[% END %]>
6
  <a href="#" style="float:right" onclick='$("#flash_[% type %]_content").empty();$("#flash_[% type %]_detail").empty();$("#flash_[% type %]").hide()' class="icon-close">
7
    &#10005;<!-- <img src="image/close.png" border="0" alt="[% #'Close Flash' | $T8 %]"> -->
8
  </a>
7 9
  <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 %]
13
  </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>&nbsp;&nbsp;</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>
10
  <div class="flash_notification">
11
    <span id="flash_[% type %]_content" class="content">
12
      [% FOREACH message = messages %]
13
        [%- HTML.escape(message) %]
14
        [%- UNLESS loop.last %]<br>[% END %]
15
      [%- END %]
16
    </span>
17
    <span id="flash_[% type %]_disp" class="display" style="display: none">
18
      <a href="#" style="float:left" onclick='$("#flash_detail_[% type %]").toggle();'>
19
      [[% 'Details' | $T8 %]]
20
      </a>
21
    </span>
22
    <div id="flash_detail_[% type %]" class="detail" style="display: none">
23
        <span id="flash_[% type %]_detail"></span>
24
        <a href="#" style="float:left" onclick='$("#flash_detail_[% type %]").hide()' class="icon-close">&#10005;</a>
25
        <!-- <img src="image/close.png" border="0" alt="[% #'Close Details' | $T8 %]">-->
26
    </div>
23 27
  </div>
24
 </div>
28
</div>
25 29
[%- END %]
26
[%- PROCESS output title=LxERP.t8('Error')       type='error'   messages = FLASH.error %]
30
[%- PROCESS output title=LxERP.t8('Error')       type='error'   messages = FLASH.error   %]
27 31
[%- 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 %]
32
[%- PROCESS output title=LxERP.t8('Information') type='info'    messages = FLASH.info    %]
33
[%- PROCESS output title=LxERP.t8('Ok')          type='ok'      messages = FLASH.ok      %]

Auch abrufbar als: Unified diff