Commit 957455ed authored by Xiaowu Zhang's avatar Xiaowu Zhang

erp5_web_renderjs_ui: inline style is blocked by CSP

parent d61a7c44
...@@ -194,7 +194,7 @@ ...@@ -194,7 +194,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>965.63630.22597.59392</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>1520243676.37</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
**********************************************/ **********************************************/
......
...@@ -260,7 +260,7 @@ ...@@ -260,7 +260,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1523002193.07</float> <float>1523030992.07</float>
<string>GMT+2</string> <string>GMT+2</string>
</tuple> </tuple>
</state> </state>
......
...@@ -563,6 +563,10 @@ img { ...@@ -563,6 +563,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