~xibo-maintainers/xibo/tempel

« back to all changes in this revision

Viewing changes to views/dataset-form-add.twig

  • Committer: Dan Garner
  • Date: 2018-05-21 14:58:11 UTC
  • mfrom: (644.1.8)
  • mto: (614.1.6)
  • mto: This revision was merged to the branch mainline in revision 648.
  • Revision ID: git-v1:e7961b0ebe68a0c0bc5dd7b3abca007138b2cadd
Merge branch 'bugfix/1.8.10-pack1' into feature/r-graph

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
{#
2
2
/*
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
6
6
 *
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 }
110
114
                        ] %}
111
115
                        {{ forms.dropdown("authentication", "single", title, "", options, "typeid", "type", helpText) }}
112
116
 
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", "") }}
116
120
 
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", "") }}
120
124
                    </div>
121
125
 
122
126
                    <div class="tab-pane" id="data">