diff options
Diffstat (limited to 'tpl/package.tpl')
-rw-r--r-- | tpl/package.tpl | 140 |
1 files changed, 71 insertions, 69 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}}}&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}}}&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> |