diff options
author | Pavlos Ratis <dastergon@gentoo.org> | 2013-07-01 03:40:22 +0300 |
---|---|---|
committer | Pavlos Ratis <dastergon@gentoo.org> | 2013-07-01 03:40:22 +0300 |
commit | 2965d6b880c58108f97f52270900db0f09988d6c (patch) | |
tree | 68ec90005ba1ddd918ad78a2aab79685e996f130 /okupy/templates | |
parent | add data retrieval support from LDAP to user page (diff) | |
download | identity.gentoo.org-2965d6b880c58108f97f52270900db0f09988d6c.tar.gz identity.gentoo.org-2965d6b880c58108f97f52270900db0f09988d6c.tar.bz2 identity.gentoo.org-2965d6b880c58108f97f52270900db0f09988d6c.zip |
fix indent, misc other fixes
Diffstat (limited to 'okupy/templates')
-rw-r--r-- | okupy/templates/base.html | 58 | ||||
-rw-r--r-- | okupy/templates/index.html | 54 |
2 files changed, 57 insertions, 55 deletions
diff --git a/okupy/templates/base.html b/okupy/templates/base.html index 3b0a58c..f96a6a2 100644 --- a/okupy/templates/base.html +++ b/okupy/templates/base.html @@ -42,40 +42,40 @@ </ul> </li> </ul> - <ul class="nav pull-right"> + <ul class="nav pull-right"> <li class="divider-vertical"></li> <li class="dropdown"> - <a href="#" class="dropdown-toggle" data-toggle="dropdown">gentoo.org Sites <b class="caret"></b></a> + <a href="#" class="dropdown-toggle" data-toggle="dropdown">gentoo.org Sites <b class="caret"></b></a> + <ul class="dropdown-menu"> + <li><a href="http://www.gentoo.org/">gentoo.org</a></li> + <li><a href="http://wiki.gentoo.org/" title="Find and contribute documentation">Wiki</a></li> + <li><a href="https://bugs.gentoo.org/" title="Report issues and find common issues">Bugs</a></li> + <li><a href="http://forums.gentoo.org/" title="Discuss with the community">Forums</a></li> + <li><a href="http://packages.gentoo.org/" title="Find software for your Gentoo">Packages</a></li> + <li class="divider"></li> + <li><a href="http://archives.gentoo.org/" title="Read up on past discussions">Archives</a></li> + <li><a href="http://overlays.gentoo.org/" title="Collaborate on maintaining packages">Overlays</a></li> + <li><a href="http://planet.gentoo.org/" title="Find out what's going on in the developer community">Planet</a></li> + <li><a href="http://sources.gentoo.org/" title="Browse our source code">Sources</a></li> + </ul> + </li> + {% if user.is_authenticated %} + <li class="divider-vertical"></li> + <li class="dropdown"> + <a href="#" class="dropdown-toggle" data-toggle="dropdown">{{ user }}<b class="caret"></b></a> <ul class="dropdown-menu"> - <li><a href="http://www.gentoo.org/">gentoo.org</a></li> - <li><a href="http://wiki.gentoo.org/" title="Find and contribute documentation">Wiki</a></li> - <li><a href="https://bugs.gentoo.org/" title="Report issues and find common issues">Bugs</a></li> - <li><a href="http://forums.gentoo.org/" title="Discuss with the community">Forums</a></li> - <li><a href="http://packages.gentoo.org/" title="Find software for your Gentoo">Packages</a></li> - <li class="divider"></li> - <li><a href="http://archives.gentoo.org/" title="Read up on past discussions">Archives</a></li> - <li><a href="http://overlays.gentoo.org/" title="Collaborate on maintaining packages">Overlays</a></li> - <li><a href="http://planet.gentoo.org/" title="Find out what's going on in the developer community">Planet</a></li> - <li><a href="http://sources.gentoo.org/" title="Browse our source code">Sources</a></li> + <li><a href="/" title="View Profile">View Profile</a></li> + <li><a href="#" title="Edit Profile">Edit Profile</a></li> + <li><a href="#" title="Invite others">Invite</a></li> + <li><a href="/logout/" title="Logout">Logout</a></li> </ul> - </li> - {% if user.is_authenticated %} - <li class="divider-vertical"></li> - <li class="dropdown"> - <a href="#" class="dropdown-toggle" data-toggle="dropdown">{{ user }}<b class="caret"></b></a> - <ul class="dropdown-menu"> - <li><a href="/" title="View Profile">View Profile</a></li> - <li><a href="#" title="Edit Profile">Edit Profile</a></li> - <li><a href="#" title="Invite others">Invite</a></li> - <li><a href="/logout/" title="Logout">Logout</a></li> - </ul> - </li> - {% endif %} - </ul> + </li> + {% endif %} + </ul> </div> - </div> -</div> -</div> + </div> + </div> + </div> <div class="wrap"> <div class="container" id="main"> {% block content %}{% endblock %} diff --git a/okupy/templates/index.html b/okupy/templates/index.html index bb26a2e..fc15faa 100644 --- a/okupy/templates/index.html +++ b/okupy/templates/index.html @@ -8,34 +8,34 @@ <div class="row-fluid"> <div class="row-fluid"> <p><div class="span12"> - <h3>Personal Information</h3><br /> - <table class="table table-bordered table-striped table-condensed fixed-cell" id="yw0"> - {% for key,attr in ldap_personal_info.items %} - <tr class={% cycle 'odd' 'even' %}><th>{{ key }}</th><td>{{ attr }}</td></tr> - {% endfor %} - </table> - </p> - </div> - </div> + <h3>Personal Information</h3><br /> + <table class="table table-bordered table-striped table-condensed fixed-cell" id="yw0"> + {% for key,attr in ldap_personal_info.items %} + <tr class={% cycle 'odd' 'even' %}><th>{{ key }}</th><td>{{ attr }}</td></tr> + {% endfor %} + </table> + </p> + </div> + </div> <div class="row-fluid"> <p><div class="span12"> - <h3>Contact Information</h3><br /> - <table class="table table-bordered table-striped table-condensed fixed-cell" id="yw1"> - {% for key,attr in ldap_contact_info.items %} - <tr class={% cycle 'odd' 'even' %}><th>{{ key }}</th><td>{{ attr }}</td></tr> - {% endfor %} - </table> - </p> - </div> - </div> - <div class="row-fluid"> - <p><div class="span12"> - <h3>Gentoo related Information</h3><br /> - <table class="table table-bordered table-striped table-condensed fixed-cell" id="yw1"> - {% for key,attr in ldap_gentoo_info.items %} - <tr class={% cycle 'odd' 'even' %}><th>{{ key }}</th><td>{{ attr }}</td></tr> - {% endfor %} - </table></p> + <h3>Contact Information</h3><br /> + <table class="table table-bordered table-striped table-condensed fixed-cell" id="yw1"> + {% for key,attr in ldap_contact_info.items %} + <tr class={% cycle 'odd' 'even' %}><th>{{ key }}</th><td>{{ attr }}</td></tr> + {% endfor %} + </table> + </p> + </div> + </div> + <div class="row-fluid"> + <p><div class="span12"> + <h3>Gentoo related Information</h3><br /> + <table class="table table-bordered table-striped table-condensed fixed-cell" id="yw1"> + {% for key,attr in ldap_gentoo_info.items %} + <tr class={% cycle 'odd' 'even' %}><th>{{ key }}</th><td>{{ attr }}</td></tr> + {% endfor %} + </table></p> </div> </div> </div> @@ -44,3 +44,5 @@ </div> </div> {% endblock %} + +{# vim:se fileencoding=utf8 et ts=4 sts=4 sw=4 ft=htmldjango : #} |