Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Small fixes to the Persona login in button CSS

Roland Geiderf62a1a632774
diff --git a/wger/manager/static/css/persona-buttons.css b/wger/manager/static/css/persona-buttons.css
index cd7e387b7..8f32bd8b9 100644
--- a/wger/manager/static/css/persona-buttons.css
+++ b/wger/manager/static/css/persona-buttons.css
@@ -1,9 +1,12 @@
/* Link body */
+#browserid-login{
+ color: #fff;
+}
.persona-button{
color: #fff;
display: inline-block;
font-size: 14px;
- font-family: Helvetica, Arial, sans-serif;
+ font-family: "Open Sans Light", Arial, Helvetica, sans-serif;
font-weight: bold;
line-height: 1.1;
overflow: hidden;
@@ -156,7 +159,7 @@
}
/* ========================================================
- * Dark button
+ * Dark button
* ===================================================== */
.persona-button.dark{
background: #3c3c3c;
@@ -192,7 +195,7 @@
}
/* ========================================================
- * Orange button
+ * Orange button
* ===================================================== */
.persona-button.orange{
background: #ee731a;
diff --git a/wger/manager/templates/mobile/template.html b/wger/manager/templates/mobile/template.html
index 379736599..55bf504d6 100644
--- a/wger/manager/templates/mobile/template.html
+++ b/wger/manager/templates/mobile/template.html
@@ -119,5 +119,7 @@
</div><!-- /page -->
+<script src="https://login.persona.org/include.js" type="text/javascript"></script>
+<script src="{% static 'js/browserid.js' %}" type="text/javascript"></script>
</body>
</html>
diff --git a/wger/manager/templates/mobile/user/login.html b/wger/manager/templates/mobile/user/login.html
index 8166855e5..02a3bcc26 100644
--- a/wger/manager/templates/mobile/user/login.html
+++ b/wger/manager/templates/mobile/user/login.html
@@ -62,8 +62,8 @@
<p>
<a href="{% url 'wger.manager.views.user.registration' %}" data-role="button">
<img src="{% static 'images/icons/register.svg' %}"
- width="48"
- height="48"
+ width="32"
+ height="32"
alt="{% trans 'Register' %}">
{% trans "Register" %}</a>
</p>
@@ -72,8 +72,8 @@
<p>
<a href="{% url 'django.contrib.auth.views.password_reset' %}" data-role="button">
<img src="{% static 'images/icons/reset-password.svg' %}"
- width="48"
- height="48"
+ width="32"
+ height="32"
alt="{% trans 'Reset password' %}">
{% trans "Reset password" %}</a>
</p>
diff --git a/wger/manager/templates/user/login.html b/wger/manager/templates/user/login.html
index ba33b101a..d092931d4 100644
--- a/wger/manager/templates/user/login.html
+++ b/wger/manager/templates/user/login.html
@@ -62,9 +62,9 @@
<p>
<a href="{% url 'wger.manager.views.user.registration' %}">
<img src="{% static 'images/icons/register.svg' %}"
- width="48"
- height="48"
- alt="{% trans 'Register' %}">
+ width="32"
+ height="32"
+ alt="{% trans 'Register' %}">
{% trans "Register" %}</a>
</p>
@@ -72,9 +72,9 @@
<p>
<a href="{% url 'django.contrib.auth.views.password_reset' %}">
<img src="{% static 'images/icons/reset-password.svg' %}"
- width="48"
- height="48"
- alt="{% trans 'Reset password' %}">
+ width="32"
+ height="32"
+ alt="{% trans 'Reset password' %}">
{% trans "Reset password" %}</a>
</p>