add search

This commit is contained in:
avene 2018-05-12 17:44:07 +08:00
parent 5f8bfdf308
commit 597f8fe816
9 changed files with 36 additions and 18 deletions

View File

@ -13,9 +13,11 @@ $this->headLink()->appendStylesheet('/static-sanji-v2/css/header-position.css');
<div class="container">
<div class="col-sm-12">
<div class="form-group">
<input type="text" class="form-control" placeholder="搜素关键词">
<form action="/search" id="search-form">
<input type="text" name="q" id="q" class="form-control" placeholder="搜素关键词">
</form>
</div>
<i></i>
<i onclick="$('#search-form').submit()"></i>
</div>
</div>
</div>

View File

@ -13,9 +13,11 @@ $this->nav[] = array('link'=>"/data/browse",'title'=>'数据列表浏览');
<div class="container">
<div class="col-sm-12">
<div class="form-group">
<input type="text" class="form-control" placeholder="搜素关键词">
<form action="/search" id="search-form">
<input type="text" name="q" id="q" class="form-control" placeholder="搜素关键词">
</form>
</div>
<i></i>
<i onclick="$('#search-form').submit()"></i>
</div>
</div>
</div>

View File

@ -14,9 +14,11 @@ $this->headLink()->appendStylesheet('/static-sanji-v2/css/header-position.css');
<div class="container">
<div class="col-sm-12">
<div class="form-group">
<input type="text" class="form-control" placeholder="搜素关键词">
<form action="/search" id="search-form">
<input type="text" name="q" id="q" class="form-control" placeholder="搜素关键词">
</form>
</div>
<i></i>
<i onclick="$('#search-form').submit()"></i>
</div>
</div>
</div>

View File

@ -14,9 +14,11 @@ $this->headLink()->appendStylesheet('/static-sanji-v2/css/header-position.css');
<div class="container">
<div class="col-sm-12">
<div class="form-group">
<input type="text" class="form-control" placeholder="搜素关键词">
<form action="/search" id="search-form">
<input type="text" name="q" id="q" class="form-control" placeholder="搜素关键词">
</form>
</div>
<i></i>
<i onclick="$('#search-form').submit()"></i>
</div>
</div>
</div>

View File

@ -14,9 +14,11 @@ $this->nav[] = array('link'=>"/data/offlinelist",'title'=>'离线数据清单');
<div class="container">
<div class="col-sm-12">
<div class="form-group">
<input type="text" class="form-control" placeholder="搜素关键词">
<form action="/search" id="search-form">
<input type="text" name="q" id="q" class="form-control" placeholder="搜素关键词">
</form>
</div>
<i></i>
<i onclick="$('#search-form').submit()"></i>
</div>
</div>
</div>

View File

@ -14,9 +14,11 @@ $this->nav[] = array('link'=>"/data/onlinelist",'title'=>'在线数据清单');
<div class="container">
<div class="col-sm-12">
<div class="form-group">
<input type="text" class="form-control" placeholder="搜素关键词">
<form action="/search" id="search-form">
<input type="text" name="q" id="q" class="form-control" placeholder="搜素关键词">
</form>
</div>
<i></i>
<i onclick="$('#search-form').submit()"></i>
</div>
</div>
</div>

View File

@ -15,9 +15,11 @@ $this->headLink()->appendStylesheet('/static-sanji-v2/css/header-position.css');
<div class="container">
<div class="col-sm-12">
<div class="form-group">
<input type="text" class="form-control" placeholder="搜素关键词">
<form action="/search" id="search-form">
<input type="text" name="q" id="q" class="form-control" placeholder="搜素关键词">
</form>
</div>
<i></i>
<i onclick="$('#search-form').submit()"></i>
</div>
</div>
</div>

View File

@ -14,9 +14,11 @@ $this->theme->AppendPlus($this,'colorbox');
<div class="container">
<div class="col-sm-12">
<div class="form-group">
<input type="text" class="form-control" placeholder="搜素关键词">
<form action="/search" id="search-form">
<input type="text" name="q" id="q" class="form-control" placeholder="搜素关键词">
</form>
</div>
<i></i>
<i onclick="$('#search-form').submit()"></i>
</div>
</div>
</div>

View File

@ -12,9 +12,11 @@ $this->nav[] = array('link'=>"/data/thumb",'title'=>'缩略图浏览');
<div class="container">
<div class="col-sm-12">
<div class="form-group">
<input type="text" class="form-control" placeholder="搜素关键词">
<form action="/search" id="search-form">
<input type="text" name="q" id="q" class="form-control" placeholder="搜素关键词">
</form>
</div>
<i></i>
<i onclick="$('#search-form').submit()"></i>
</div>
</div>
</div>