Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 45ca22a1

Von Hans Peter Schlaepfer vor etwa 5 Jahren hinzugefügt

  • ID 45ca22a10149679d7271add3dc11f4a453904281
  • Vorgänger 0aa82a7c
  • Nachfolger af6bcf02

Neues kivitendo Design Aenderungen in templates/webpages/admin/..

Unterschiede anzeigen:

templates/webpages/admin/delete_dataset.html
1
[%- USE HTML %][%- USE LxERP -%][%- USE L -%][%- USE JavaScript -%]
1
[% USE HTML %]
2
[% USE LxERP %]
3
[% USE L %]
4
[% USE JavaScript %]
2 5

  
3 6
[% INCLUDE 'common/flash.html' %]
4 7

  
5 8
<h1>[% HTML.escape(title) %]</h1>
6 9

  
7 10
<p>
8
 [% LxERP.t8('You can only delete datasets that are not in use.') %]
9
 [% LxERP.t8('If you want to delete such a dataset you have to edit the client(s) that are using the dataset in question and have them use another dataset.') %]
11
  [% LxERP.t8('You can only delete datasets that are not in use.') %]
12
  [% LxERP.t8('If you want to delete such a dataset you have to edit the client(s) that are using the dataset in question and have them use another dataset.') %]
10 13
</p>
11 14

  
12 15
[% IF SELF.all_dbsources.size %]
13 16

  
14 17
<form method="post" action="controller.pl">
15
 <p>
18
<p>
16 19
  [% LxERP.t8('Please select the dataset you want to delete:') %]
17 20
  [% L.select_tag('db', SELF.all_dbsources, class="initial_focus") %]
18
 </p>
21
</p>
19 22

  
20
 [% L.hidden_tag("dbhost", FORM.dbhost) %]
21
 [% L.hidden_tag("dbport", FORM.dbport) %]
22
 [% L.hidden_tag("dbuser", FORM.dbuser) %]
23
 [% L.hidden_tag("dbpasswd", FORM.dbpasswd) %]
24
 [% L.hidden_tag("dbdefault", FORM.dbdefault) %]
25
 [% L.hidden_tag("action", "Admin/do_delete_dataset") %]
23
[% L.hidden_tag("dbhost", FORM.dbhost) %]
24
[% L.hidden_tag("dbport", FORM.dbport) %]
25
[% L.hidden_tag("dbuser", FORM.dbuser) %]
26
[% L.hidden_tag("dbpasswd", FORM.dbpasswd) %]
27
[% L.hidden_tag("dbdefault", FORM.dbdefault) %]
28
[% L.hidden_tag("action", "Admin/do_delete_dataset") %]
26 29

  
27
 <div>
28
  [% L.submit_tag('dummy', LxERP.t8('Delete Dataset'), id='submit') %]
29
 </div>
30
<div class="buttons">[% L.submit_tag('dummy', LxERP.t8('Delete Dataset'), id='submit') %]</div>
30 31

  
31 32
</form>
32 33

  
33
<script type="text/javascript">
34
 <!--
34
<script type="text/javascript"><!--
35 35

  
36 36
var used_dbsources = {[% FOREACH client = SELF.all_clients %]
37 37
  "[% JavaScript.escape(client.dbhost || 'localhost') %]:[% JavaScript.escape(client.dbport || '5432') %]:[% JavaScript.escape(client.dbname || 'localhost') %]": "[% JavaScript.escape(client.name) %]"[% UNLESS loop.last %],[% END %][% END %]
......
46 46
  });
47 47
});
48 48

  
49
   -->
50
</script>
49
--></script>
51 50

  
52 51
[% END %]

Auch abrufbar als: Unified diff