]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/auth/signin.html
New optional admin interface, and closing OSQA 253.
[osqa.git] / forum / skins / default / templates / auth / signin.html
index 798faeba267c4b95bfbae260149d4453f9867675..e5d8fdbddcb8fe73d2f7c2d7ba5747385178d320 100644 (file)
@@ -24,7 +24,7 @@
            {% trans "User login" %}\r
     </div>\r
     {% if msg %}\r
-        <p class="warning">{{ msg }}</p>\r
+        <p class="error">{{ msg }}</p>\r
     {% endif %}\r
     {% for provider in top_stackitem_providers %}\r
         <form class="signin_form" method="POST" action="{% url auth_provider_signin provider=provider.id %}">\r
         <h3 class="or_label">{% trans 'Or...' %}</h3>\r
     {% endif %}\r
     <div style="width:600px;float:left;margin-bottom:5px;">\r
-        {% trans "Click to sign in through any of these services." %}\r
+    {% blocktrans %}\r
+        External login services use <b><a href="http://openid.net/">OpenID</a></b> technology, where your password always stays confidential between\r
+        you and your login provider and you don't have to remember another one.\r
+    {% endblocktrans %}\r
     </div>\r
     {% if request.user.is_anonymous %}\r
         <div style="width:600px;float:left;margin-bottom:5px;">\r
     <div id="bigicon_providers">\r
         {% for provider in bigicon_providers %}\r
             <div class="provider_logo big" name="{{ provider.id }}">\r
-                {% ifequal provider.type "DIRECT" %}\r
-                    <a class="provider_direct" href="{% url auth_provider_signin provider=provider.id %}">\r
-                        <img src="{% media provider.icon %}" />\r
-                    </a>\r
-                {% endifequal %}\r
-                {% ifequal provider.type "CUSTOM" %}\r
-                    {% include provider.code_template %}\r
-                {% endifequal %}\r
-                {% ifequal provider.type "SIMPLE_FORM" %}\r
-                    <img alt="{{ provider.simple_form_context.your_what }}" class="simple_form_provider" src="{% media provider.icon %}" />\r
-                {% endifequal %}\r
+                <div class="inner">\r
+                    {% ifequal provider.type "DIRECT" %}\r
+                        <a class="provider_direct" href="{% url auth_provider_signin provider=provider.id %}">\r
+                            <img src="{% media provider.icon %}" />\r
+                        </a>\r
+                    {% endifequal %}\r
+                    {% ifequal provider.type "CUSTOM" %}\r
+                        {% include provider.code_template %}\r
+                    {% endifequal %}\r
+                    {% ifequal provider.type "SIMPLE_FORM" %}\r
+                        <img alt="{{ provider.simple_form_context.your_what }}" class="simple_form_provider" src="{% media provider.icon %}" />\r
+                    {% endifequal %}\r
+                </div>\r
             </div>\r
         {% endfor %}\r
     </div>\r
     <div id="smallicon_providers">\r
         {% for provider in smallicon_providers %}\r
             <div class="provider_logo small" name="{{ provider.id }}">\r
-                {% ifequal provider.type "DIRECT" %}\r
-                    <a class="provider_direct" href="{% url auth_provider_signin provider=provider.id %}">\r
-                        <img src="{% media provider.icon %}" />\r
-                    </a>\r
-                {% endifequal %}\r
-                {% ifequal provider.type "CUSTOM" %}\r
-                    {% include provider.code_template %}\r
-                {% endifequal %}\r
-                {% ifequal provider.type "SIMPLE_FORM" %}\r
-                    <img alt="{{ provider.simple_form_context.your_what }}" class="simple_form_provider" src="{% media provider.icon %}" />\r
-                {% endifequal %}\r
+                <div class="inner">\r
+                    {% ifequal provider.type "DIRECT" %}\r
+                        <a class="provider_direct" href="{% url auth_provider_signin provider=provider.id %}">\r
+                            <img src="{% media provider.icon %}" />\r
+                        </a>\r
+                    {% endifequal %}\r
+                    {% ifequal provider.type "CUSTOM" %}\r
+                        {% include provider.code_template %}\r
+                    {% endifequal %}\r
+                    {% ifequal provider.type "SIMPLE_FORM" %}\r
+                        <img alt="{{ provider.simple_form_context.your_what }}" class="simple_form_provider" src="{% media provider.icon %}" />\r
+                    {% endifequal %}\r
+                </div>\r
             </div>\r
         {% endfor %}\r
     </div>\r
         </form>\r
     {% endfor %}\r
     <h3 class="or_label">{% trans 'Or...' %}</h3>\r
-    <fieldset>\r
-        {% trans 'Click' %} <a href="{% url auth_request_tempsignin %}">here</a> {% trans "if you're having troubles signing in." %}\r
-    </fieldset>\r
+    <form name="signin_form" id="dummy_form_unused" class="signin_form" method="POST" action="">\r
+        <fieldset>\r
+            {% trans 'Click' %} <a href="{% url auth_request_tempsignin %}">here</a> {% trans "if you're having troubles signing in." %}\r
+        </fieldset>\r
+    </form>\r
     <script type="text/html" id="simple_form_template">\r
         <fieldset id="slot_form">\r
               <p id="provider_name_slot">{% trans 'Enter your ' %}%%YOUR_WHAT%%</p>\r
         <a href="http://openid.net/get/" target="_blank">{% trans "Get OpenID" %} </a>\r
     </p>\r
 </div>\r
-{% endblock%}
\ No newline at end of file
+{% endblock%}\r