Mercurial > personas_backend
changeset 190:7e12b3addf0a
adding minimalist view
author | root@sm-labs01.mozilla.org |
---|---|
date | Thu, 17 Apr 2008 11:37:56 -0700 |
parents | 22a3404c930d |
children | 7dddbdf7a2a0 |
files | media/css/minimalist.css personasbackend/personas/templates/personas/minimalist_base.html personasbackend/personas/templates/personas/minimalist_base.html~ personasbackend/personas/templates/personas/thumbnail.html |
diffstat | 4 files changed, 61 insertions(+), 74 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/media/css/minimalist.css Thu Apr 17 11:37:56 2008 -0700 @@ -0,0 +1,58 @@ +body { + font-family: Tahoma, Arial, Helvetica, sans-serif; + font-size: 12px; + color: #003663; +} + +a:link +{ + color: #CC6600; + text-decoration: none; +} + +a:visited +{ + color: #CC6600; + text-decoration: none; +} + +a:hover +{ + color: #FF9933; + text-decoration: underline; +} + +h2.persona-name { + font-size: 14px; + font-weight: semi-bold; +} + +.persona-form tr { + vertical-align: top; + text-align: left; + font-size: 10px; +} + +.persona-form label { + font-weight: normal; + font-size: 12px; +} + +ul.errorlist { + font-weight: bold; + list-style-type: none; + padding: 0px; + margin: 0px 0px 10px 0px; + color: red; +} + +.persona-developer-agreement { + font-size: 12px; +} + +.form-section { + background-color: #eeeeee; + padding: 4px; + margin: 8px 0px 8px 0px; + font-size: 18px; +}
--- a/personasbackend/personas/templates/personas/minimalist_base.html Thu Apr 17 11:32:20 2008 -0700 +++ b/personasbackend/personas/templates/personas/minimalist_base.html Thu Apr 17 11:37:56 2008 -0700 @@ -6,7 +6,7 @@ <title>{{ section.name }} :: {{ site_name }}</title> <link rel="stylesheet" type="text/css" - href="{{ MEDIA_URL }}css/otherpages.css" /> + href="{{ MEDIA_URL }}css/minimalist.css" /> <link rel="shortcut icon" href="{{ MEDIA_URL }}img/favicon.ico" type="image/x-icon" /> <script type="text/javascript"
--- a/personasbackend/personas/templates/personas/minimalist_base.html~ Thu Apr 17 11:32:20 2008 -0700 +++ b/personasbackend/personas/templates/personas/minimalist_base.html~ Thu Apr 17 11:37:56 2008 -0700 @@ -13,77 +13,6 @@ src="{{ MEDIA_URL }}js/personas.js"></script> </head> <body> - <div id="content"> - <div id="top"> - - <img src="http://labs.mozilla.com/projects/personas/images/personas-logo-beta.png" - alt="Personas for Firefox" /> - </div> - - <div id="bottom"> - <div><img src="http://labs.mozilla.com/projects/personas/images/otherpages-table-top.png" alt="" /></div> - - <div class="table_middle"> - <div id="sidebar"> - <div class="menu-box"> - <ul> - {% for entry in sidebar_entries %} - {% ifequal entry.name section.name %} - <li class="selected"> - <a href="{{ entry.url }}">{{entry.name}}</a> - </li> - {% else %} - <li><a href="{{ entry.url }}">{{ entry.name }}</a></li> - {% endifequal %} - {% endfor %} - </ul> - </div> - {% if user.is_authenticated %} - <p>Logged in as {{ user.email }}.</p> - <p><a href="{% url logout %}">Log out</a></p> - {% else %} - <a href="https://services.mozilla.com/" >Register</a> | - <a href="{% url login %}">Log in</a> - {% endif %} - </div> - - <div id="section-content"> - <div class="title"> - {% block title %} - {% if title %}{{ title }}{% else %}{{ section.name }}{% endif %} - {% endblock %} - </div> - <div class="divider"></div> - - <div class="details"> - {% if messages %} - {% for message in messages %} - <div class="message">{{ message }}</div> - {% endfor %} - {% endif %} - {% block content %}{% endblock %} - </div> - </div> - - <div><img src="http://labs.mozilla.com/projects/personas/images/otherpages-table-foot.png" alt="" /></div> - - </div> - - <div id="footer"> - <div class="labs"> - <a href="http://labs.mozilla.com"><img src="http://labs.mozilla.com/projects/personas/images/mozilla-labs-large.png" alt="Mozilla Labs" border="0" /></a> - - Personas for Firefox is a <a href="http://labs.mozilla.com">Mozilla Labs Project</a>. - </div> - <div class="legal"> - © 2007 Mozilla - <span> - <a href="http://www.mozilla.com/en-US/about/legal.html">Legal Notices</a> | - <a href="http://www.mozilla.com/en-US/privacy-policy.html">Privacy Policy</a> - </span> - </div> - </div> - </div> - </div> +{% block content %}{% endblock %} </body> </html>
--- a/personasbackend/personas/templates/personas/thumbnail.html Thu Apr 17 11:32:20 2008 -0700 +++ b/personasbackend/personas/templates/personas/thumbnail.html Thu Apr 17 11:37:56 2008 -0700 @@ -8,4 +8,4 @@ category="{{ persona.category.json_id }}" src="{{ persona.thumbnail_url }}" class="preview-image" alt="" /> -</div> +</div> \ No newline at end of file