fix style
This commit is contained in:
parent
3112792b7b
commit
7d14ce98e1
@ -189,7 +189,7 @@ class MyIdMenu: Reactor.Component {
|
|||||||
var old_value = handler.get_option("whitelist").split(",").join("\n");
|
var old_value = handler.get_option("whitelist").split(",").join("\n");
|
||||||
msgbox("custom-whitelist", translate("IP Whitelisting"), "<div .form> \
|
msgbox("custom-whitelist", translate("IP Whitelisting"), "<div .form> \
|
||||||
<div>" + translate("whitelist_sep") + "</div> \
|
<div>" + translate("whitelist_sep") + "</div> \
|
||||||
<textarea spellcheck=\"false\" name=\"text\" novalue=\"0.0.0.0\" style=\"overflow: scroll-indicator; width:*; height: 160px; font-size: 1.2em; padding: 0.5em;\">" + old_value + "</textarea>\
|
<textarea spellcheck=\"false\" name=\"text\" novalue=\"0.0.0.0\" style=\"overflow: scroll-indicator; width:*; height: 140px; font-size: 1.2em; padding: 0.5em;\">" + old_value + "</textarea>\
|
||||||
</div> \
|
</div> \
|
||||||
", function(res=null) {
|
", function(res=null) {
|
||||||
if (!res) return;
|
if (!res) return;
|
||||||
|
@ -42,7 +42,7 @@ class MsgboxComponent: Reactor.Component {
|
|||||||
if (this.type.indexOf("error") >= 0 || this.type == "re-input-password") {
|
if (this.type.indexOf("error") >= 0 || this.type == "re-input-password") {
|
||||||
return <svg viewBox="0 0 512 512"><ellipse cx="256" cy="256" rx="256" ry="255.832" fill={color}/><g fill="#fff"><path d="M376.812 337.18l-39.592 39.593-201.998-201.999 39.592-39.592z"/><path d="M376.818 174.825L174.819 376.824l-39.592-39.592 201.999-201.999z"/></g></svg>;
|
return <svg viewBox="0 0 512 512"><ellipse cx="256" cy="256" rx="256" ry="255.832" fill={color}/><g fill="#fff"><path d="M376.812 337.18l-39.592 39.593-201.998-201.999 39.592-39.592z"/><path d="M376.818 174.825L174.819 376.824l-39.592-39.592 201.999-201.999z"/></g></svg>;
|
||||||
}
|
}
|
||||||
return <span />;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
function getInputPasswordContent() {
|
function getInputPasswordContent() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user