diff options
author | Stefan Giehl <stefan@piwik.org> | 2018-07-25 22:09:18 +0300 |
---|---|---|
committer | diosmosis <diosmosis@users.noreply.github.com> | 2018-07-25 22:09:18 +0300 |
commit | ef9c48cc48587776107b1500dc14eef3ffa19154 (patch) | |
tree | cbf32df66ecef4c6c30f0ce1a3ba91d1a272e6ad /plugins/CorePluginsAdmin | |
parent | 7230b6d2173ee9f9f9237f71f3ca44c97be143c2 (diff) |
Make CORS domains configurable in UI (#13174)
* Make CORS domain configureable in UI
* Move trusted host settings to SystemSettings class
* Use unique id for pluginSettings
* Improve styling
* Improve help text
* improve code & naming
* Implements new UI field array type
* review adjustments
* reorganize form demo
* update UI files
* update system test files
* Improve handling of Config Settings
Diffstat (limited to 'plugins/CorePluginsAdmin')
-rw-r--r-- | plugins/CorePluginsAdmin/angularjs/form-field/field-field-array.html | 8 | ||||
-rw-r--r-- | plugins/CorePluginsAdmin/angularjs/plugin-settings/plugin-settings.directive.html | 2 |
2 files changed, 9 insertions, 1 deletions
diff --git a/plugins/CorePluginsAdmin/angularjs/form-field/field-field-array.html b/plugins/CorePluginsAdmin/angularjs/form-field/field-field-array.html new file mode 100644 index 0000000000..ba0b58ad10 --- /dev/null +++ b/plugins/CorePluginsAdmin/angularjs/form-field/field-field-array.html @@ -0,0 +1,8 @@ +<div> + <div matomo-field-array + name="{{ formField.name }}" + ng-model="formField.value" + field="formField.uiControlAttributes.field"> + </div> + <label for="{{ formField.name }}" ng-bind-html="formField.title"></label> +</div>
\ No newline at end of file diff --git a/plugins/CorePluginsAdmin/angularjs/plugin-settings/plugin-settings.directive.html b/plugins/CorePluginsAdmin/angularjs/plugin-settings/plugin-settings.directive.html index 087426566f..6f77711ecc 100644 --- a/plugins/CorePluginsAdmin/angularjs/plugin-settings/plugin-settings.directive.html +++ b/plugins/CorePluginsAdmin/angularjs/plugin-settings/plugin-settings.directive.html @@ -2,7 +2,7 @@ <div ng-repeat="settings in pluginSettings.settingsPerPlugin" class="card" - id="pluginSettings"> + id="{{ settings.pluginName }}PluginSettings"> <div class="card-content"> <h2 id="{{ settings.pluginName }}" class="card-title">{{ settings.title }}</h2> |