summaryrefslogtreecommitdiffstats
path: root/smarty/templates
diff options
context:
space:
mode:
Diffstat (limited to 'smarty/templates')
-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>
+