Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
phachon committed Jul 18, 2018
1 parent 61bf9dc commit c55d20a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
2 changes: 2 additions & 0 deletions static/css/dashboard.css
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,8 @@ body {
-o-transition: all 0.2s ease;
transition: all 0.2s ease;
background: #777;
/*box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);*/
box-shadow: 3px 4px 5px rgba(0, 0, 0, 0.22);
}

.widget .tag-cloud a:hover {
Expand Down
13 changes: 10 additions & 3 deletions views/layouts/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,16 @@
</ul>
</div>
<div id="navbar" class="navbar-collapse collapse">
<form class="navbar-form navbar-left">
<form class="navbar-form navbar-left" action="#" method="post">
<div class="form-group has-feedback">
<i class="glyphicon glyphicon-search form-control-feedback" style="line-height: 32px;"></i>
<input class="form-control input-sm" type="text" placeholder="输入文档名搜索..." style="padding-right: 28px;width: 280px">
{{/*<i class="glyphicon glyphicon-search form-control-feedback" style="line-height: 32px;"></i>*/}}
<div class="input-group input-group-sm">
<input class="form-control input-sm" type="text" placeholder="输入文档名搜索..." style="width: 280px">
<span class="input-group-btn">
<button class="btn btn-primary" type="button" name="search"><i class="fa fa-search"></i></button>
</span>
</div>
{{/*<input class="form-control input-sm" type="text" placeholder="输入文档名搜索..." style="padding-right: 28px;width: 280px">*/}}
</div>
&nbsp;
<div class="btn-group btn-group-sm" role="group">
Expand Down Expand Up @@ -61,6 +67,7 @@
if (self != top) {
parent.location.href = '/'
}
Layers.bindIframe("button[name='search']", "搜索文档", "425px", "800px");
Layers.bindIframe("a[name='repass']", "修改密码", "325px", "800px");
Layers.bindIframe("a[name='about']", "关于MM-Wiki", "315px", "500px");
</script>

0 comments on commit c55d20a

Please sign in to comment.