summaryrefslogtreecommitdiffstats
path: root/tpl
diff options
context:
space:
mode:
Diffstat (limited to 'tpl')
-rw-r--r--tpl/package.tpl140
-rw-r--r--tpl/packages.tpl56
2 files changed, 100 insertions, 96 deletions
diff --git a/tpl/package.tpl b/tpl/package.tpl
index 672d3b0..cdccaee 100644
--- a/tpl/package.tpl
+++ b/tpl/package.tpl
@@ -9,75 +9,77 @@
<div class="panel panel-default">
<div class="panel-heading">General</div>
<div class="panel-body">
- <table class="table table-striped table-bordered table-condensed">{{#name}}
- <tr>
- <th>Name:</th>
- <td title="{{{desc}}}"><a href="/package/{{{name}}}">{{{name}}}</a></td>
- </tr>
- <tr>
- <th>Version:</th>
- <td>{{{version}}}</td>
- </tr>
- <tr>
- <th>Description:</th>
- <td>{{{desc}}}</td>
- </tr>
- <tr>
- <th>Project:</th>
- <td><a href="{{{url}}}">URL</a></td>
- </tr>
- <tr>
- <th>Licence:</th>
- <td>{{{lic}}}</td>
- </tr>
- <tr>
- <th>Architecture:</th>
- <td>{{{arch}}}</td>
- </tr>
- <tr>
- <th>Checksum:</th>
- <td>{{{csum}}}</td>
- </tr>
- <tr>
- <th>Size:</th>
- <td>{{{size}}} Bytes</td>
- </tr>{{#install_size}}
- <tr>
- <th>Installed size:</th>
- <td>{{{install_size}}} Bytes</td>
- </tr>{{/install_size}}{{#provides}}
- <tr>
- <th>Provides:</th>
- <td>{{{provides}}}</td>
- </tr>{{/provides}}{{#install_if}}
- <tr>
- <th>Install if:</th>
- <td>{{{install_if}}}</td>
- </tr>{{/install_if}}{{#name}}
- <tr>
- <th>Origin:</th>
- <td><a href="/package/{{{arch}}}/{{{origin}}}">{{{origin}}}</a></td>
- </tr>
- <tr>
- <th>Maintainer:</th>
- <td>{{{maintainer}}}</td>
- </tr>
- <tr>
- <th>Build time:</th>
- <td>{{{build_time}}}</td>
- </tr>
- <tr>
- <th>Commit:</th>
- <td><a href="http://git.alpinelinux.org/cgit/aports/commit/?id={{{commit}}}">{{{commit}}}</a></td>
- </tr>
- <tr>
- <th>Contents:</th>
- <td><a href="/contents?pkgname={{{name}}}&amp;arch={{{arch}}}">Contents of package</a></td>
- </tr>{{/name}}{{^name}}
- <tr>
- <td>This package does not exist!</td>
- </tr>{{/name}}
- </table>
+ <div class="table-responsive">
+ <table class="table table-striped table-bordered table-condensed">{{#name}}
+ <tr>
+ <th>Name:</th>
+ <td title="{{{desc}}}"><a href="/package/{{{name}}}">{{{name}}}</a></td>
+ </tr>
+ <tr>
+ <th>Version:</th>
+ <td>{{{version}}}</td>
+ </tr>
+ <tr>
+ <th>Description:</th>
+ <td>{{{desc}}}</td>
+ </tr>
+ <tr>
+ <th>Project:</th>
+ <td><a href="{{{url}}}">URL</a></td>
+ </tr>
+ <tr>
+ <th>Licence:</th>
+ <td>{{{lic}}}</td>
+ </tr>
+ <tr>
+ <th>Architecture:</th>
+ <td>{{{arch}}}</td>
+ </tr>
+ <tr>
+ <th>Checksum:</th>
+ <td>{{{csum}}}</td>
+ </tr>
+ <tr>
+ <th>Size:</th>
+ <td>{{{size}}} Bytes</td>
+ </tr>{{#install_size}}
+ <tr>
+ <th>Installed size:</th>
+ <td>{{{install_size}}} Bytes</td>
+ </tr>{{/install_size}}{{#provides}}
+ <tr>
+ <th>Provides:</th>
+ <td>{{{provides}}}</td>
+ </tr>{{/provides}}{{#install_if}}
+ <tr>
+ <th>Install if:</th>
+ <td>{{{install_if}}}</td>
+ </tr>{{/install_if}}{{#name}}
+ <tr>
+ <th>Origin:</th>
+ <td><a href="/package/{{{arch}}}/{{{origin}}}">{{{origin}}}</a></td>
+ </tr>
+ <tr>
+ <th>Maintainer:</th>
+ <td>{{{maintainer}}}</td>
+ </tr>
+ <tr>
+ <th>Build time:</th>
+ <td>{{{build_time}}}</td>
+ </tr>
+ <tr>
+ <th>Commit:</th>
+ <td><a href="http://git.alpinelinux.org/cgit/aports/commit/?id={{{commit}}}">{{{commit}}}</a></td>
+ </tr>
+ <tr>
+ <th>Contents:</th>
+ <td><a href="/contents?pkgname={{{name}}}&amp;arch={{{arch}}}">Contents of package</a></td>
+ </tr>{{/name}}{{^name}}
+ <tr>
+ <td>This package does not exist!</td>
+ </tr>{{/name}}
+ </table>
+ </div>
</div>
</div>
</div>
diff --git a/tpl/packages.tpl b/tpl/packages.tpl
index 8d381d3..25aa25a 100644
--- a/tpl/packages.tpl
+++ b/tpl/packages.tpl
@@ -19,33 +19,35 @@
<button type="submit" class="btn btn-primary">Search</button>
</form>
</div>
- <table class="table table-striped table-bordered table-condensed">
- <tr>
- <th>Package</th>
- <th>Version</th>
- <th>Project</th>
- <th>Licence</th>
- <th>Architecture</th>
- <th>Repository</th>
- <th>Maintainer</th>
- <th>Build date</th>
- </tr>{{#rows}}
- <tr>
- <td class="package" title="{{{desc}}}"><a href="/package/{{{arch}}}/{{{package}}}">{{{package}}}</a></td>
- <td class="version">{{{version}}}</td>
- <td class="url"><a href="{{{project}}}">URL</a></td>
- <td class="license">{{{license}}}</td>
- <td class="arch">{{{arch}}}</td>
- <td class="repo">{{{repo}}}</td>
- <td class="maintainer">{{{maintainer}}}</td>
- <td class="bdate">{{{bdate}}}</td>
- </tr>{{/rows}}
- {{{^rows}}}
- <tr>
- <td colspan="8">No item found...</td>
- </tr>
- {{{/rows}}}
- </table>
+ <div class="table-responsive">
+ <table class="table table-striped table-bordered table-condensed">
+ <tr>
+ <th>Package</th>
+ <th>Version</th>
+ <th>Project</th>
+ <th>Licence</th>
+ <th>Architecture</th>
+ <th>Repository</th>
+ <th>Maintainer</th>
+ <th>Build date</th>
+ </tr>{{#rows}}
+ <tr>
+ <td class="package" title="{{{desc}}}"><a href="/package/{{{arch}}}/{{{package}}}">{{{package}}}</a></td>
+ <td class="version">{{{version}}}</td>
+ <td class="url"><a href="{{{project}}}">URL</a></td>
+ <td class="license">{{{license}}}</td>
+ <td class="arch">{{{arch}}}</td>
+ <td class="repo">{{{repo}}}</td>
+ <td class="maintainer">{{{maintainer}}}</td>
+ <td class="bdate">{{{bdate}}}</td>
+ </tr>{{/rows}}
+ {{{^rows}}}
+ <tr>
+ <td colspan="8">No item found...</td>
+ </tr>
+ {{{/rows}}}
+ </table>
+ </div>
</div>
</div>
{{{footer}}}