summaryrefslogtreecommitdiffstats
path: root/smarty/templates/rpmphp
diff options
context:
space:
mode:
authorJohan "Papa" Cwiklinski <trasher@odysseus.(none)>2010-05-29 22:44:10 +0200
committerJohan "Papa" Cwiklinski <trasher@odysseus.(none)>2010-05-29 22:44:10 +0200
commitcbd3c42f9d39f7d73c77cf811c7f65fce9cd1b55 (patch)
treed3f6529a94191169bcf625e2a87fae597d75c851 /smarty/templates/rpmphp
parent3a7c67284db39bc8a0618903f7de93603867f4b0 (diff)
Use of Smarty for index page ; apply coding standards, add license ; refs #46,48,47
Diffstat (limited to 'smarty/templates/rpmphp')
-rw-r--r--smarty/templates/rpmphp/index.tpl40
1 files changed, 40 insertions, 0 deletions
diff --git a/smarty/templates/rpmphp/index.tpl b/smarty/templates/rpmphp/index.tpl
new file mode 100644
index 0000000..df6cb52
--- /dev/null
+++ b/smarty/templates/rpmphp/index.tpl
@@ -0,0 +1,40 @@
+ <h2>Package reports</h2>
+ <ul id="reports">
+ <li><a href="rpm.php?type=pecl">PECL Extensions in Fedora</a> with upstream information</li>
+ <li><a href="rpm.php?type=pear">PEAR Extensions in Fedora</a> with upstream information</li>
+ <li><a href="rpm.php?type=R">R Extensions in Fedora</a> with upstream information</li>
+ <li><a href="all.php">All Packages in Fedora</a></li>
+ </ul><!-- /reports -->
+ <table id="list-packages">
+ <caption><strong>Analysed repositories</strong></caption>
+ <thead>
+ <tr>
+ <th>Main</th>
+ <th>Active</th>
+ <th>Sub</th>
+ <th>Url</th>
+ <th>Last update</th>
+ </tr>
+ </thead>
+ <tbody>
+{if $error}
+ <tr>
+ <td colspan="5">{$error}</td>
+ </tr>
+{else}
+ {foreach from=$repositories item=repo name=rlist}
+ <tr class="{if $smarty.foreach.rlist.iteration % 2 eq 0}even{else}odd{/if}">
+ <td><strong>{$repo.repo_name}</strong></td>
+ <td>{$repo.active}</td>
+ <td>{$repo.sub_name}</td>
+ <td><a href="{$repo.url}">{$repo.url}</a></td>
+ <td>{$repo.date}</td>
+ </tr>
+ {/foreach}
+{/if}
+ </tbody>
+ </table><!-- /list-pacakges -->
+ <h2>Script sources</h2>
+ <p>You can retrieve the current application sources from my GIT repository on github.com: <a href='http://github.com/remicollet/rpmphp'>http://github.com/remicollet/rpmphp</a>.</p>
+ <p>Feedbacks, RFE and patches are welcome.</p>
+