后台页面小bug修复

包括按钮的距离,模板的css等
This commit is contained in:
sxw
2015-08-07 19:46:46 +08:00
parent d5fe1a98dc
commit 324e72c231
4 changed files with 11 additions and 9 deletions

View File

@@ -25,3 +25,7 @@ img {
label { label {
font-size: 16px; font-size: 16px;
} }
[ms-controller] {
display: none
}

View File

@@ -84,7 +84,7 @@
<img src="/static/img/loading.gif" id="loading-gif"> <img src="/static/img/loading.gif" id="loading-gif">
<!-- custom body begin --> <!-- custom body begin -->
<div class='col-md-8' ms-include-src="template_url" data-include-rendered="hide_loading"></div> <div ms-include-src="template_url" data-include-rendered="hide_loading"></div>
<!-- custom body end --> <!-- custom body end -->
</div> </div>

View File

@@ -1,8 +1,7 @@
<style> [ms-controller] { <style> </style>
display: none
}</style> <div ms-controller="announcement" class="col-md-9">
<h1>Announcement</h1> <h1>Announcement</h1>
<div ms-controller="announcement">
<table class="table table-striped"> <table class="table table-striped">
<tr> <tr>
<th>编号</th> <th>编号</th>
@@ -45,7 +44,8 @@
<input type="checkbox" id="hidden"> <input type="checkbox" id="hidden">
</div> </div>
<div class="form-group"> <div class="form-group">
<button ms-click="submitChange()" class="btn btn-primary">提交</button><button ms-click="disEdit()" class="btn btn-danger">取消</button> <button ms-click="submitChange()" class="btn btn-primary">提交</button>&nbsp;&nbsp;
<button ms-click="disEdit()" class="btn btn-danger">取消</button>
</div> </div>
</div> </div>
<h3>添加公告</h3> <h3>添加公告</h3>

View File

@@ -1,6 +1,4 @@
<div ms-controller="add_contest"> <div ms-controller="add_contest">
<form id="add-contest-form"> <form id="add-contest-form">
<div class="col-md-9"> <div class="col-md-9">
<div class="col-md-12"> <div class="col-md-12">