Permalink
Browse files

added sign up link to the sidebar, styled links

  • Loading branch information...
1 parent f69df8c commit 1e68be651d9b2b2d0c01a28cb405e4e10eb5902d Yulka Plekhanova committed Jul 6, 2012
Showing with 40 additions and 16 deletions.
  1. +1 −1 symposion/static/css/site.css
  2. +16 −0 symposion/static/less/site.less
  3. +23 −15 symposion/templates/account/_openid_sidebar.html

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -746,3 +746,19 @@ div.box-content .markItUpEditor {
float: left;
left: -20px;
}
+
+section.widget {
+ padding:0 0 10px 0;
+ margin-bottom:20px;
+ background: url(../img/dotted_ln_b.png) repeat-x left bottom;
+
+ &.last {
+ background:none;
+ }
+
+ h4 {
+ font-weight:uppercase;
+ margin-bottom:10px;
+ font-size:16px;
+ }
+}
@@ -1,19 +1,27 @@
{% load i18n %}
{% load url from future %}
-<h4>{% trans "Sign in with another account:" %}</h4>
-<ul>
- <li>
- <a href="{% url "socialauth_begin" "google" %}">Sign-in using Google</a>
- </li>
- <li>
- <a href="{% url "socialauth_begin" "yahoo" %}">Sign-in using Yahoo!</a>
- </li>
-</ul>
+<section class="widget">
+ <h4>{% trans "Sign in with another account:" %}</h4>
+ <ul class="unstyled">
+ <li>
+ <a href="{% url "socialauth_begin" "google" %}">Sign-in using Google</a>
+ </li>
+ <li>
+ <a href="{% url "socialauth_begin" "yahoo" %}">Sign-in using Yahoo!</a>
+ </li>
+ </ul>
+</section>
-<h4>{% trans "Sign in with OpenID" %}</h4>
-<form action="{% url "socialauth_begin" "openid" %}" method="POST" autocapitalize="off" class"form-inline">
- {% csrf_token %}
- <input class="openid" type="text" name="openid_identifier" placeholder="Your OpenID Identifier" />
- <input type="submit" value="{% trans "Sign in" %}" class="btn btn-primary" />
-</form>
+<section class="widget">
+ <h4>{% trans "Sign in with OpenID" %}</h4>
+ <form action="{% url "socialauth_begin" "openid" %}" method="POST" autocapitalize="off" class"form-inline">
+ {% csrf_token %}
+ <input class="openid" type="text" name="openid_identifier" placeholder="Your OpenID Identifier" />
+ <input type="submit" value="{% trans "Sign in" %}" class="btn btn-primary" />
+ </form>
+</section>
+<section class="widget last">
+ <h4>{% trans "Don't have an account? "%}</h4>
+ <p><a href="{% url "account_signup" %}">Sign up now!</a></p>
+</section>

0 comments on commit 1e68be6

Please sign in to comment.