Commit 44c68ede authored by Xiaowu Zhang's avatar Xiaowu Zhang Committed by Romain Courteaud

erp5_web_renderjs_ui: inline style is blocked by CSP

parent 39926539
...@@ -211,7 +211,7 @@ ...@@ -211,7 +211,7 @@
<script id="error-message-template" type="text/x-handlebars-template"> <script id="error-message-template" type="text/x-handlebars-template">
<div class="ui-listbox-error"> <div class="ui-listbox-error">
<a class="ui-btn ui-corner-all ui-btn-inline" href="{{reset_url}}"> <a class="ui-btn ui-corner-all ui-btn-inline" href="{{reset_url}}">
<span style="color:red" data-i18n="Invalid Search Criteria">Invalid Search Criteria</span> <span class='ui-info-error' data-i18n="Invalid Search Criteria">Invalid Search Criteria</span>
<span>-</span> <span>-</span>
<span data-i18n="Reset">Reset</span> <span data-i18n="Reset">Reset</span>
</a> </a>
......
...@@ -234,7 +234,7 @@ ...@@ -234,7 +234,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>967.44852.3400.7082</string> </value> <value> <string>966.44549.11438.13482</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -252,8 +252,8 @@ ...@@ -252,8 +252,8 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1528106932.21</float> <float>1523030835.06</float>
<string>UTC</string> <string>GMT+2</string>
</tuple> </tuple>
</state> </state>
</object> </object>
......
...@@ -448,6 +448,9 @@ iframe { ...@@ -448,6 +448,9 @@ iframe {
img { img {
image-orientation: from-image; image-orientation: from-image;
} }
.ui-info-error {
color: red;
}
/********************************************** /**********************************************
* Gadget: panel * Gadget: panel
**********************************************/ **********************************************/
......
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
<string>Associate</string> <string>Associate</string>
<string>Auditor</string> <string>Auditor</string>
<string>Manager</string> <string>Manager</string>
<string>Owner</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -58,6 +59,7 @@ ...@@ -58,6 +59,7 @@
<string>Associate</string> <string>Associate</string>
<string>Auditor</string> <string>Auditor</string>
<string>Manager</string> <string>Manager</string>
<string>Owner</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -195,7 +197,7 @@ ...@@ -195,7 +197,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1527842617.91</float> <float>1469697744.71</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
...@@ -240,7 +242,7 @@ ...@@ -240,7 +242,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>968.4008.27622.9574</string> </value> <value> <string>966.44071.41960.10069</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -258,8 +260,8 @@ ...@@ -258,8 +260,8 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1528376917.25</float> <float>1523030992.07</float>
<string>UTC</string> <string>GMT+2</string>
</tuple> </tuple>
</state> </state>
</object> </object>
......
...@@ -568,6 +568,10 @@ img { ...@@ -568,6 +568,10 @@ img {
} }
.ui-info-error {
color: red;
}
/********************************************** /**********************************************
* Gadget: panel * Gadget: panel
**********************************************/ **********************************************/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment