js与css部分的修改

This commit is contained in:
hohoTT 2015-08-15 19:49:58 +08:00
parent b4d70d8ebd
commit e3756328af
4 changed files with 9 additions and 5 deletions

View File

@ -32,4 +32,8 @@ label {
.right{
float: right;
}
.CodeMirror pre {
font-family: "Consolas","Bitstream Vera Sans Mono","Courier New", Courier, monospace !important;
}

View File

@ -5,7 +5,7 @@
<form class="form-inline" onsubmit="return false;">
<div class="form-group-sm">
<label>搜索</label>
<input name="keyWord" class="form-control" placeholder="请输入关键词" ms-duplex="keyWord">
<input name="keyword" class="form-control" placeholder="请输入关键词" ms-duplex="keyword">
<input type="submit" value="搜索" class="btn btn-primary" ms-click="search()">
</div>
</form>

View File

@ -27,20 +27,20 @@
</div>
{% for item in samples %}
<div class="problem-section">
<label class="problem-label">样例输入1</label>
<label class="problem-label">样例输入{{ forloop.counter }}</label>
<pre>
{{ item.input }}</pre>
</div>
<div class="problem-section">
<label class="problem-label">样例输出1</label>
<label class="problem-label">样例输出{{ forloop.counter }}</label>
<pre>
{{ item.output }}</pre>
</div>
{% endfor %}
<div>
<button type="button" id="show-more-btn" class="btn btn-info btn-sm">查看隐藏信息</button>
<button type="button" id="show-more-btn" class="btn btn-default btn-sm">查看隐藏信息</button>
</div>
{% if problem.hint %}
<div class="problem-section hide">

View File

@ -5,7 +5,7 @@
<div class="row">
<div class="col-lg-9">
<div class="row">
<div class="search-box">
<div class="right">
<form class="form-inline" onsubmit="return false;">
<div class="form-group-sm">
<input name="keyWord" class="form-control" placeholder="请输入关键词" ms-duplex="key_word">