修改操作表单对其

This commit is contained in:
fen 2013-10-13 10:44:27 +08:00
parent e7692f1fc8
commit df79ef4a3c
7 changed files with 24 additions and 36 deletions

View File

@ -173,6 +173,10 @@ button {
background-image: linear-gradient(#fcfcfc, #eeeeee);
}
.btn-s {
height: 28px;
}
button, .dropdown-menu {
border: 1px solid #bbbbbb;
border-bottom-color: #AAA;
@ -955,11 +959,14 @@ margin-top: 25px;
margin-bottom: 20px;
}
.typecho-list-operate input {
.typecho-list-operate input,
.typecho-list-operate button,
.typecho-list-operate select {
vertical-align: bottom;
}
.typecho-list-operate button {
height: 24px;
.typecho-list-operate input[type="checkbox"] {
vertical-align: text-top;
}
.typecho-list-operate .operate {
@ -971,31 +978,12 @@ margin-top: 25px;
}
.typecho-list-operate .search a.button {
float: right;
font-size: 13px;
padding: 2px 6px;
line-height: 20px;
}
.typecho-list-operate .operate a.button {
float: left;
padding: 2px 6px;
font-size: 13px;
line-height: 20px;
margin-right: 10px;
}
.typecho-list-operate span.operate-button {
cursor: pointer;
background: #BD6800;
color: #fff;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
-khtml-border-radius: 2px;
/* hope IE support border radius, God save me! */
border-radius: 2px;
padding: 3px;
}
.typecho-list-operate span.operate-delete, a.operate-delete {
@ -1065,11 +1053,11 @@ a.operate-reply {
border-top: 1px solid #F0F0EC;
}
/*.typecho-list-table tfoot td {
.typecho-list-table tfoot td {
border: none;
padding: 0;
height: 0;
}*/
}
.typecho-list-table td .thumb-box {
}

View File

@ -45,7 +45,7 @@ $comments = Typecho_Widget::widget('Widget_Comments_Admin');
<div class="operate">
<input type="checkbox" class="typecho-table-select-all" />
<div class="btn-group btn-drop">
<button class="dropdown-toggle" type="button" href="">选中项 &nbsp;<i class="icon-caret-down"></i></button>
<button class="dropdown-toggle btn-s" type="button" href="">选中项 &nbsp;<i class="icon-caret-down"></i></button>
<ul class="dropdown-menu">
<li><a href="<?php $options->index('/action/comments-edit?do=approved'); ?>"><?php _e('通过'); ?></a></li>
<li><a href="<?php $options->index('/action/comments-edit?do=waiting'); ?>"><?php _e('待审核'); ?></a></li>
@ -71,7 +71,7 @@ $comments = Typecho_Widget::widget('Widget_Comments_Admin');
<?php if(isset($request->cid)): ?>
<input type="hidden" value="<?php echo htmlspecialchars($request->get('cid')); ?>" name="cid" />
<?php endif; ?>
<button type="submit"><?php _e('筛选'); ?></button>
<button type="submit" class="btn-s"><?php _e('筛选'); ?></button>
</div>
</form>
</div>

View File

@ -18,7 +18,7 @@ $stat = Typecho_Widget::widget('Widget_Stat');
<div class="operate">
<input type="checkbox" class="typecho-table-select-all" />
<div class="btn-group btn-drop">
<button class="dropdown-toggle" type="button" href="">选中项 &nbsp;<i class="icon-caret-down"></i></button>
<button class="dropdown-toggle btn-s" type="button" href="">选中项 &nbsp;<i class="icon-caret-down"></i></button>
<ul class="dropdown-menu">
<li><a lang="<?php _e('你确认要删除这些附件吗?'); ?>" href="<?php $options->index('/action/contents-attachment-edit?do=delete'); ?>"><?php _e('删除'); ?></a></li>
</ul>
@ -29,7 +29,7 @@ $stat = Typecho_Widget::widget('Widget_Stat');
<a href="<?php $options->adminUrl('manage-medias.php'); ?>"><?php _e('&laquo; 取消筛选'); ?></a>
<?php endif; ?>
<input type="text" class="text-s" placeholder="<?php _e('请输入关键字'); ?>" value="<?php echo htmlspecialchars($request->keywords); ?>"<?php if ('' == $request->keywords): ?> onclick="value='';name='keywords';" <?php else: ?> name="keywords"<?php endif; ?>/>
<button type="submit"><?php _e('筛选'); ?></button>
<button type="submit" class="btn-s"><?php _e('筛选'); ?></button>
</div>
</form>
</div>

View File

@ -23,7 +23,7 @@ include 'menu.php';
<div class="operate">
<input type="checkbox" class="typecho-table-select-all" />
<div class="btn-group btn-drop">
<button class="dropdown-toggle" type="button" href="">选中项 &nbsp;<i class="icon-caret-down"></i></button>
<button class="dropdown-toggle btn-s" type="button" href="">选中项 &nbsp;<i class="icon-caret-down"></i></button>
<ul class="dropdown-menu">
<li><a lang="<?php _e('此分类下的所有内容将被删除, 你确认要删除这些分类吗?'); ?>" href="<?php $options->index('/action/metas-category-edit?do=delete'); ?>"><?php _e('删除'); ?></a></li>
<li><a lang="<?php _e('刷新分类可能需要等待较长时间, 你确认要刷新这些分类吗?'); ?>" href="<?php $options->index('/action/metas-category-edit?do=refresh'); ?>"><?php _e('刷新'); ?></a></li>
@ -89,7 +89,7 @@ include 'menu.php';
<div class="operate">
<input type="checkbox" class="typecho-table-select-all" />
<div class="btn-group btn-drop">
<button class="dropdown-toggle" type="button" href="">选中项 &nbsp;<i class="icon-caret-down"></i></button>
<button class="dropdown-toggle btn-s" type="button" href="">选中项 &nbsp;<i class="icon-caret-down"></i></button>
<ul class="dropdown-menu">
<li><a lang="<?php _e('此标签下的所有内容将被删除, 你确认要删除这些标签吗?'); ?>" href="<?php $options->index('/action/metas-tag-edit?do=delete'); ?>"><?php _e('删除'); ?></a></li>
<li><a lang="<?php _e('刷新标签可能需要等待较长时间, 你确认要刷新这些标签吗?'); ?>" href="<?php $options->index('/action/metas-tag-edit?do=refresh'); ?>"><?php _e('刷新'); ?></a></li>

View File

@ -15,7 +15,7 @@ $stat = Typecho_Widget::widget('Widget_Stat');
<div class="operate">
<input type="checkbox" class="typecho-table-select-all" />
<div class="btn-group btn-drop">
<button class="dropdown-toggle" type="button" href="">选中项 &nbsp;<i class="icon-caret-down"></i></button>
<button class="dropdown-toggle btn-s" type="button" href="">选中项 &nbsp;<i class="icon-caret-down"></i></button>
<ul class="dropdown-menu">
<li><a lang="<?php _e('你确认要删除这些页面吗?'); ?>" href="<?php $options->index('/action/contents-page-edit?do=delete'); ?>"><?php _e('删除'); ?></a></li>
</ul>
@ -26,7 +26,7 @@ $stat = Typecho_Widget::widget('Widget_Stat');
<a href="<?php $options->adminUrl('manage-pages.php'); ?>"><?php _e('&laquo; 取消筛选'); ?></a>
<?php endif; ?>
<input type="text" class="text-s" placeholder="<?php _e('请输入关键字'); ?>" value="<?php echo htmlspecialchars($request->keywords); ?>" name="keywords" />
<button type="submit"><?php _e('筛选'); ?></button>
<button type="submit" class="btn-s"><?php _e('筛选'); ?></button>
</div>
</form>
</div>

View File

@ -15,7 +15,7 @@ $stat = Typecho_Widget::widget('Widget_Stat');
<div class="operate">
<input type="checkbox" class="typecho-table-select-all" />
<div class="btn-group btn-drop">
<button class="dropdown-toggle" type="button" href="">选中项 &nbsp;<i class="icon-caret-down"></i></button>
<button class="dropdown-toggle btn-s" type="button" href="">选中项 &nbsp;<i class="icon-caret-down"></i></button>
<ul class="dropdown-menu">
<li><a lang="<?php _e('你确认要删除这些文章吗?'); ?>" href="<?php $options->index('/action/contents-post-edit?do=delete'); ?>"><?php _e('删除'); ?></a></li>
</ul>
@ -33,7 +33,7 @@ $stat = Typecho_Widget::widget('Widget_Stat');
<option value="<?php $category->mid(); ?>"<?php if($request->get('category') == $category->mid): ?> selected="true"<?php endif; ?>><?php $category->name(); ?></option>
<?php endwhile; ?>
</select>
<button type="submit"><?php _e('筛选'); ?></button>
<button type="submit" class="btn-s"><?php _e('筛选'); ?></button>
<?php if(isset($request->uid)): ?>
<input type="hidden" value="<?php echo htmlspecialchars($request->get('uid')); ?>" name="uid" />
<?php endif; ?>

View File

@ -13,7 +13,7 @@ include 'menu.php';
<div class="operate">
<input type="checkbox" class="typecho-table-select-all" />
<div class="btn-group btn-drop">
<button class="dropdown-toggle" type="button" href="">选中项 &nbsp;<i class="icon-caret-down"></i></button>
<button class="dropdown-toggle btn-s" type="button" href="">选中项 &nbsp;<i class="icon-caret-down"></i></button>
<ul class="dropdown-menu">
<li><a lang="<?php _e('你确认要删除这些用户吗?'); ?>" href="<?php $options->index('/action/users-edit?do=delete'); ?>"><?php _e('删除'); ?></a></li>
</ul>
@ -24,7 +24,7 @@ include 'menu.php';
<a href="<?php $options->adminUrl('manage-users.php'); ?>"><?php _e('&laquo; 取消筛选'); ?></a>
<?php endif; ?>
<input type="text" class="text-s" placeholder="<?php _e('请输入关键字'); ?>" value="<?php echo htmlspecialchars($request->keywords); ?>" name="keywords" />
<button type="submit"><?php _e('筛选'); ?></button>
<button type="submit" class="btn-s"><?php _e('筛选'); ?></button>
</div>
</form>
</div>