Browse Source

增加搜索跳转全局搜素

pull/1830/head
wangjr 3 years ago
parent
commit
0025a23161
2 changed files with 16 additions and 1 deletions
  1. +15
    -1
      templates/explore/organizations.tmpl
  2. +1
    -0
      web_src/less/openi.less

+ 15
- 1
templates/explore/organizations.tmpl View File

@@ -6,7 +6,21 @@


{{template "base/head" .}} {{template "base/head" .}}
<div class="explore users"> <div class="explore users">
{{template "explore/search" .}}
<!-- {{template "explore/search" .}} -->
<div class="repos--seach">
<div class="ui container">
<div class="ui two column centered grid">
<form class="fourteen wide mobile ten wide tablet ten wide computer column ui form ignore-dirty" action="/all/search/" method="post">
<div class="ui fluid action input">
<input name="q" value="{{.Keyword}}" placeholder="{{.i18n.Tr "explore.search"}}..." autofocus>
<input type="hidden" name="tab" value="{{$.TabName}}">
<button class="ui green button">{{.i18n.Tr "explore.search"}}</button>
</div>
</form>
</div>
</div>
</div>

<div class="ui container homeorg"> <div class="ui container homeorg">
<div class="ui center aligned header"> <div class="ui center aligned header">
<h1 class="title_re"> <h1 class="title_re">


+ 1
- 0
web_src/less/openi.less View File

@@ -893,6 +893,7 @@ display: block;
.li_score{ .li_score{
list-style:none; list-style:none;
margin-left: 2px; margin-left: 2px;
}
/**seach**/ /**seach**/
/**搜索导航条适配窄屏**/ /**搜索导航条适配窄屏**/
.seachnav{ .seachnav{


Loading…
Cancel
Save