Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Czołnowski <marcin@czolnowski.net>2014-08-03 22:53:24 +0400
committerMarcin Czołnowski <marcin@czolnowski.net>2014-08-03 22:53:24 +0400
commite82af4b680c00f0d148a0e52fd11baa826a4297c (patch)
tree2c7637eba2138b6db174aee43b3a022c7211daed /plugins/Morpheus
parent84b0c351265f9d961a39d694e6cc6db21f4316e4 (diff)
Add feature to persist cors hosts in config, edit in general settings tab and append to API headers if any is set.
Diffstat (limited to 'plugins/Morpheus')
-rw-r--r--plugins/Morpheus/stylesheets/general/_forms.less3
-rw-r--r--plugins/Morpheus/stylesheets/ui/_popups.less4
2 files changed, 4 insertions, 3 deletions
diff --git a/plugins/Morpheus/stylesheets/general/_forms.less b/plugins/Morpheus/stylesheets/general/_forms.less
index 2372f4d92b..bac73f074a 100644
--- a/plugins/Morpheus/stylesheets/general/_forms.less
+++ b/plugins/Morpheus/stylesheets/general/_forms.less
@@ -9,6 +9,7 @@ input:not([type="checkbox"]), select, textarea {
}
button,
.add-trusted-host,
+.add-cors-host,
input[type="submit"],
button[type="button"],
.submit {
@@ -295,4 +296,4 @@ label {
.small-form-description { // for tracking code generator
clear:both;
-} \ No newline at end of file
+}
diff --git a/plugins/Morpheus/stylesheets/ui/_popups.less b/plugins/Morpheus/stylesheets/ui/_popups.less
index 7cd8d6b1af..dc2b2140de 100644
--- a/plugins/Morpheus/stylesheets/ui/_popups.less
+++ b/plugins/Morpheus/stylesheets/ui/_popups.less
@@ -41,6 +41,6 @@ button.ui-state-default, .ui-widget-content button.ui-state-default, .ui-widget-
background: @color-silver-l90;
}
-button:hover, .add-trusted-host:hover, input[type="submit"]:hover, button[type="button"]:hover, .submit:hover {
+button:hover, .add-trusted-host:hover, .add-cors-host:hover, input[type="submit"]:hover, button[type="button"]:hover, .submit:hover {
background-color: @theme-color-brand !important;
-} \ No newline at end of file
+}