refactor sidebar inclusion

This commit is contained in:
Oliver Gorwits
2012-02-02 15:06:52 +00:00
parent fe1f1fa2fd
commit fc9b86e852
9 changed files with 25 additions and 41 deletions

View File

@@ -1,5 +1,6 @@
<p><em>Device Search Options</em></p>
<input name="q" value="[% params.q %]" type="hidden"/>
<div class="clearfix">
<input class="span3" placeholder="System Name"
type="text" name="name" value="[% params.name %]"
@@ -60,3 +61,4 @@
<span class="nd_searchcheckbox uneditable-input">Match All Options</span>
</label>
</div>
<button id="[% tab.id %]_submit" type="submit" class="btn info span3">Search Again</button>

View File

@@ -1,5 +1,6 @@
<p><em>Node Search Options</em></p>
<input name="q" value="[% params.q %]" type="hidden"/>
<div class="clearfix input-prepend">
<label class="add-on">
<input type="checkbox" id="stamps" name="stamps"[% ' checked="checked"' IF params.stamps %]/>
@@ -34,3 +35,4 @@
</label>
</div>
[% END %]
<button id="[% tab.id %]_submit" type="submit" class="btn info span3">Search Again</button>