blob: dbf50fb68c39ee2f553b7df168acbde015be8940 (
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
|
<h2>
{{#new}}{{lang_createPanel}}{{/new}}
{{^new}}{{lang_editPanel}}{{/new}}
</h2>
<p>{{lang_editUrlPanelHints}}</p>
<form method="post" action="?do=locationinfo" id="config-form">
<input type="hidden" name="token" value="{{token}}">
<input type="hidden" name="action" value="writePanelConfig">
<input type="hidden" name="ptype" value="URL">
<input type="hidden" name="uuid" value="{{uuid}}">
<div class="panel panel-default">
<div class="panel-heading">{{lang_display}}</div>
<div class="panel-body">
<div class="list-group">
<div class="list-group-item">
<div class="row">
<div class="col-sm-3">
<label for="panel-title">{{lang_displayName}}</label>
</div>
<div class="col-sm-7">
<input class="form-control" name="name" id="panel-title" type="text" value="{{panelname}}">
</div>
<div class="col-sm-2">
<p class="btn btn-static helptext" title="{{lang_displayNameTooltip}}">
<span class="glyphicon glyphicon-question-sign"></span>
</p>
</div>
</div>
</div>
<div class="list-group-item">
<div class="row">
<div class="col-sm-3">
<label for="panel-url">{{lang_url}}</label>
</div>
<div class="col-sm-7">
<input class="form-control" name="url" id="panel-url" type="text" value="{{url}}"
placeholder="http://www.bwlehrpool.de/" pattern=".*://.*" required>
</div>
<div class="col-sm-2">
<p class="btn btn-static helptext" title="{{lang_urlTooltip}}">
<span class="glyphicon glyphicon-question-sign"></span>
</p>
</div>
</div>
</div>
<div class="list-group-item">
<div class="row">
<div class="col-sm-3">
<label for="input-ssl">{{lang_insecureSsl}}</label>
</div>
<div class="col-sm-7">
<div class="checkbox">
<input id="input-ssl" type="checkbox" name="insecure-ssl" {{ssl_checked}} value="1">
<label></label>
</div>
</div>
<div class="col-sm-2">
<p class="btn btn-static helptext" title="{{lang_ignoreSslTooltip}}">
<span class="glyphicon glyphicon-question-sign"></span>
</p>
</div>
</div>
</div>
<div class="list-group-item">
<div class="row">
<div class="col-sm-3">
<label for="input-reload">{{lang_reloadIntervalMins}}</label>
</div>
<div class="col-sm-7">
<input class="form-control" id="input-reload" type="number" min="0" max="999" name="reloadminutes" pattern="\d*" value="{{reloadminutes}}">
</div>
<div class="col-sm-2">
<p class="btn btn-static helptext" title="{{lang_reloadIntervalTooltip}}">
<span class="glyphicon glyphicon-question-sign"></span>
</p>
</div>
</div>
</div>
<div class="list-group-item">
<div class="row">
<div class="col-sm-3">
<div class="radio">
<input type="radio" name="iswhitelist" value="1" {{iswhitelist_1_checked}} id="iswhitelist1" class="form-control">
<label for="iswhitelist1">
{{lang_urlWhitelist}}
</label>
</div>
<div class="radio">
<input type="radio" name="iswhitelist" value="0" {{iswhitelist_0_checked}} id="iswhitelist0" class="form-control">
<label for="iswhitelist0">
{{lang_urlBlacklist}}
</label>
</div>
</div>
<div class="col-sm-7">
<textarea name="urllist" rows="10" class="form-control">{{urllist}}</textarea>
<p>{{lang_urlListHelp}}</p>
</div>
<div class="col-sm-2"></div>
</div>
</div>
</div>
</div>
</div>
<div class="text-right">
<a href="?do=locationinfo&show=panels" class="btn btn-default">{{lang_cancel}}</a>
<button type="submit" class="btn btn-primary">{{lang_save}}</button>
</div>
</form>
<script type="text/javascript"><!--
document.addEventListener("DOMContentLoaded", function () {
// Initialize fancy tooltips
$('p.helptext').tooltip();
});
//--></script>
|