1
1
Fork 0

add in the search box

Signed-off-by: Simon L'nu <simon.lnu@gmail.com>
This commit is contained in:
Simon L'nu 2012-03-25 22:45:44 -04:00
parent 758e1b7424
commit 3d11c22b01
6 changed files with 43 additions and 13 deletions

View file

@ -45,6 +45,12 @@ works -->
{{ endif }}
</div>
<div class="search-box">
<form method="get" action="$nav.search.0">
<input id="search-text" class="nav-menu-search" type="search" placeholder="Search" value="" id="search" name="search" />
</form>
</div>
<div id="user-menu">
<a id="user-menu-label" onclick="openClose('user-menu-popup'); return false" href="$nav.home.0">$sitelocation</a>
<ul id="user-menu-popup"

View file

@ -221,7 +221,7 @@ input[type=submit] {
* nav
*/
nav {
height: 60px;
height: 80px;
display: block;
background-color: #1d1f1d;
color: #eeeeec;
@ -490,6 +490,15 @@ nav #nav-notifications-linkmenu.on .icon.s22.notify, nav #nav-notifications-link
margin: 0px;
background: transparent url(icons.png) -190px -60px no-repeat;
}
.search-box {
margin: 5px;
width: 65%;
height: 40px;
z-index: 100;
}
#search-text {
border: 1px #2e2f2e solid;
}
.nav-ajax-update, .nav-ajax-left {
width: 30px;
height: 19px;

View file

@ -151,6 +151,6 @@ function dispydark_community_info() {
$aside['$url'] = $url;
$tpl = file_get_contents(dirname(__file__).'/communityhome.tpl');
$a->page['right_aside'] = replace_macros($tpl, $aside);
$a->page['aside'] = replace_macros($tpl, $aside);
}

View file

@ -45,6 +45,12 @@ works -->
{{ endif }}
</div>
<div class="search-box">
<form method="get" action="$nav.search.0">
<input id="search-text" class="nav-menu-search" type="search" placeholder="Search" value="" id="search" name="search" />
</form>
</div>
<div id="user-menu">
<a id="user-menu-label" onclick="openClose('user-menu-popup'); return false" href="$nav.home.0">$sitelocation</a>
<ul id="user-menu-popup"

View file

@ -482,6 +482,15 @@ nav #nav-notifications-linkmenu.on .icon.s22.notify, nav #nav-notifications-link
margin: 0px;
background: transparent url(icons.png) -190px -60px no-repeat;
}
.search-box {
margin: 5px;
width: 65%;
height: 40px;
z-index: 100;
}
#search-text {
border: 1px #eec solid;
}
.nav-ajax-update, .nav-ajax-left {
width: 30px;
height: 19px;

View file

@ -151,6 +151,6 @@ function dispy_community_info() {
$aside['$url'] = $url;
$tpl = file_get_contents(dirname(__file__).'/communityhome.tpl');
$a->page['right_aside'] = replace_macros($tpl, $aside);
$a->page['aside'] = replace_macros($tpl, $aside);
}