tweaked style of options

This commit is contained in:
printempw 2016-04-03 13:29:54 +08:00
parent 1b1dff7863
commit 456372d085
2 changed files with 11 additions and 5 deletions

View File

@ -3,7 +3,7 @@
* @Author: printempw
* @Date: 2016-03-18 22:50:25
* @Last Modified by: printempw
* @Last Modified time: 2016-04-03 11:12:00
* @Last Modified time: 2016-04-03 13:26:36
*/
require "../libraries/session.inc.php";
if (!$user->is_admin) Utils::redirect('../index.php?msg=看起来你并不是管理员');
@ -77,9 +77,13 @@ $db = new Database\Database('users');
</td>
</tr>
<tr data-toggle="tooltip" data-placement="bottom" title="PHP 限制:<?php echo ini_get('post_max_size'); ?>,定义在 php.ini 中。">
<td class="key">最大允许上传大小KB</td>
<td class="key">最大允许上传大小</td>
<td class="value">
<input type="text" class="form-control" name="upload_max_size" value="<?php echo Option::get('upload_max_size'); ?>">
<div class="input-group">
<input type="text" class="form-control" name="upload_max_size" value="<?php echo Option::get('upload_max_size'); ?>">
<span class="input-group-addon">KB</span>
</div>
</td>
</tr>
<tr>

View File

@ -2,7 +2,7 @@
* @Author: printempw
* @Date: 2016-02-04 16:47:54
* @Last Modified by: printempw
* @Last Modified time: 2016-04-03 11:21:29
* @Last Modified time: 2016-04-03 13:29:12
*/
body, .ply-layer {
@ -13,7 +13,6 @@ body, .ply-layer {
}
input {
width: 100%;
margin: 10px 0 20px;
}
input[type=checkbox] {
width: initial;
@ -27,6 +26,9 @@ label {
.key {
vertical-align: middle !important;
}
.value {
width: 70%;
}
.value > input {
margin: 0 !important;
}