blob: 9f2ee8728cd04330c7b678d8e9f3cf4f145eeb4c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
|
<div class="col-md-6">
<div class="panel panel-default">
<div class="panel-heading">
{{lang_availableModules}}
<a class="btn btn-default" data-toggle="modal" data-target="#help-module"><span class="glyphicon glyphicon-question-sign"></span></a>
</div>
<div class="panel-body">
<form method="post" action="?do=SysConfig">
<input type="hidden" name="token" value="{{token}}">
<input type="hidden" name="action" value="module">
<table id="modtable" class="slx-table table-hover" style="width:100%">
{{#modules}}
<tr data-id="{{id}}" class="modrow">
<td class="badge text-nowrap">{{moduleType}}</td>
<td class="title slx-pointer" width="100%" title="{{lang_lastEdited}} {{dateline_s}}">
<table class="slx-ellipsis"><tr><td>
<span class="glyphicon glyphicon-question-sign pull-right icon-unused hidden" title="{{lang_moduleUnused}}"></span>
{{title}}
</td></tr></table>
</td>
<td class="text-nowrap">
{{#allowDownload}}
<button class="btn btn-default btn-xs" name="list" value="{{id}}" title="{{lang_show}}"><span class="glyphicon glyphicon-eye-open"></span></button>
<button class="btn btn-default btn-xs" name="download" value="{{id}}"
title="{{lang_download}}" {{perms.module.download.disabled}}>
<span class="glyphicon glyphicon-download-alt"></span>
</button>
{{/allowDownload}}
</td>
<td class="text-nowrap">
<button
{{#needRebuild}}
class="btn-rebuild btn btn-primary btn-xs"
{{/needRebuild}}
{{^needRebuild}}
class="btn-rebuild btn btn-default btn-xs"
{{/needRebuild}}
name="rebuild" value="{{id}}" title="{{lang_rebuild}}" {{perms.module.edit.disabled}}>
<span class="glyphicon glyphicon-refresh"></span>
</button>
<a class="btn btn-success btn-xs {{perms.module.edit.disabled}}"
href="?do=SysConfig&action=addmodule&step={{moduleType}}_Start&edit={{id}}"
title="{{lang_edit}}">
<span class="glyphicon glyphicon-edit"></span>
</a>
<a class="btn btn-success btn-xs {{perms.config.edit.disabled}}"
href="?do=SysConfig&action=addmodule&step=AddModule_Assign&edit={{id}}"
title="{{lang_assignToConfigs}}">
<span class="glyphicon glyphicon-arrow-right"></span>
</a>
<button type="submit" class="btn btn-danger btn-xs btn-del-module" name="del" value="{{id}}"
title="{{lang_delete}}" {{perms.module.edit.disabled}} data-confirm="#confirm-delete"
data-title="{{title}}">
<span class="glyphicon glyphicon-trash"></span>
</button>
</td>
</tr>
{{/modules}}
</table>
{{^modules}}
<div class="alert alert-warning">{{lang_configurationModuleNotFound}}</div>
{{/modules}}
</form>
</div>
<div class="panel-footer text-right">
<a class="btn btn-primary {{perms.module.edit.disabled}}" href="?do=SysConfig&action=addmodule">
{{lang_newModule}}
</a>
</div>
</div>
<div class="modal fade" id="help-module" tabindex="-1" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="modal-title"><b>{{lang_moduleConfiguration}}</b></h4>
</div>
<div class="modal-body">
{{lang_helpModuleConfiguration}}
</div>
</div>
</div>
</div>
</div>
|