[enh] proper style for sql bck and sql restaure, + remove ui issue with browseforfolder buttons

This commit is contained in:
Benjamin Sonntag 2017-10-07 18:45:08 +02:00
parent c4da8edf90
commit 79c3058e61
3 changed files with 5 additions and 4 deletions

View File

@ -114,7 +114,4 @@ __("You currently have no database defined");
echo "</p>"; echo "</p>";
} }
?> ?>
<script type="text/javascript">
document.forms['main'].bck_mode.focus();
</script>
<?php include_once("foot.php"); ?> <?php include_once("foot.php"); ?>

View File

@ -61,7 +61,8 @@ echo "</p>";
<?php csrf_get(); ?> <?php csrf_get(); ?>
<input type="hidden" name="id" value="<?php ehe($id); ?>" /> <input type="hidden" name="id" value="<?php ehe($id); ?>" />
<p><label for="restfile"><?php __("Please enter the path and the filename containing SQL data to be restored."); ?></label></p> <p><label for="restfile"><?php __("Please enter the path and the filename containing SQL data to be restored."); ?></label></p>
<p><input type="text" class="int" id="restfile" name="restfile" size="35" maxlength="255" value="<?php ehe($filename); ?>" /> <input class="inb" type="submit" name="submit" onClick='return restfilenotempty();' value="<?php __("Restore my database"); ?>" /><i><?php __("Tip: you can restore a file directly in the File Browser");?></i></p> <p><input type="text" class="int" id="restfile" name="restfile" size="35" maxlength="255" value="<?php ehe($filename); ?>" /> <input class="inb" type="submit" name="submit" onClick='return restfilenotempty();' value="<?php __("Restore my database"); ?>" /><i>
<br /><?php __("Tip: you can restore a file directly in the File Browser");?></i></p>
</form> </form>
<script type="text/javascript"> <script type="text/javascript">
function restfilenotempty() { function restfilenotempty() {

View File

@ -136,6 +136,9 @@ pre {
vertical-align: middle; vertical-align: middle;
line-height: 15px; line-height: 15px;
} }
input.ui-state-hover {
font-weight: normal;
}
span.inb { span.inb {
display: inline-block; display: inline-block;