Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision d2c5ec33

Von Hans P. Schlaepfer vor fast 4 Jahren hinzugefügt

  • ID d2c5ec33cbf15897057034a9e0ac7abe01769d2a
  • Vorgänger f176c621
  • Nachfolger 9b3a0262

Neues Design 2019 Standard-Code templates/webpages/admin/delete_dataset.html

Unterschiede anzeigen:

templates/webpages/admin/delete_dataset.html
8 8
<h1>[% HTML.escape(title) %]</h1>
9 9

  
10 10
<p>
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.') %]
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.') %]
13 13
</p>
14 14

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

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

  
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") %]
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") %]
29 29

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

  
34 32
</form>
35 33

  
36
<script type="text/javascript">
37
 <!--
34
<script type="text/javascript"><!--
38 35

  
39 36
var used_dbsources = {[% FOREACH client = SELF.all_clients %]
40 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 %]
......
49 46
  });
50 47
});
51 48

  
52
   -->
53
</script>
49
--></script>
54 50

  
55 51
[% END %]

Auch abrufbar als: Unified diff