Create mo file update, basic edit css/javascript updates

This commit is contained in:
Clemens Schwaighofer
2022-10-25 16:48:34 +09:00
parent bc8303fe5f
commit 2a3798c8c2
4 changed files with 39 additions and 35 deletions

View File

@@ -159,9 +159,9 @@ input[type="text"]:focus, textarea:focus, select:focus {
text-align: center;
}
.warning {
border: 1px solid #df7700;
color: #d57200;
.warning, .warn {
border: 1px solid #ffa947;
color: #ffa947;
margin: 5px;
padding: 2px;
text-align: center;
@@ -181,8 +181,8 @@ input[type="text"]:focus, textarea:focus, select:focus {
margin-top: 1px;
}
.div_warning {
border: 1px solid #df7700;
.div_warning, .div_warn {
border: 1px solid #ffa947;
}
/* borders */

View File

@@ -974,7 +974,7 @@ function phfo(tree)
if (tree.id) {
line += ' id="' + tree.id + '"';
// if anything input (input, textarea, select then add name too)
if (['input', 'textarea', 'select'].includes(tree.tag)) {
if (['input', 'textarea', 'select', 'button'].includes(tree.tag)) {
line += ' name="' + (tree.name ? tree.name : tree.id) + '"';
}
}