3
3
* Spring Signage Ltd - http://www.springsignage.com
4
* Copyright (C) 2015-2017 Spring Signage Ltd
4
* Copyright (C) 2015-2018 Spring Signage Ltd
5
5
* contributions by LukyLuke aka Lukas Zurschmiede - https://github.com/LukyLuke
7
7
* (dataset-form-add.twig) This file is part of Xibo.
103
103
{% set auth_none %}{% trans "None" %}{% endset %}
104
104
{% set auth_basic %}{% trans "Basic" %}{% endset %}
105
105
{% set auth_digest %}{% trans "Digest" %}{% endset %}
106
{% set auth_ntlm %}{% trans "NTLM" %}{% endset %}
107
{% set auth_bearer %}{% trans "Bearer" %}{% endset %}
106
108
{% set options = [
107
109
{ typeid: "none", type: auth_none },
108
110
{ typeid: "basic", type: auth_basic },
109
{ typeid: "digest", type: auth_digest }
111
{ typeid: "digest", type: auth_digest },
112
{ typeid: "ntlm", type: auth_ntlm },
113
{ typeid: "bearer", type: auth_bearer }
111
115
{{ forms.dropdown("authentication", "single", title, "", options, "typeid", "type", helpText) }}
113
117
{% set title %}{% trans "Username" %}{% endset %}
114
118
{% set helpText %}{% trans "Enter the authentication Username" %}{% endset %}
115
{{ forms.input("username", title, "", helpText, "auth-fields", "") }}
119
{{ forms.input("username", title, "", helpText, "auth-field-username", "") }}
117
121
{% set title %}{% trans "Password" %}{% endset %}
118
122
{% set helpText %}{% trans "Corresponding Password" %}{% endset %}
119
{{ forms.input("password", title, "", helpText, "auth-fields", "") }}
123
{{ forms.input("password", title, "", helpText, "auth-field-password", "") }}
122
126
<div class="tab-pane" id="data">