后台搜索框按钮换行修改

This commit is contained in:
Cui Xin 2014-09-23 13:50:03 +00:00
parent baefb056ca
commit e10faff768
37 changed files with 51 additions and 52 deletions

View File

@ -32,7 +32,7 @@
<a class="btn btn-primary btn-sm" href="attachments/search/my">查看我的附件</a> <a class="btn btn-primary btn-sm" href="attachments/search/my">查看我的附件</a>
</div> </div>
<div class="input-group form-group" id="datalist"> <div class="input-group form-group" id="datalist">
<form action="" method="get" class="search_form"> <form action="" method="get" class="search_form input-group">
<input class="form-control" type="text" name="keyword" value="<?php echo $this->keyword; ?>" placeholder="搜索关键字" /> <input class="form-control" type="text" name="keyword" value="<?php echo $this->keyword; ?>" placeholder="搜索关键字" />
<input type="hidden" name="search" value='1' /> <input type="hidden" name="search" value='1' />
<span class="input-group-btn"><button class="btn btn-default" type="submit" class="searchbtn" >搜索</button></span> <span class="input-group-btn"><button class="btn btn-default" type="submit" class="searchbtn" >搜索</button></span>

View File

@ -27,7 +27,7 @@
<a class="btn btn-primary btn-sm" href="/admin/data/author/ac/datas">所有数据</a> <a class="btn btn-primary btn-sm" href="/admin/data/author/ac/datas">所有数据</a>
</div> </div>
<div class="input-group form-group"> <div class="input-group form-group">
<form id="datasearch" class="search_form" action="/admin/data/author/ac/datas"> <form id="datasearch" class="search_form input-group" action="/admin/data/author/ac/datas">
<input type="text" id="keyword" name="q" value="<?php if(!empty($this->q)) echo $this->q; ?>" class="form-control" placeholder="搜索关键字" /> <input type="text" id="keyword" name="q" value="<?php if(!empty($this->q)) echo $this->q; ?>" class="form-control" placeholder="搜索关键字" />
<span class="input-group-btn"><button type="submit" class="btn btn-default" id="search_btn">搜索</button></span> <span class="input-group-btn"><button type="submit" class="btn btn-default" id="search_btn">搜索</button></span>
</form> </form>

View File

@ -25,7 +25,7 @@
<a class="btn btn-primary" href="/admin/data/author/ac/datas">所有数据</a> <a class="btn btn-primary" href="/admin/data/author/ac/datas">所有数据</a>
</div> </div>
<div class="input-group form-group"> <div class="input-group form-group">
<form id="datasearch" class="search_form" action="/admin/data/author/ac/list"> <form id="datasearch" class="search_form input-group" action="/admin/data/author/ac/list">
<input type="text" id="keyword" name="q" value="<?php if(!empty($this->q)) echo $this->q; ?>" class="form-control" placeholder="搜索关键字" /> <input type="text" id="keyword" name="q" value="<?php if(!empty($this->q)) echo $this->q; ?>" class="form-control" placeholder="搜索关键字" />
<span class="input-group-btn"><button type="submit" class="btn btn-default" id="search_btn">搜索</button></span> <span class="input-group-btn"><button type="submit" class="btn btn-default" id="search_btn">搜索</button></span>
</form> </form>

View File

@ -27,7 +27,7 @@
<a class="btn btn-primary btn-sm" href="/admin/data/author/ac/datas">所有数据</a> <a class="btn btn-primary btn-sm" href="/admin/data/author/ac/datas">所有数据</a>
</div> </div>
<div class="input-group form-group"> <div class="input-group form-group">
<form id="datasearch" class="search_form" action="/admin/data/author"> <form id="datasearch" class="search_form input-group" action="/admin/data/author">
<input type="text" id="keyword" name="q" value="<?php if(!empty($this->q)) echo $this->q; ?>" class="form-control" placeholder="搜索关键字" /> <input type="text" id="keyword" name="q" value="<?php if(!empty($this->q)) echo $this->q; ?>" class="form-control" placeholder="搜索关键字" />
<span class="input-group-btn"><button type="submit" class="btn btn-default" id="search_btn">搜索</button></span> <span class="input-group-btn"><button type="submit" class="btn btn-default" id="search_btn">搜索</button></span>
</form> </form>

View File

@ -23,7 +23,7 @@
</ul> </ul>
</div> </div>
<div class="input-group form-group"> <div class="input-group form-group">
<form id="datasearch" class="search_form" action=""> <form id="datasearch" class="search_form input-group" action="">
<input type="text" id="keyword" name="q" value="<?php if(!empty($this->q)) echo $this->q; ?>" class="form-control" placeholder="搜索关键字" /> <input type="text" id="keyword" name="q" value="<?php if(!empty($this->q)) echo $this->q; ?>" class="form-control" placeholder="搜索关键字" />
<span class="input-group-btn"><button class="btn btn-default" type="submit" id="search_btn">搜索</button></span> <span class="input-group-btn"><button class="btn btn-default" type="submit" id="search_btn">搜索</button></span>
</form> </form>

View File

@ -22,7 +22,7 @@ table thead tr th {background:#EBF2F6;}
</div> </div>
<div class="input-group form-group"> <div class="input-group form-group">
<form id="datasearch" class="search_form" action=""> <form id="datasearch" class="search_form input-group" action="">
<input class="form-control" type="text" id="keyword" name="q" value="<?php if(!empty($this->q)) echo $this->q; ?>" /> <input class="form-control" type="text" id="keyword" name="q" value="<?php if(!empty($this->q)) echo $this->q; ?>" />
<span class="input-group-btn"><button type="submit" class="btn btn-default" id="search_btn">搜索</button></span> <span class="input-group-btn"><button type="submit" class="btn btn-default" id="search_btn">搜索</button></span>
</form> </form>

View File

@ -24,8 +24,8 @@ table thead tr th {background:#EBF2F6;}
</div> </div>
<div> <div>
<div class="input-group form-group"> <div class="input-group form-group">
<form id="datasearch" class="search_form" action=""> <form id="datasearch" class="search_form input-group" action="">
<input class="form-control" type="text" id="keyword" name="q" value="<?php if(!empty($this->q)) echo $this->q; ?>" /> <input class="form-control" type="text" id="keyword" name="q" value="<?php if(!empty($this->q)) echo $this->q; ?>" placeholder="搜索关键字" />
<input type="hidden" name="order" value="<?php if(!empty($this->search_order)) echo $this->search_order; ?>" /> <input type="hidden" name="order" value="<?php if(!empty($this->search_order)) echo $this->search_order; ?>" />
<input type="hidden" name="sort" value="<?php if(!empty($this->search_sort)) echo $this->search_sort; ?>" /> <input type="hidden" name="sort" value="<?php if(!empty($this->search_sort)) echo $this->search_sort; ?>" />
<span class="input-group-btn"><button type="submit" class="btn btn-default" id="search_btn">搜索</button></span> <span class="input-group-btn"><button type="submit" class="btn btn-default" id="search_btn">搜索</button></span>

View File

@ -30,7 +30,7 @@
<!-- <div class="right_title">元数据管理</div> --> <!-- <div class="right_title">元数据管理</div> -->
<div class="input-group form-group"> <div class="input-group form-group">
<form action="" method="get" class="search_form"> <form action="" method="get" class="search_form input-group">
<input class="form-control" type="text" name="keyword" value="<?php echo $this->keyword; ?>" placeholder="搜索关键字" /> <input class="form-control" type="text" name="keyword" value="<?php echo $this->keyword; ?>" placeholder="搜索关键字" />
<input type="hidden" name="search" value="1"/> <input type="hidden" name="search" value="1"/>
<span class="input-group-btn"><button class="btn btn-default" value="搜索">搜索</button></span> <span class="input-group-btn"><button class="btn btn-default" value="搜索">搜索</button></span>
@ -43,9 +43,8 @@
<?php foreach ($this->paginator as $item): ?> <?php foreach ($this->paginator as $item): ?>
<li class="well well-sm"> <li class="well well-sm">
<h4><a href="/data/<?= $item['uuid']; ?>" class="title"><?= $item['title']; ?></a></h4> <h4><a href="/data/<?= $item['uuid']; ?>" class="title"><?= $item['title']; ?></a></h4>
<p>大小:<?= $item['filesize']; ?>M创建时间<?= date('Y-m-d',strtotime($item['ts_created'])); ?>,查看:<?= $item['viewed']; ?>次。</p> <p>大小:<?= $item['filesize']; ?>M创建时间<?= date('Y-m-d',strtotime($item['ts_created'])); ?>,查看:<?= $item['viewed']; ?>次。</p> <p>
<p> 操作:
操作:
<?php if ($item['gid']>0) : ?> <?php if ($item['gid']>0) : ?>
<a class="label label-primary" href="/service/geonetwork?url=metadata.edit?id=<?= $item['gid']; ?>" target="_blank">编辑</a> <a class="label label-primary" href="/service/geonetwork?url=metadata.edit?id=<?= $item['gid']; ?>" target="_blank">编辑</a>
<?php endif; ?> <?php endif; ?>

View File

@ -29,8 +29,8 @@
</div> </div>
<div id="datalist" class="input-group form-group"> <div id="datalist" class="input-group form-group">
<h2>根据已有数据创建元数据</h2> <h2>根据已有数据创建元数据</h2>
<form id="datasearch" class="search_form" action="/admin/data/newdata/ac/add-by-data"> <form id="datasearch" class="search_form input-group" action="/admin/data/newdata/ac/add-by-data">
<input class="form-control" type="text" id="keyword" name="q" value="<?php if(!empty($this->q)) echo $this->q; ?>" /> <input class="form-control" type="text" id="keyword" name="q" value="<?php if(!empty($this->q)) echo $this->q; ?>" placeholder="搜索关键字"/>
<span class="input-group-btn"><button type="submit" class="btn btn-default" id="search_btn">搜索</button></span> <span class="input-group-btn"><button type="submit" class="btn btn-default" id="search_btn">搜索</button></span>
</form> </form>
<?php <?php

View File

@ -29,8 +29,8 @@ $this->breadcrumb()->setSeparator(' > ');
</div> </div>
<div id="datalist" class="input-group form-group"> <div id="datalist" class="input-group form-group">
<h2>根据预制元数据模板创建数据</h2> <h2>根据预制元数据模板创建数据</h2>
<form id="datasearch" class="search_form" action="/admin/data/newdata/ac/add-by-template"> <form id="datasearch" class="search_form input-group" action="/admin/data/newdata/ac/add-by-template">
<input class="form-control" type="text" id="keyword" name="q" value="<?php if(!empty($this->q)) echo $this->q; ?>" /> <input class="form-control" type="text" id="keyword" name="q" value="<?php if(!empty($this->q)) echo $this->q; ?>" placeholder="搜索关键字"/>
<span class="input-group-btn"><button type="submit" class="btn btn-default" id="search_btn">搜索</button></span> <span class="input-group-btn"><button type="submit" class="btn btn-default" id="search_btn">搜索</button></span>
</form> </form>
<?php <?php

View File

@ -22,7 +22,7 @@
<div class="col-md-10 col-sm-12"> <div class="col-md-10 col-sm-12">
<?php if(!empty($this->searchLink)){ ?> <?php if(!empty($this->searchLink)){ ?>
<div class="input-group form-group"> <div class="input-group form-group">
<form id="datasearch" class="search_form" action="<?= $this->searchLink ?>"> <form id="datasearch" class="search_form input-group" action="<?= $this->searchLink ?>">
<input class="form-control" type="text" id="keyword" name="q" value="<?= $this->searchKeyword; ?>" placeholder="搜索关键字" /> <input class="form-control" type="text" id="keyword" name="q" value="<?= $this->searchKeyword; ?>" placeholder="搜索关键字" />
<span class="input-group-btn"><button type="submit" class="btn btn-default" id="search_btn">搜索</button></span> <span class="input-group-btn"><button type="submit" class="btn btn-default" id="search_btn">搜索</button></span>
</form> </form>

View File

@ -23,8 +23,8 @@ table thead tr th {background:#EBF2F6;}
<div> <div>
<p></p> <p></p>
<div class="input-group form-group"> <div class="input-group form-group">
<form id="datasearch" class="search_form" action=""> <form id="datasearch" class="search_form input-group" action="">
<input class="form-control" type="text" id="keyword" name="q" value="<?php if(!empty($this->q)) echo $this->q; ?>" /> <input class="form-control" type="text" id="keyword" name="q" value="<?php if(!empty($this->q)) echo $this->q; ?>" placeholder="搜索关键字" />
<span class="input-group-btn"><button type="submit" class="btn btn-default" id="search_btn">搜索</button></span> <span class="input-group-btn"><button type="submit" class="btn btn-default" id="search_btn">搜索</button></span>
</form> </form>
</div> </div>

View File

@ -23,8 +23,8 @@
<?= $this->partial('data/ref-nav.phtml',array('ac'=>$this->ac,'uuid'=>$this->uuid)); ?> <?= $this->partial('data/ref-nav.phtml',array('ac'=>$this->ac,'uuid'=>$this->uuid)); ?>
</div> </div>
<div class="input-group form-group"> <div class="input-group form-group">
<form id="datasearch" class="search_form" action=""> <form id="datasearch" class="search_form input-group" action="">
<input type="text" class="form-control" id="keyword" name="q" value="<?php if(!empty($this->q)) echo $this->q; ?>" /> <input type="text" class="form-control" id="keyword" name="q" value="<?php if(!empty($this->q)) echo $this->q; ?>" placeholder="搜索关键字" />
<input type="hidden" name="order" value="<?php if(!empty($this->search_order)) echo $this->search_order; ?>" /> <input type="hidden" name="order" value="<?php if(!empty($this->search_order)) echo $this->search_order; ?>" />
<input type="hidden" name="sort" value="<?php if(!empty($this->search_sort)) echo $this->search_sort; ?>" /> <input type="hidden" name="sort" value="<?php if(!empty($this->search_sort)) echo $this->search_sort; ?>" />
<span class="input-group-btn"><button type="submit" class="btn btn-default" id="search_btn">搜索</button></span> <span class="input-group-btn"><button type="submit" class="btn btn-default" id="search_btn">搜索</button></span>

View File

@ -30,7 +30,7 @@
<a class="btn btn-primary btn-sm" href="/admin/data/source/do/sync">同步项目来源(以此处为准)</a> <a class="btn btn-primary btn-sm" href="/admin/data/source/do/sync">同步项目来源(以此处为准)</a>
</div> </div>
<div class="input-group form-group"> <div class="input-group form-group">
<form action="" method="get" class="search_form"> <form action="" method="get" class="search_form input-group">
<input type="text" class="q form-control" name="q" value="<?php echo $this->q; ?>" placeholder="搜索关键字" class="form-control" /> <input type="text" class="q form-control" name="q" value="<?php echo $this->q; ?>" placeholder="搜索关键字" class="form-control" />
<input type="hidden" name="search" value='1' /> <input type="hidden" name="search" value='1' />
<input type="hidden" name="id" value='<?php echo $this->id;?>' /> <input type="hidden" name="id" value='<?php echo $this->id;?>' />

View File

@ -31,7 +31,7 @@
<div class="search"> <div class="search">
<form action="" method="get"> <form action="" method="get">
<input type="hidden" name="search" value='1' /> <input type="hidden" name="search" value='1' />
<input type="hidden" name="id" value='<?php echo $this->id;?>' /> <input type="hidden" name="id" value='<?php echo $this->id;?>' placeholder="搜索关键字"/>
<label>搜索关键字</label><input type="text" class="q" name="q" value="<?php echo $this->q; ?>" /> <label>搜索关键字</label><input type="text" class="q" name="q" value="<?php echo $this->q; ?>" />
<input type="submit" class="btn" value="搜索" /> <input type="submit" class="btn" value="搜索" />
</form> </form>

View File

@ -26,7 +26,7 @@
<?php endif; ?> <?php endif; ?>
<p>为元数据《<?php echo $this->info['title'];?>》选择项目来源</p> <p>为元数据《<?php echo $this->info['title'];?>》选择项目来源</p>
<div class="input-group"> <div class="input-group">
<form method="get" action=""> <form method="get" action="" class="input-group">
<input type="text" value="" placeholder="搜索关键字" name="q" class="form-control q"> <input type="text" value="" placeholder="搜索关键字" name="q" class="form-control q">
<span class="input-group-btn"><input type="submit" value="搜索" class="btn btn-default"></span> <span class="input-group-btn"><input type="submit" value="搜索" class="btn btn-default"></span>
</form> </form>

View File

@ -20,11 +20,11 @@
<div class="col-md-10 col-sm-12"> <div class="col-md-10 col-sm-12">
<div class="form-group"> <div class="form-group">
<a class="btn btn-primary btn-sm" href="/admin/data/version">所有版本概况</a> <a class="btn btn-primary btn-sm" href="/admin/data/version">所有版本概况</a>
<a class="btn btn-primary btn-sm"><a href="/admin/data/version/ac/bydata">逐数据浏览</a> <a class="btn btn-primary btn-sm" href="/admin/data/version/ac/bydata">逐数据浏览</a>
</div> </div>
<div class="input-group form-group"> <div class="input-group form-group">
<form id="datasearch" class="search_form" action="/admin/data/version/ac/bydata"> <form id="datasearch" class="search_form input-group" action="/admin/data/version/ac/bydata">
<input class="form-control" type="text" id="keyword" name="q" value="<?php if(!empty($this->q)) echo $this->q; ?>" /> <input class="form-control" type="text" id="keyword" name="q" value="<?php if(!empty($this->q)) echo $this->q; ?>" placeholder="搜索关键字" />
<span class="input-group-btn"><button type="submit" class="btn btn-default" id="search_btn">搜索</button></span> <span class="input-group-btn"><button type="submit" class="btn btn-default" id="search_btn">搜索</button></span>
</form> </form>
</div> </div>

View File

@ -26,7 +26,7 @@
<h4 class="right_title"><?php if(!empty($this->title)) echo $this->title;?><?php echo $this->count;?> 数据下载记录</h4> <h4 class="right_title"><?php if(!empty($this->title)) echo $this->title;?><?php echo $this->count;?> 数据下载记录</h4>
<hr /> <hr />
<div class="input-group form-group"> <div class="input-group form-group">
<form action="/admin/down/data/" method="get"> <form action="/admin/down/data/" method="get" class="input-group">
<input type="text" name="keyword" value="<?php echo $this->keyword; ?>" class="form-control" placeholder="搜索关键字"/> <input type="text" name="keyword" value="<?php echo $this->keyword; ?>" class="form-control" placeholder="搜索关键字"/>
<input type="hidden" name="search" value='1' /> <input type="hidden" name="search" value='1' />
<span class="input-group-btn"><input type="submit" class="btn btn-default" value="搜索" /></span> <span class="input-group-btn"><input type="submit" class="btn btn-default" value="搜索" /></span>

View File

@ -35,7 +35,7 @@
<a href="/admin/down/offline/monthreport/1" class="btn btn-primary btn-sm">下载上月服务记录(科技部上报)</a> <a href="/admin/down/offline/monthreport/1" class="btn btn-primary btn-sm">下载上月服务记录(科技部上报)</a>
</div> </div>
<div class="input-group form-group"> <div class="input-group form-group">
<form id="datasearch" class="search_form" action=""> <form id="datasearch" class="search_form input-group" action="">
<input type="text" id="keyword" name="q" value="<?php if(!empty($this->q)) echo $this->q; ?>" class="form-control" placeholder="搜索关键字" /> <input type="text" id="keyword" name="q" value="<?php if(!empty($this->q)) echo $this->q; ?>" class="form-control" placeholder="搜索关键字" />
<input type="hidden" name="order" value="<?php if(!empty($this->search_order)) echo $this->search_order; ?>" /> <input type="hidden" name="order" value="<?php if(!empty($this->search_order)) echo $this->search_order; ?>" />
<input type="hidden" name="sort" value="<?php if(!empty($this->search_sort)) echo $this->search_sort; ?>" /> <input type="hidden" name="sort" value="<?php if(!empty($this->search_sort)) echo $this->search_sort; ?>" />

View File

@ -26,7 +26,7 @@
</div> </div>
<?php endif; ?> <?php endif; ?>
<!-- <h4>离线数据申请管理</h4> --> <!-- <h4>离线数据申请管理</h4> -->
<div class="input-group form-group"> <div class="form-group">
<a href="/admin/down/offlineapp/reset/-1" onclick="return confirm('是否重置该申请?')" class="btn btn-danger">重置1年前的所有未收到申请表的记录</a> <a href="/admin/down/offlineapp/reset/-1" onclick="return confirm('是否重置该申请?')" class="btn btn-danger">重置1年前的所有未收到申请表的记录</a>
<a href="/admin/down/offlineapp/status/4" class="btn btn-info">已收到的申请</a> <a href="/admin/down/offlineapp/status/4" class="btn btn-info">已收到的申请</a>
<a href="/admin/down/offlineapp/status/-1" class="btn btn-warning">已拒绝的申请</a> <a href="/admin/down/offlineapp/status/-1" class="btn btn-warning">已拒绝的申请</a>
@ -35,7 +35,7 @@
</div> </div>
<div class="input-group form-group"> <div class="input-group form-group">
<form id="datasearch" class="search_form" action=""> <form id="datasearch" class="search_form input-group" action="">
<input type="text" id="keyword" name="q" value="<?php if(!empty($this->q)) echo $this->q; ?>" class="form-control" placeholder="搜索关键字"/> <input type="text" id="keyword" name="q" value="<?php if(!empty($this->q)) echo $this->q; ?>" class="form-control" placeholder="搜索关键字"/>
<input type="hidden" name="order" value="<?php if(!empty($this->search_order)) echo $this->search_order; ?>" /> <input type="hidden" name="order" value="<?php if(!empty($this->search_order)) echo $this->search_order; ?>" />
<input type="hidden" name="sort" value="<?php if(!empty($this->search_sort)) echo $this->search_sort; ?>" /> <input type="hidden" name="sort" value="<?php if(!empty($this->search_sort)) echo $this->search_sort; ?>" />

View File

@ -25,7 +25,7 @@
<div class="col-md-10 col-sm-12"> <div class="col-md-10 col-sm-12">
<h4 class="right_title"><?php if(!empty($this->title)) echo $this->title;?>共有 <?php echo $this->count;?> 条在线下载记录</h4><hr /> <h4 class="right_title"><?php if(!empty($this->title)) echo $this->title;?>共有 <?php echo $this->count;?> 条在线下载记录</h4><hr />
<div class="input-group form-group"> <div class="input-group form-group">
<form action="/admin/down/search/" method="get" class="search_form"> <form action="/admin/down/search/" method="get" class="search_form input-group">
<input type="text" name="keyword" value="<?php echo $this->keyword; ?>" class="form-control" placeholder="搜索关键字" /> <input type="text" name="keyword" value="<?php echo $this->keyword; ?>" class="form-control" placeholder="搜索关键字" />
<input type="hidden" name="search" value='1' /> <input type="hidden" name="search" value='1' />
<span class="input-group-btn"><input class="btn btn-default" type="submit" class="searchbtn" value="搜索" /></span> <span class="input-group-btn"><input class="btn btn-default" type="submit" class="searchbtn" value="搜索" /></span>

View File

@ -26,7 +26,7 @@
<h4 class="right_title"><?php if(!empty($this->title)) echo $this->title;?><?php echo $this->count;?> 数据下载记录</h4> <h4 class="right_title"><?php if(!empty($this->title)) echo $this->title;?><?php echo $this->count;?> 数据下载记录</h4>
<hr /> <hr />
<div class="input-group form-group"> <div class="input-group form-group">
<form action="/admin/down/user/" method="get"> <form action="/admin/down/user/" method="get" class="input-group">
<input type="text" name="keyword" value="<?php echo $this->keyword; ?>" class="form-control" placeholder="搜索关键字" /> <input type="text" name="keyword" value="<?php echo $this->keyword; ?>" class="form-control" placeholder="搜索关键字" />
<input type="hidden" name="search" value='1' /> <input type="hidden" name="search" value='1' />
<span class="input-group-btn"><input type="submit" class="btn btn-default" value="搜索" /></span> <span class="input-group-btn"><input type="submit" class="btn btn-default" value="搜索" /></span>

View File

@ -21,8 +21,8 @@
<div id="col-md-10 col-sm-12"> <div id="col-md-10 col-sm-12">
<?php if(!empty($this->searchLink)){ ?> <?php if(!empty($this->searchLink)){ ?>
<div class="input-group form-group"> <div class="input-group form-group">
<form id="datasearch" class="search_form" action="<?= $this->searchLink ?>"> <form id="datasearch" class="search_form input-group" action="<?= $this->searchLink ?>">
<input class="form-control" type="text" id="keyword" name="q" value="<?= $this->searchKeyword; ?>" /> <input class="form-control" type="text" id="keyword" name="q" value="<?= $this->searchKeyword; ?>" placeholder="搜索关键字" />
<span class="input-group-btn"><button type="submit" class="btn btn-default" id="search_btn">搜索</button></span> <span class="input-group-btn"><button type="submit" class="btn btn-default" id="search_btn">搜索</button></span>
</form> </form>
</div> </div>

View File

@ -23,7 +23,7 @@
</div> </div>
<?php endif; ?> <?php endif; ?>
<div class="input-group form-group"> <div class="input-group form-group">
<form action="" method="get" class="search_form"> <form action="" method="get" class="search_form input-group" class="input-group">
<input type="text" name="keyword" class="q form-control" value="<?php echo $this->keyword; ?>" placeholder="搜索关键字" /> <input type="text" name="keyword" class="q form-control" value="<?php echo $this->keyword; ?>" placeholder="搜索关键字" />
<input type="hidden" name="search" value='1' /> <input type="hidden" name="search" value='1' />
<span class="input-group-btn"><button type="submit" class="btn btn-default">搜索</button></span> <span class="input-group-btn"><button type="submit" class="btn btn-default">搜索</button></span>

View File

@ -24,7 +24,7 @@
</div> </div>
<?php endif; ?> <?php endif; ?>
<div class="input-group form-group"> <div class="input-group form-group">
<form action="" method="get"> <form action="" method="get" class="input-group">
<input type="text" class="q form-control" name="keyword" value="<?php echo $this->keyword; ?>" placeholder="搜索关键字" /> <input type="text" class="q form-control" name="keyword" value="<?php echo $this->keyword; ?>" placeholder="搜索关键字" />
<input type="hidden" name="search" value='1' /> <input type="hidden" name="search" value='1' />
<input type="hidden" name="id" value='<?php echo $this->id;?>' /> <input type="hidden" name="id" value='<?php echo $this->id;?>' />

View File

@ -31,7 +31,7 @@
</ul> </ul>
</div> </div>
<div class="input-group form-group"> <div class="input-group form-group">
<form action="" method="get"> <form action="" method="get" class="input-group">
<input type="text" class="q form-control" name="q" value="<?php echo $this->q; ?>" placeholder="搜索关键字" /> <input type="text" class="q form-control" name="q" value="<?php echo $this->q; ?>" placeholder="搜索关键字" />
<input type="hidden" name="search" value='1' /> <input type="hidden" name="search" value='1' />
<input type="hidden" name="id" value='<?php echo $this->id;?>' /> <input type="hidden" name="id" value='<?php echo $this->id;?>' />

View File

@ -31,8 +31,8 @@
</ul> </ul>
</div> </div>
<div class="input-group form-group"> <div class="input-group form-group">
<form action="" method="get" class="search_form"> <form action="" method="get" class="search_form input-group">
<input type="text" name="q" value="<?php echo $this->q; ?>" class="form-control"/> <input type="text" name="q" value="<?php echo $this->q; ?>" class="form-control" placeholder="搜索关键字"/>
<input type="hidden" name="search" value='1'/> <input type="hidden" name="search" value='1'/>
<input type="hidden" name="id" value='<?php echo $this->id;?>' /> <input type="hidden" name="id" value='<?php echo $this->id;?>' />
<span class="input-group-btn"><button type="submit" class="btn btn-default">搜索</button></span> <span class="input-group-btn"><button type="submit" class="btn btn-default">搜索</button></span>

View File

@ -31,7 +31,7 @@
</ul> </ul>
</div> </div>
<div class="input-group form-group"> <div class="input-group form-group">
<form action="" method="get"> <form action="" method="get" class="input-group">
<input type="text" class="q form-control" name="q" value="<?php echo $this->q; ?>" placeholder="搜索关键字" /> <input type="text" class="q form-control" name="q" value="<?php echo $this->q; ?>" placeholder="搜索关键字" />
<input type="hidden" name="search" value='1' /> <input type="hidden" name="search" value='1' />
<input type="hidden" name="id" value='<?php echo $this->id;?>' /> <input type="hidden" name="id" value='<?php echo $this->id;?>' />

View File

@ -23,7 +23,7 @@
</div> </div>
<?php endif; ?> <?php endif; ?>
<div class="input-group form-group"> <div class="input-group form-group">
<form action="" method="get" class="search_form"> <form action="" method="get" class="search_form input-group">
<input type="text" name="keyword" class="q form-control" value="<?php echo $this->keyword; ?>" placeholder="搜索关键字" /> <input type="text" name="keyword" class="q form-control" value="<?php echo $this->keyword; ?>" placeholder="搜索关键字" />
<input type="hidden" name="search" value='1' /> <input type="hidden" name="search" value='1' />
<input type="hidden" name="id" value='<?php echo $this->id;?>' /> <input type="hidden" name="id" value='<?php echo $this->id;?>' />

View File

@ -26,7 +26,7 @@
</div> </div>
<?php endif; ?> <?php endif; ?>
<div class="input-group form-group"> <div class="input-group form-group">
<form action="" method="get" class="search_form"> <form action="" method="get" class="search_form input-group">
<input type="text" name="keyword" class="q form-control" value="<?php echo $this->keyword; ?>" placeholder="搜索关键字" /> <input type="text" name="keyword" class="q form-control" value="<?php echo $this->keyword; ?>" placeholder="搜索关键字" />
<input type="hidden" name="search" value='1' /> <input type="hidden" name="search" value='1' />
<span class="input-group-btn"><button type="submit" class="btn btn-default">搜索</button></span> <span class="input-group-btn"><button type="submit" class="btn btn-default">搜索</button></span>

View File

@ -30,7 +30,7 @@
</ul> </ul>
</div> </div>
<div class="input-group form-group"> <div class="input-group form-group">
<form action="" method="get"> <form action="" method="get" class="input-group">
<input type="text" name="keyword" class="q form-control" value="<?php echo $this->keyword; ?>" placeholder="搜索关键字" /> <input type="text" name="keyword" class="q form-control" value="<?php echo $this->keyword; ?>" placeholder="搜索关键字" />
<input type="hidden" name="search" value='1' class="form-control" /> <input type="hidden" name="search" value='1' class="form-control" />
<span class="input-group-btn"><button class="btn btn-default" type="submit" id="search_btn">搜索</button></span> <span class="input-group-btn"><button class="btn btn-default" type="submit" id="search_btn">搜索</button></span>

View File

@ -23,8 +23,8 @@
</div> </div>
<?php endif; ?> <?php endif; ?>
<div class="input-group form-group"> <div class="input-group form-group">
<form action="" method="get" class="search_form"> <form action="" method="get" class="search_form input-group">
<input type="text" name="keyword" class="q form-control" value="<?php echo $this->keyword; ?>" /> <input type="text" name="keyword" class="q form-control" value="<?php echo $this->keyword; ?>" placeholder="搜索关键字"/>
<input type="hidden" name="search" value='1' /> <input type="hidden" name="search" value='1' />
<span class="input-group-btn"><button type="submit" class="btn btn-default">搜索</button></span> <span class="input-group-btn"><button type="submit" class="btn btn-default">搜索</button></span>
</form> </form>

View File

@ -23,8 +23,8 @@
</div> </div>
<?php endif; ?> <?php endif; ?>
<div class="input-group form-group"> <div class="input-group form-group">
<form action="" method="get" class="search_form"> <form action="" method="get" class="search_form input-group">
<input type="text" name="keyword" class="q form-control" value="<?php echo $this->keyword; ?>" /> <input type="text" name="keyword" class="q form-control" value="<?php echo $this->keyword; ?>" placeholder="搜索关键字"/>
<input type="hidden" name="search" value='1' /> <input type="hidden" name="search" value='1' />
<span class="input-group-btn"><button type="submit" class="btn btn-default">搜索</button></span> <span class="input-group-btn"><button type="submit" class="btn btn-default">搜索</button></span>
</form> </form>

View File

@ -25,7 +25,7 @@
</div> </div>
<?php endif; ?> <?php endif; ?>
<div class="input-group form-group"> <div class="input-group form-group">
<form method="get" id="search"> <form method="get" id="search" class="input-group">
<input type="text" class="q form-control" name="keyword" value="<?php echo $this->keyword; ?>" tabindex="1" placeholder="搜索关键字" /> <input type="text" class="q form-control" name="keyword" value="<?php echo $this->keyword; ?>" tabindex="1" placeholder="搜索关键字" />
<input type="hidden" name="search" value='1' /> <input type="hidden" name="search" value='1' />
<input type="hidden" name="code" id="code" value="<?php echo $this->code; ?>" /> <input type="hidden" name="code" id="code" value="<?php echo $this->code; ?>" />

View File

@ -24,7 +24,7 @@
</div> </div>
<?php endif; ?> <?php endif; ?>
<div class="input-group form-group"> <div class="input-group form-group">
<form action="" method="get"> <form action="" method="get" class="input-group">
<input type="text" name="keyword" class="q form-control" value="<?php echo $this->keyword; ?>" placeholder="搜索关键字" /> <input type="text" name="keyword" class="q form-control" value="<?php echo $this->keyword; ?>" placeholder="搜索关键字" />
<input type="hidden" name="search" value='1' /> <input type="hidden" name="search" value='1' />
<input type="hidden" name="id" value='<?php echo $this->id;?>' /> <input type="hidden" name="id" value='<?php echo $this->id;?>' />

View File

@ -22,7 +22,7 @@
<a class="btn btn-primary" href="/admin/sys/message/">查看新消息</a> <a class="btn btn-primary" href="/admin/sys/message/">查看新消息</a>
</div> </div>
<div class="input-group form-group"> <div class="input-group form-group">
<form action="" class="search_form" id="datasearch" method="get"> <form action="" class="search_form input-group" id="datasearch" method="get">
<input type="text" placeholder="搜索关键字" class="form-control" value="<?php echo $this->q; ?>" name="q" id="keyword"> <input type="text" placeholder="搜索关键字" class="form-control" value="<?php echo $this->q; ?>" name="q" id="keyword">
<input type="hidden" name="search" value='1' /> <input type="hidden" name="search" value='1' />
<input type="hidden" name="id" value='<?php echo $this->id;?>' /> <input type="hidden" name="id" value='<?php echo $this->id;?>' />

View File

@ -20,7 +20,7 @@
</ul> </ul>
</div> </div>
<div class="input-group form-group"> <div class="input-group form-group">
<form action="" class="search_form" method="get" > <form action="" class="search_form input-group" method="get" >
<input type="text" name="keyword" value="<?php echo $this->keyword; ?>" placeholder="搜索关键字" class="q form-control" /> <input type="text" name="keyword" value="<?php echo $this->keyword; ?>" placeholder="搜索关键字" class="q form-control" />
<input type="hidden" name="search" value='1' /> <input type="hidden" name="search" value='1' />
<span class="input-group-btn"><button id="search_btn" class="btn btn-default" type="submit">搜索</button></span> <span class="input-group-btn"><button id="search_btn" class="btn btn-default" type="submit">搜索</button></span>