1
|
<!-- BEGIN main_block -->
|
2
|
<script type="text/javascript">
|
3
|
<!--
|
4
|
var Droplet = {
|
5
|
ADMIN_DIRECTORY : '{ADMIN_DIRECTORY}',
|
6
|
WB_URL : '{AppUrl}',
|
7
|
ADMIN_URL : '{AcpUrl}',
|
8
|
AddonUrl : '{sAddonUrl}/',
|
9
|
ThemeUrl : '{sAddonThemeUrl}/'
|
10
|
};
|
11
|
-->
|
12
|
</script>
|
13
|
<div class="droplets overview" id="cb-droplets" >
|
14
|
<form action="{ToolUrl}" method="post" name="droplets_form">
|
15
|
<input type="hidden" name="{FTAN_NAME}" value="{FTAN_VALUE}" />
|
16
|
<table class="droplets w3-table-all" id="DropletsTable">
|
17
|
<tbody>
|
18
|
<tr>
|
19
|
<td >
|
20
|
<button class="btn" type="submit" name="command" value="add_droplet?droplet_id={IDKEY0}">{DR_TEXT_ADD_DROPLET}</button>
|
21
|
<button class="btn" type="submit" name="command" value="select_archiv#openModal">{DR_TEXT_IMPORT}</button>
|
22
|
</td>
|
23
|
<td style="float: right;">
|
24
|
<button class="btn modal-header_btn modal-trigger btn-fixed" type="submit" name="command" value="call_help#openModal" >Droplet {DR_TEXT_HELP}</button>
|
25
|
<button class="btn" type="submit" name="command" value="backup_droplets">{TEXT_BACKUP}</button>
|
26
|
</td>
|
27
|
</tr>
|
28
|
</tbody>
|
29
|
</table>
|
30
|
<h2>{DR_TEXT_MODIFY}/{DR_TEXT_DELETE} {DR_TEXT_DROPLETS}</h2>
|
31
|
<div id="dr-legende" class="nowrap">
|
32
|
<nav class="table">
|
33
|
<ul class="tr">
|
34
|
<li class="td dr-btn"><img src="{sAddonThemeUrl}/img/24/modify.png" alt="" /> {DR_TEXT_MODIFY}</li>
|
35
|
<li class="td dr-btn"><img src="{sAddonThemeUrl}/img/24/copy.png" alt="" /> {DR_TEXT_COPY_DROPLET}</li>
|
36
|
<li class="td dr-btn"><img src="{sAddonThemeUrl}/img/24/rename.png" alt="" /> {TEXT_RENAME}</li>
|
37
|
<li class="td dr-btn"><img src="{sAddonThemeUrl}/img/24/delete.png" alt="" /> {TEXT_DELETE}</li>
|
38
|
<li class="td dr-btn"><img src="{sAddonThemeUrl}/img/24/status_1.png" alt="" /> {TEXT_ACTIVE}</li>
|
39
|
<li class="td dr-btn"><img src="{sAddonThemeUrl}/img/24/status_0.png" alt="" /> {TEXT_INACTIVE}</li>
|
40
|
<li class="td dr-btn"><img src="{sAddonThemeUrl}/img/24/droplet.png" alt="" /> {DR_TEXT_VALID_CODE}</li>
|
41
|
<li class="td dr-btn"><img src="{sAddonThemeUrl}/img/24/invalid.png" alt="" /> {DR_TEXT_INVALID_CODE}</li>
|
42
|
</ul>
|
43
|
</nav>
|
44
|
</div>
|
45
|
<div class="outer">
|
46
|
<table class="fixed-headers sortierbar droplets-data w3-border w3-hoverable" id="tableData" >
|
47
|
<thead>
|
48
|
<tr class="w3-header-blue-wb">
|
49
|
<th>
|
50
|
<input name="select_all" id="select_all" type="checkbox" value="1" />
|
51
|
</th>
|
52
|
<th>
|
53
|
<img src="{sAddonThemeUrl}/img/24/blank.gif" alt="" />
|
54
|
</th>
|
55
|
<th>
|
56
|
<img src="{sAddonThemeUrl}/img/24/blank.gif" alt="" />
|
57
|
</th>
|
58
|
<th>
|
59
|
<img src="{sAddonThemeUrl}/img/24/blank.gif" alt="" />
|
60
|
</th>
|
61
|
<th class="sortierbar">{TEXT_NAME}</th>
|
62
|
<th class="sortierbar">{TEXT_DESCRIPTION}</th>
|
63
|
<th class="sortierbar vorsortiert+">{DR_TEXT_MODIFIED_WHEN}</th>
|
64
|
<th>
|
65
|
<img src="{sAddonThemeUrl}/img/24/blank.gif" alt="" />
|
66
|
</th>
|
67
|
<th id="DropletsActive" style="cursor: help;">
|
68
|
<img src="{sAddonThemeUrl}/img/24/info.png" alt="" title="{DR_TEXT_ACTION}" />
|
69
|
</th>
|
70
|
<th>
|
71
|
<img src="{sAddonThemeUrl}/img/24/blank.gif" alt="" />
|
72
|
</th>
|
73
|
</tr>
|
74
|
</thead>
|
75
|
<tbody>
|
76
|
<!-- BEGIN list_droplet_block -->
|
77
|
<tr >
|
78
|
<td>
|
79
|
<input type="checkbox" name="cb[{DropletId}]" id="L{DropletId}cb" value="{sDropletName}" />
|
80
|
</td>
|
81
|
<td >
|
82
|
<button name="command" type="submit" class="noButton" value="copy_droplet?droplet_id={iDropletIdKey}" title="">
|
83
|
<img src="{sAddonThemeUrl}/img/24/copy.png" alt="" />
|
84
|
</button>
|
85
|
</td>
|
86
|
<td>
|
87
|
<button name="command" type="submit" class="noButton" value="modify_droplet?droplet_id={iDropletIdKey}" title="">
|
88
|
<img src="{sAddonThemeUrl}/img/24/modify.png" alt="" />
|
89
|
</button>
|
90
|
</td>
|
91
|
<td>
|
92
|
<button name="command" type="submit" class="noButton" value="modify_droplet?droplet_id={iDropletIdKey}">
|
93
|
<img src="{sAddonThemeUrl}/img/24/{icon}.png" alt="" />
|
94
|
</button>
|
95
|
</td>
|
96
|
<td>
|
97
|
<button class="noButton" name="command" type="submit" value="modify_droplet?droplet_id={iDropletIdKey}" title="{sDropletTitle}">
|
98
|
<span class="truncate" >{sDropletName}</span>
|
99
|
<span id="tooltip_{DropletId}">{comments}</span>
|
100
|
</button>
|
101
|
</td>
|
102
|
<td>
|
103
|
<span class="truncate" title="{sDropletDescription}">{sDropletDescription}</span>
|
104
|
</td>
|
105
|
<td>
|
106
|
<b>{modified_when}</b>
|
107
|
</td>
|
108
|
<td >
|
109
|
<button name="command" type="submit" class="noButton" value="rename_droplet?droplet_id={iDropletIdKey}" title="">
|
110
|
<img src="{sAddonThemeUrl}/img/24/rename.png" alt="" />
|
111
|
</button>
|
112
|
</td>
|
113
|
<td id="id_{DropletId}" class="toggle_active_status cursor">
|
114
|
<img id="active_{DropletId}" src="{sAddonThemeUrl}/img/24/status_{ActiveIcon}.png" alt="" />
|
115
|
</td>
|
116
|
<td>
|
117
|
<button name="command" type="submit" class="noButton" value="delete_droplet?droplet_id={iDropletIdKey}" title="">
|
118
|
<img src="{sAddonThemeUrl}/img/24/delete.png" alt="" />
|
119
|
</button>
|
120
|
</td>
|
121
|
</tr>
|
122
|
<!-- END list_droplet_block -->
|
123
|
<tr class="noHeight">
|
124
|
<td></td>
|
125
|
<td></td>
|
126
|
<td></td>
|
127
|
<td></td>
|
128
|
<td></td>
|
129
|
<td></td>
|
130
|
<td></td>
|
131
|
<td></td>
|
132
|
<td></td>
|
133
|
<td></td>
|
134
|
</tr>
|
135
|
</tbody>
|
136
|
</table>
|
137
|
</div>
|
138
|
</form><!-- droplets_form -->
|
139
|
</div><!-- droplets -->
|
140
|
<script src="{sAddonThemeUrl}/js/TableSort.js" type="text/javascript"></script>
|
141
|
<script type="text/javascript">
|
142
|
<!--
|
143
|
/*
|
144
|
var table = $('#DropletsTable').DataTable( {
|
145
|
ajax: "data.json"
|
146
|
});
|
147
|
setInterval( function () {
|
148
|
table.ajax.reload( null, false ); // user paging is not reset on reload
|
149
|
}, 30000 );
|
150
|
setInterval();
|
151
|
*/
|
152
|
-->
|
153
|
</script>
|
154
|
<!-- END main_block -->
|