diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2015-03-17 09:30:06 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2015-03-17 09:30:06 +0000 |
commit | 47d6db8cbe043d2c524af68831d236080b1127f4 (patch) | |
tree | 0c49abe825f60b56681a5fecf08b0283901e6bbd /tpl/contents.tpl | |
download | aports-turbo-47d6db8cbe043d2c524af68831d236080b1127f4.tar.bz2 aports-turbo-47d6db8cbe043d2c524af68831d236080b1127f4.tar.xz |
initial import
Diffstat (limited to 'tpl/contents.tpl')
-rw-r--r-- | tpl/contents.tpl | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/tpl/contents.tpl b/tpl/contents.tpl new file mode 100644 index 0000000..dc4fe92 --- /dev/null +++ b/tpl/contents.tpl @@ -0,0 +1,45 @@ +{{{header}}} + <div id="main"> + <div class="panel panel-default"> + <div class="panel-heading">Search the contents of packages</div> + <div class="panel-body"> + <form class="form-inline" role="form" id="search"> + <div class="form-group"> + <label for="filename">Filename</label> + <input type="text" class="form-control" id="filename" name="filename" value="{{{filename}}}"> + </div> + <div class="form-group"> + <label for="arch">Architecture</label> + <select name="arch" class="form-control" id="arch"> + <option>x86</option> + <option>x86_64</option> + <option>armhf</option> + </select> + </div> + <button type="submit" class="btn btn-primary">Search</button> + </form> + </div> + <div class="table-responsive"> + <table class="table table-striped table-bordered table-condensed" data-toggle="table"> + <tr> + <th>File</th> + <th>Package name</th> + <th>Repository</th> + <th>Architecture</th> + </tr>{{#rows}} + <tr> + <td>{{{file}}}</td> + <td>{{{pkgname}}}</td> + <td>{{{repo}}}</td> + <td>{{{arch}}}</td> + </tr>{{/rows}} + {{{^rows}}} + <tr> + <td colspan="4">No item found...</td> + </tr> + {{{/rows}}} + </table> + </div> + </div> + </div> +{{{footer}}} |