diff options
author | Ismael Carnales <icarnales@gmail.com> | 2009-10-30 18:32:25 -0200 |
---|---|---|
committer | Ismael Carnales <icarnales@gmail.com> | 2009-11-09 22:24:41 -0200 |
commit | b4999b495e828ff68a5c93f65a39efad5b37dcea (patch) | |
tree | 8b9455454362b8d66e11f7983b2b9d8b4318f411 /templates | |
parent | 7cd5c1f5a6dacd1aeab1a9a30e9af79e7e294482 (diff) |
changed landing view
- moved devel.views.siteindex to public.views.index
- using template from public view with added devel menu
- added extra styles and images
Diffstat (limited to 'templates')
-rw-r--r-- | templates/devel/siteindex.html | 60 | ||||
-rw-r--r-- | templates/public/index.html | 12 |
2 files changed, 12 insertions, 60 deletions
diff --git a/templates/devel/siteindex.html b/templates/devel/siteindex.html deleted file mode 100644 index ac0df767..00000000 --- a/templates/devel/siteindex.html +++ /dev/null @@ -1,60 +0,0 @@ -{% extends "base.html" %} - -{% block content_left %} - <div class="box-smalltext"> - <h3>Latest News</h2> - {% for news in news_updates %} - <span style="float:right;">{{ news.postdate }}</span> - <a href="{{ news.get_absolute_url }}">{{ news.title }}</a> - <br /> - {% endfor %} - <br /> - <span style="float:left;font-size:x-small"><a href="/news/">More News...</a></span> - <br /> - </div> - <br /> - <div class="box-smalltext"> - <table width="100%"> - <tr> - <td colspan="2"><h3>Recent Updates</h3></td> - </tr> - {% for pkg in pkg_updates %} - <tr> - <td><a href="{{ pkg.get_absolute_url }}">{{ pkg.pkgname }} {{ pkg.pkgver }}-{{ pkg.pkgrel }}</a></td> - <td style="text-align:right">{{ pkg.arch.name }}</td> - </tr> - {% endfor %} - <tr> - <td colspan="2" style="text-align:left;font-size:x-small"><br /><a href="/packages/?sort=-last_update">More Updates...</a></td> - </tr> - </table> - </div> - <br /> -{% endblock %} - -{% block content_right %} - <div id="search"> - <form method="get" action="/packages/"> - <p><b>Package Search:</b> <input type="text" name="q" size="20" maxlength="200" /></p> - </form> - </div> - <br clear="all" /> - <h3>Dev Links:</h3> - <ul class="links"> - <li><a href="/devel/">Dev Dashboard</a></li> - <li><a href="/news/">News</a></li> - <li><a href="/packages/signoffs/">Signoffs</a></li> - <li><a href="/todo/">Todos</a></li> - <li><a href="http://www.archlinux.org/mailman/private/arch-dev/">Archives</a></li> - <li><a href="http://wiki.archlinux.org/index.php/DeveloperWiki:HOWTO_Be_A_Packager">Package Maintainer's Guide</a></li> - <li><a href="/devel/profile/">Profile</a></li> - </ul> - <h3>Main Site Links:</h3> - <ul class="links"> - <li><a href="http://bugs.archlinux.org">Bug Tracker</a></li> - <li><a href="http://repos.archlinux.org/">SVN</a></li> - <li><a href="http://projects.archlinux.org">Projects</a></li> - <li><a href="http://www.archlinux.org/developers/">Developer List</a></li> - <li><a href="http://www.archlinux.org/fellows/">Fellows List</a></li> - </ul> -{% endblock %} diff --git a/templates/public/index.html b/templates/public/index.html index e092e289..4e5612d9 100644 --- a/templates/public/index.html +++ b/templates/public/index.html @@ -69,6 +69,18 @@ </table> </div> <br /> + {% if user.is_authenticated %} + <h3>Dev Links:</h3> + <ul class="links"> + <li><a href="/devel/">Dev Dashboard</a></li> + <li><a href="/news/">News</a></li> + <li><a href="/packages/signoffs/">Signoffs</a></li> + <li><a href="/todo/">Todos</a></li> + <li><a href="http://www.archlinux.org/mailman/private/arch-dev/">Archives</a></li> + <li><a href="http://wiki.archlinux.org/index.php/DeveloperWiki:HOWTO_Be_A_Packager">Package Maintainer's Guide</a></li> + <li><a href="/devel/profile/">Profile</a></li> + </ul> + {% endif %} <h3>Documentation:</h3> <ul class="links"> <li><a href="http://wiki.archlinux.org/index.php/Official_Arch_Linux_Install_Guide">Installation Guide</a></li> |