summaryrefslogtreecommitdiff
path: root/templates/public
diff options
context:
space:
mode:
authorThayer Williams <thayerw@gmail.com>2010-03-16 11:26:38 -0700
committerDan McGee <dan@archlinux.org>2010-05-17 14:49:44 -0500
commit49651ce0d5ca09f7e63b3a179b0017e8e3aed477 (patch)
tree8d15c76296f548faa2a0f61ae25f60d707da4563 /templates/public
parent035fff33289e20407edd68ec61089aea1de1a36e (diff)
Redesigned developer profiles
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/public')
-rw-r--r--templates/public/developer_list.html112
1 files changed, 60 insertions, 52 deletions
diff --git a/templates/public/developer_list.html b/templates/public/developer_list.html
index ff38b26a..61a612c6 100644
--- a/templates/public/developer_list.html
+++ b/templates/public/developer_list.html
@@ -1,59 +1,67 @@
- <div id="devlist">
+<div id="arch-bio-toc">
+
+ <p>
{% for dev in dev_list %}
- <a href="#{{ dev.username }}">{{ dev.first_name }}{{ dev.last_name.0|capfirst}}</a> &nbsp;
+ <a href="#{{ dev.username }}" title="Jump to profile for {{ dev.get_full_name }}">
+ {{ dev.first_name }}{{ dev.last_name.0|capfirst}}</a> &nbsp;&nbsp;
{% endfor %}
- </div><br /><br />
+ </p>
+
+</div>
- <table class="center" cellpadding="20">
+<table class="arch-bio-entry">
{% for dev in dev_list %}
{% with dev.get_profile as prof %}
- <tr>
- <td class="devpic">
- <img src="{{ prof.picture.url }}" height="175" width="175" style="border:1px solid black" alt="Image for {{ prof.alias }}"/>
- </td><td>
- <a name="{{ dev.username }}"></a>
- <table class="deventry" cellspacing="5">
- <tr>
- <th>Name:</th>
- <td>{{ dev.get_full_name }}</td>
- </tr><tr>
- <th>Alias:</th>
- <td>{{ prof.alias }}</td>
- </tr><tr>
- <th>Email:</th>
- <td>{{ prof.public_email }}</td>
- </tr><tr>
- <th>Other Contact:</th>
- <td>{{ prof.other_contact }}</td>
- </tr><tr>
- <th>Roles:</th>
- <td>{{ prof.roles }}<br />
- </td>
- </tr><tr>
- <th>Website:</th>
- <td>{% if prof %}<a href="{{ prof.website }}">{{ prof.website }}</a>{% endif %}</td>
- </tr><tr>
- <th>Occupation:</th>
- <td>{{ prof.occupation }}</td>
- </tr><tr>
- <th>YOB:</th>
- <td>{% if prof.yob %}{{ prof.yob }}{% endif %}</td>
- </tr><tr>
- <th>Location:</th>
- <td>{{ prof.location }}</td>
- </tr><tr>
- <th>Languages:</th>
- <td>{{ prof.languages }}</td>
- </tr><tr>
- <th>Interests:</th>
- <td>{{ prof.interests }}</td>
- </tr><tr>
- <th>Favorite Distros:</th>
- <td>{{ prof.favorite_distros }}</td>
- </tr>
- </table>
- </td>
- </tr>
+ <tr>
+ <td class="pic pic-{{ dev.username }}">
+ <img src="{{ prof.picture.url }}" height="125" width="125" alt="Image for {{ prof.alias }}"/>
+ </td>
+ <td>
+ <a name="{{ dev.username }}"></a>
+ <table class="bio bio-{{ dev.username }}" cellspacing="0">
+ <tr>
+ <th>Name:</th>
+ <td>{{ dev.get_full_name }}</td>
+ </tr><tr>
+ <th>Alias:</th>
+ <td>{{ prof.alias }}</td>
+ </tr><tr>
+ <th>Email:</th>
+ <td>{{ prof.public_email }}</td>
+ </tr><tr>
+ <th>Other Contact:</th>
+ <td>{{ prof.other_contact }}</td>
+ </tr><tr>
+ <th>Roles:</th>
+ <td>{{ prof.roles }}<br />
+ </td>
+ </tr><tr>
+ <th>Website:</th>
+ <td>{% if prof %}<a href="{{ prof.website }}"
+ title="Visit the website for {{ dev.get_full_name }}">
+ {{ prof.website }}</a>{% endif %}</td>
+ </tr><tr>
+ <th>Occupation:</th>
+ <td>{{ prof.occupation }}</td>
+ </tr><tr>
+ <th>YOB:</th>
+ <td>{% if prof.yob %}{{ prof.yob }}{% endif %}</td>
+ </tr><tr>
+ <th>Location:</th>
+ <td>{{ prof.location }}</td>
+ </tr><tr>
+ <th>Languages:</th>
+ <td>{{ prof.languages }}</td>
+ </tr><tr>
+ <th>Interests:</th>
+ <td>{{ prof.interests }}</td>
+ </tr><tr>
+ <th>Favorite Distros:</th>
+ <td>{{ prof.favorite_distros }}</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
{% endwith %}
{% endfor %}
- </table>
+</table>