mirror of
https://github.com/getredash/redash.git
synced 2026-05-11 18:01:55 -04:00
The entity_id and nameid_format form fields didn't work as they tried to save a setting with an incorrect name. This has now been fixed and the form can be used to configure these values. A short debounce delay was also added to the form to avoid saving the value after every keystroke (if values are inputted manually).
54 lines
2.6 KiB
HTML
54 lines
2.6 KiB
HTML
<settings-screen>
|
|
<div class="row">
|
|
<div class="col-md-offset-4 col-md-4">
|
|
<h3 class="m-t-0">General</h3>
|
|
<p>
|
|
<label>
|
|
Date Format
|
|
</label>
|
|
<select class="form-control" ng-model="$ctrl.settings.date_format" ng-change="$ctrl.update('date_format')">
|
|
<option value="DD/MM/YY">DD/MM/YY</option>
|
|
<option value="MM/DD/YY">MM/DD/YY</option>
|
|
<option value="YYYY-MM-DD">YYYY-MM-DD</option>
|
|
</select>
|
|
</p>
|
|
<hr>
|
|
<h3>Authentication</h3>
|
|
<p>
|
|
<label>
|
|
<input name="input" type="checkbox" ng-model="$ctrl.settings.auth_password_login_enabled"
|
|
ng-change="$ctrl.update('auth_password_login_enabled')" accesskey="tab">
|
|
Password Login Enabled
|
|
</label>
|
|
</p>
|
|
|
|
<h4>SAML</h4>
|
|
<p>
|
|
<label>
|
|
<input name="input" type="checkbox" ng-model="$ctrl.settings.auth_saml_enabled"
|
|
ng-change="$ctrl.update('auth_saml_enabled')" accesskey="tab">
|
|
SAML Enabled
|
|
</label>
|
|
|
|
<div ng-show="$ctrl.settings.auth_saml_enabled">
|
|
<div class="form-group">
|
|
<label>SAML Metadata URL</label>
|
|
<input name="input" type="string" class="form-control" ng-model="$ctrl.settings.auth_saml_metadata_url" accesskey="tab"
|
|
ng-change="$ctrl.update('auth_saml_metadata_url')" ng-model-options="{ debounce: 200 }">
|
|
</div>
|
|
<div class="form-group">
|
|
<label>SAML Entity ID</label>
|
|
<input name="input" type="string" class="form-control" ng-model="$ctrl.settings.auth_saml_entity_id" accesskey="tab"
|
|
ng-change="$ctrl.update('auth_saml_entity_id')" ng-model-options="{ debounce: 200 }">
|
|
</div>
|
|
<div class="form-group">
|
|
<label>SAML NameID Format</label>
|
|
<input name="input" type="string" class="form-control" ng-model="$ctrl.settings.auth_saml_nameid_format" accesskey="tab"
|
|
ng-change="$ctrl.update('auth_saml_nameid_format')" ng-model-options="{ debounce: 200 }">
|
|
</div>
|
|
</div>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</settings-screen>
|