diff options
Diffstat (limited to 'templates/devel')
-rw-r--r-- | templates/devel/developers.html | 4 | ||||
-rw-r--r-- | templates/devel/fellows.html | 63 | ||||
-rw-r--r-- | templates/devel/index.html | 42 | ||||
-rw-r--r-- | templates/devel/siteindex.html | 30 |
4 files changed, 103 insertions, 36 deletions
diff --git a/templates/devel/developers.html b/templates/devel/developers.html index 6b1fe8b7..179e03aa 100644 --- a/templates/devel/developers.html +++ b/templates/devel/developers.html @@ -6,7 +6,7 @@ <br /><br /> <div id="devlist"> {% for dev in devs %} - <a href="#{{ dev.first_name}}">{{ dev.first_name }}</a> + <a href="#{{ dev.first_name}}{{ dev.last_name.0|upper }}">{{ dev.first_name }}{{ dev.last_name.0|upper }}</a> {% endfor %} </div><br /><br /> @@ -16,7 +16,7 @@ <td class="devpic"> <img src="{{ dev.get_profile.get_picture_url }}" height="175" width="175" style="border:1px solid black"> </td><td> - <a name="{{ dev.first_name }}" /> + <a name="{{ dev.first_name }}{{ dev.last_name.0|upper }}" /> <table class="deventry" cellspacing="5"> <tr> <th>Name:</th> diff --git a/templates/devel/fellows.html b/templates/devel/fellows.html new file mode 100644 index 00000000..8457f7e4 --- /dev/null +++ b/templates/devel/fellows.html @@ -0,0 +1,63 @@ +{% extends "base.html" %} + +{% block content %} +<div class="box"> + <h2 class="title">Arch Linux Fellows</h2> + Below you can find a list of ex-developers (aka Project Fellows). These folks helped make Arch + what it is today. Thanks! + <br /><br /> + <div id="devlist"> + {% for fellow in fellows %} + <a href="#{{ fellow.first_name}}{{ fellow.last_name.0|upper }}">{{ fellow.first_name }}{{ fellow.last_name.0|upper }}</a> + {% endfor %} + </div><br /><br /> + + <table class="center" cellpadding="20"> + {% for fellow in fellows %} + <tr> + <td class="devpic"> + <img src="{{ fellow.get_profile.get_picture_url }}" height="175" width="175" style="border:1px solid black"> + </td><td> + <a name="{{ fellow.first_name }}{{ fellow.last_name.0|upper }}" /> + <table class="deventry" cellspacing="5"> + <tr> + <th>Name:</th> + <td>{{ fellow.get_full_name }}</td> + </tr><tr> + <th>Alias:</th> + <td>{{ fellow.get_profile.alias }}</td> + </tr><tr> + <th>Past Roles:</th> + <td>{{ fellow.get_profile.roles }}<br /> + </td> + </tr><tr> + <th>Website:</th> + <td>{{ fellow.get_profile.website }}</td> + </tr><tr> + <th>Occupation:</th> + <td>{{ fellow.get_profile.occupation }}</td> + </tr><tr> + <th>YOB:</th> + <td>{% if fellow.get_profile.yob %}{{ fellow.get_profile.yob }}{% else %} {% endif %}</td> + </tr><tr> + <th>Location:</th> + <td>{{ fellow.get_profile.location }}</td> + </tr><tr> + <th>Languages:</th> + <td>{{ fellow.get_profile.languages }}</td> + </tr><tr> + <th>Interests:</th> + <td>{{ fellow.get_profile.interests }}</td> + </tr><tr> + <th>Favorite Distros:</th> + <td>{{ fellow.get_profile.favorite_distros }}</td> + </tr> + </table> + </td> + </tr> + {% endfor %} + </table> +</div> +<br /><br /> +{% endblock %} + diff --git a/templates/devel/index.html b/templates/devel/index.html index 939e7ecd..8c621cc5 100644 --- a/templates/devel/index.html +++ b/templates/devel/index.html @@ -23,18 +23,36 @@ {% endif %} <div class="greybox"> - <h3 class="title">Repository Package Stats</h3> + <h3 class="title">Stats by Architecture</h3> + <table class="results" width="100%"> + <tr> + <th width="50%">Arch</th> + <th># Packages</th> + <th># Flagged</th> + </tr> + {% for arch in arches %} + <tr class="{% cycle pkgr2,pkgr1 %}"> + <td><strong>{{ arch.name }}</strong></td> + <td><a href="/packages/?arch={{ arch.name }}"><strong>{{ arch.count }}</strong> packages</a></td> + <td><a href="/packages/?arch={{ arch.name }}&flagged_only=y"><strong>{{ arch.flagged }}</strong> packages</a></td> + </tr> + {% endfor %} + </table> + </div> + <br /><br /> + <div class="greybox"> + <h3 class="title">Stats by Repository</h3> <table class="results" width="100%"> <tr> <th width="50%">Repository</th> - <th># Package</th> + <th># Packages</th> <th># Flagged</th> </tr> {% for repo in repos %} <tr class="{% cycle pkgr2,pkgr1 %}"> - <td><a href="/packages/?repo={{ repo.name }}">{{ repo.name }}</a></td> - <td><strong>{{ repo.count }}</strong> packages</td> - <td><strong>{{ repo.flagged }}</strong> packages</td> + <td><strong>{{ repo.name }}</strong></td> + <td><a href="/packages/?repo={{ repo.name }}"><strong>{{ repo.count }}</strong> packages</a></td> + <td><a href="/packages/?repo={{ repo.name }}&flagged_only=y"><strong>{{ repo.flagged }}</strong> packages</a></td> </tr> {% endfor %} </table> @@ -42,20 +60,18 @@ <br /><br /> <div class="greybox"> - <h3 class="title">Maintainer Package Stats</h3> + <h3 class="title">Stats by Maintainer</h3> <table class="results" width="100%"> <tr> <th width="50%">Maintainer</th> - <th># Package</th> + <th># Packages</th> <th># Flagged</th> - <th># Flagged notesting</th> </tr> {% for maint in stats %} <tr class="{% cycle pkgr2,pkgr1 %}"> - <td><a href="/packages/?maint={{ maint.0.id }}">{{ maint.0.get_full_name }}</a></td> - <td><strong>{{ maint.1 }}</strong> packages</td> - <td><strong>{{ maint.2 }}</strong> packages</td> - <td><strong>{{ maint.3 }}</strong> packages</td> + <td><strong>{{ maint.0.get_full_name }}</strong></td> + <td><a href="/packages/?maint={{ maint.0.id }}"><strong>{{ maint.1 }}</strong> packages</a></td> + <td><a href="/packages/?maint={{ maint.0.id }}&flagged_only=y"><strong>{{ maint.2 }}</strong> packages</a></td> </tr> {% endfor %} </table> @@ -86,7 +102,7 @@ </ul> <ul class="small"> {% for pkg in pkgs %} - <li><a href="/packages/{{ pkg.id }}/">{{ pkg.repo.name }}::{{ pkg.pkgname }} {{ pkg.pkgver }}</a></li> + <li><a href="/packages/{{ pkg.id }}/">{{ pkg.repo.name }}::{{ pkg.pkgname }} {{ pkg.pkgver }} {{ pkg.arch.name }}</a></li> {% endfor %} </ul> {% endif %} diff --git a/templates/devel/siteindex.html b/templates/devel/siteindex.html index 0c25fd8b..37bdba42 100644 --- a/templates/devel/siteindex.html +++ b/templates/devel/siteindex.html @@ -21,7 +21,7 @@ {% 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.category.category }}</td> + <td style="text-align:right">{{ pkg.arch.name }}</td> </tr> {% endfor %} <tr> @@ -101,29 +101,17 @@ <p><b>Package Search:</b> <input type="text" name="q" size="20" maxlength="200" /></p> </form> </div> - <br /> - <div class="greybox"> - <h3>Package Repositories</h3> - <table id="repolinks"> - {% for repo in repos %} - <tr> - <th><a href="/packages/?repo={{ repo.name }}">{{ repo.name }}</a></th> - <td>{{ repo.last_update }}</td> - </tr> - {% endfor %} - </table> - </div> - <br /> - <h3>Dev Links:</h3> - <ul class="links"> - <li><a href="/devel/">Dev Dashboard</a></li> - <li><a href="/developers/">Developer List</a></li> - </ul> - <br /> + <br clear="all" /> + <h3>Dev Links:</h3> + <ul class="links"> + <li><a href="/devel/">Dev Dashboard</a></li> + <li><a href="/developers/">Developer List</a></li> + <li><a href="/fellows/">Fellows List</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://archlinux.org/cvs/">CVS</a></li> + <li><a href="http://repos.archlinux.org/viewvc.cgi/">SVN</a></li> <li><a href="http://projects.archlinux.org">Projects</a></li> </ul> {% endblock %} |