summaryrefslogtreecommitdiffstats
path: root/tpl
diff options
context:
space:
mode:
Diffstat (limited to 'tpl')
-rw-r--r--tpl/contents.tpl18
-rw-r--r--tpl/footer.tpl4
-rw-r--r--tpl/header.tpl4
-rw-r--r--tpl/package.tpl88
-rw-r--r--tpl/packages.tpl60
5 files changed, 87 insertions, 87 deletions
diff --git a/tpl/contents.tpl b/tpl/contents.tpl
index dc4fe92..f3084d8 100644
--- a/tpl/contents.tpl
+++ b/tpl/contents.tpl
@@ -8,14 +8,14 @@
<label for="filename">Filename</label>
<input type="text" class="form-control" id="filename" name="filename" value="{{{filename}}}">
</div>
- <div class="form-group">
+ <div class="form-group">
<label for="arch">Architecture</label>
- <select name="arch" class="form-control" id="arch">
+ <select name="arch" class="form-control" id="arch">
<option>x86</option>
<option>x86_64</option>
<option>armhf</option>
</select>
- </div>
+ </div>
<button type="submit" class="btn btn-primary">Search</button>
</form>
</div>
@@ -23,15 +23,15 @@
<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>
+ <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>
+ <td>{{{pkgname}}}</td>
+ <td>{{{repo}}}</td>
+ <td>{{{arch}}}</td>
</tr>{{/rows}}
{{{^rows}}}
<tr>
diff --git a/tpl/footer.tpl b/tpl/footer.tpl
index 60e689e..2d29c22 100644
--- a/tpl/footer.tpl
+++ b/tpl/footer.tpl
@@ -1,3 +1,3 @@
- <footer>© Copyright 2014 Alpine Linux Development Team all rights reserved | <a href="http://www.alpinelinux.org/privacy-policy.html">Privacy Policy</a></footer>
- </body>
+ <footer>© Copyright 2014 Alpine Linux Development Team all rights reserved | <a href="http://www.alpinelinux.org/privacy-policy.html">Privacy Policy</a></footer>
+ </body>
</html>
diff --git a/tpl/header.tpl b/tpl/header.tpl
index fdfdb67..072aff9 100644
--- a/tpl/header.tpl
+++ b/tpl/header.tpl
@@ -25,14 +25,14 @@
<a href="/"><img id="logo" src="/assets/alpinelinux-logo.svg" alt="Alpine Linux logo" /></a>
<div id="pagenav">
<nav>
- {{#packages}}
+ {{#packages}}
<a href="/packages" class="active">Packages</a>
{{/packages}}
{{^packages}}
<a href="/packages">Packages</a>
{{/packages}}
{{#contents}}
- <a href="/contents" class="active" class="">Contents</a>
+ <a href="/contents" class="active" class="">Contents</a>
{{/contents}}
{{^contents}}
<a href="/contents" class="">Contents</a>
diff --git a/tpl/package.tpl b/tpl/package.tpl
index e25110f..e6e35a2 100644
--- a/tpl/package.tpl
+++ b/tpl/package.tpl
@@ -4,53 +4,53 @@
<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>
+ <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>
+ <th>Install if</th>
+ <td>{{{install_if}}}</td>
+ </tr>
{{/install_if}}
- {{/name}}
- {{^name}}
- <tr>
- <td>This package does not exist!</td>
- </tr>
- {{/name}}
- </table>
+ {{/name}}
+ {{^name}}
+ <tr>
+ <td>This package does not exist!</td>
+ </tr>
+ {{/name}}
+ </table>
</div>
</div>
{{{footer}}}
diff --git a/tpl/packages.tpl b/tpl/packages.tpl
index 9027858..4008ff0 100644
--- a/tpl/packages.tpl
+++ b/tpl/packages.tpl
@@ -8,44 +8,44 @@
<label for="package">Package name</label>
<input type="text" class="form-control" id="package" name="package" value="{{{package}}}">
</div>
- <div class="form-group">
+ <div class="form-group">
<label for="arch">Architecture</label>
- <select name="arch" class="form-control" id="arch">
+ <select name="arch" class="form-control" id="arch">
<option>x86</option>
<option>x86_64</option>
<option>armhf</option>
</select>
- </div>
+ </div>
<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>
+ <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>
{{{footer}}}