Move submit button to right of password in user.php.

This commit is contained in:
Retro_Guy 2024-11-20 11:03:59 -07:00
parent dcb7486cba
commit 7c8fb7125f
2 changed files with 21 additions and 9 deletions

View File

@ -1671,6 +1671,18 @@ td.config_table_row_alt {
font-size: 0.7em;
}
tr.config_table_row_submit,
td.config_table_row_submit {
padding-left: 3px;
padding-top: 6px;
padding-right: 0px;
padding-bottom: 6px;
background: var(--color-light);
margin: 0px;
color: var(--color-text);
font-size: 0.8em;
}
/* search.php */
.search_form_table {

View File

@ -558,15 +558,15 @@ if (isset($_REQUEST['command']) && $_REQUEST['command'] == 'Configuration') {
* echo '</tr>';
*/
// Password confirmation
echo '<tr class="config_table_row_alt">';
echo '<td class="config_table_row_alt" style="word-wrap:break-word";><h3>Current password: </h3><h4>(required)</h4>';
echo '<input name="confirm_password" type="password" id="confirm_password" maxlength="40"></td>';
echo '</tr>';
echo '<tr class="config_table_row"><td class="config_table_row">';
echo '</td></tr>';
echo '<tr class="config_table_row">';
echo '<td class="config_table_row" style="word-wrap:break-word";>';
echo '<button class="np_button_link" type="submit">Save Configuration</button>';
echo '<tr class="config_table_row_submit">';
echo '<td class="config_table_row_submit" style="word-wrap:break-word";><h3>Current password: </h3><h4>(required)</h4>';
echo '<input name="confirm_password" type="password" id="confirm_password" maxlength="40">';
// echo '</tr>';
// echo '<tr class="config_table_row_alt"><td class="config_table_row_alt">';
// echo '</td></tr>';
// echo '<tr class="config_table_row_submit">';
// echo '<td class="config_table_row_submit" style="word-wrap:break-word";>';
echo '&nbsp;<button class="np_button_link" type="submit">Save Configuration</button>';
echo '<a href="' . $_SERVER['PHP_SELF'] . '">Cancel</a>';
echo '</td></tr>';
echo '<input name="command" type="hidden" id="command" value="SaveConfig" readonly="readonly">';