summaryrefslogtreecommitdiffstats
path: root/tpl/package.tpl
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2015-03-17 09:30:06 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2015-03-17 09:30:06 +0000
commit47d6db8cbe043d2c524af68831d236080b1127f4 (patch)
tree0c49abe825f60b56681a5fecf08b0283901e6bbd /tpl/package.tpl
downloadaports-turbo-47d6db8cbe043d2c524af68831d236080b1127f4.tar.bz2
aports-turbo-47d6db8cbe043d2c524af68831d236080b1127f4.tar.xz
initial import
Diffstat (limited to 'tpl/package.tpl')
-rw-r--r--tpl/package.tpl56
1 files changed, 56 insertions, 0 deletions
diff --git a/tpl/package.tpl b/tpl/package.tpl
new file mode 100644
index 0000000..e25110f
--- /dev/null
+++ b/tpl/package.tpl
@@ -0,0 +1,56 @@
+{{{header}}}
+ <div id="main">
+ <div class="panel panel-default">
+ <div class="panel-heading">Package details</div>
+ <div class="panel-body">
+ </div>
+ <table class="table table-striped table-bordered table-condensed" id="package">
+ {{#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>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>Repository</th>
+ <td>Repository</td>
+ </tr>
+ <tr>
+ <th>Maintainer</th>
+ <td>{{{maintainer}}}</td>
+ </tr>
+ <tr>
+ <th>Build date</th>
+ <td>{{{build_time}}}</td>
+ </tr>
+ {{#install_if}}
+ <tr>
+ <th>Install if</th>
+ <td>{{{install_if}}}</td>
+ </tr>
+ {{/install_if}}
+ {{/name}}
+ {{^name}}
+ <tr>
+ <td>This package does not exist!</td>
+ </tr>
+ {{/name}}
+ </table>
+ </div>
+ </div>
+{{{footer}}}