summaryrefslogtreecommitdiffstats
path: root/modules-available/dozmod/templates/runtimeconfig.html
diff options
context:
space:
mode:
authorChristoph Schulthess2017-02-23 14:43:05 +0100
committerChristoph Schulthess2017-02-23 14:43:05 +0100
commita87a14b9dc6670d1111b8204ae7a1ca14d814c57 (patch)
tree6b3c528804a91ced4ee14bbc4c31fb24541aa4c5 /modules-available/dozmod/templates/runtimeconfig.html
parentdebugrequest updated, using default SSL Relay Task (diff)
parent[inc/property] Add list-of-values interface (diff)
downloadslx-admin-a87a14b9dc6670d1111b8204ae7a1ca14d814c57.tar.gz
slx-admin-a87a14b9dc6670d1111b8204ae7a1ca14d814c57.tar.xz
slx-admin-a87a14b9dc6670d1111b8204ae7a1ca14d814c57.zip
Merge branch 'master' of git.openslx.org:openslx-ng/slx-admin into remote-debug
Diffstat (limited to 'modules-available/dozmod/templates/runtimeconfig.html')
-rw-r--r--modules-available/dozmod/templates/runtimeconfig.html35
1 files changed, 11 insertions, 24 deletions
diff --git a/modules-available/dozmod/templates/runtimeconfig.html b/modules-available/dozmod/templates/runtimeconfig.html
index e538dee8..9bdc44b0 100644
--- a/modules-available/dozmod/templates/runtimeconfig.html
+++ b/modules-available/dozmod/templates/runtimeconfig.html
@@ -91,6 +91,17 @@
</table>
</fieldset>
+ <fieldset>
+ <h3>{{lang_miscOptions}}</h3>
+ <div class="checkbox">
+ <input type="hidden" name="allowLoginByDefault" value="0">
+ <input type="checkbox" name="allowLoginByDefault" value="1" {{allowLoginByDefault}} id ="allowLoginByDefault" class="form-control">
+ <label>
+ {{lang_allowLoginByDefault}}
+ </label>
+ <p><i>{{lang_allowLoginDescription}}</i></p>
+ </div>
+ </fieldset>
<br>
<input type="hidden" name="token" value="{{token}}">
@@ -99,27 +110,3 @@
</form>
</div>
</div>
-
-<script type="text/javascript"><!--
-function slxTestConfig() {
- $('#test-button').prop('disabled', true);
- $('#test-spin').css('display', '');
- var str = $('#mailconf').serialize();
- str += '&button=test';
- console.log(str);
- $.post('?do=DozMod', str).done(function(data) {
- console.log('Success');
- console.log(data);
- checkRes(data);
- }).fail(function() {
- checkRes('DozMod refused the connection');
- }).always(function() {
- $('#test-button').prop('disabled', false);
- $('#test-spin').css('display', 'none');
- });
- }
-
- function checkRes(text) {
- $('#test-output').css('display', '').text(text);
- }
-// --> </script>