From 657cba042aae9f3d767f820e67550ce09b8a6149 Mon Sep 17 00:00:00 2001 From: Gavin Mogan Date: Mon, 22 Mar 2021 17:25:38 -0700 Subject: [PATCH] Use btn classes on anchors not div so the entire button is clickable --- cps/templates/admin.html | 12 ++++++------ cps/templates/logviewer.html | 4 ++-- cps/templates/user_edit.html | 6 +++--- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/cps/templates/admin.html b/cps/templates/admin.html index fb0c758f..e762c0c2 100644 --- a/cps/templates/admin.html +++ b/cps/templates/admin.html @@ -41,7 +41,7 @@ {% endif %} {% endfor %} -
{{_('Add New User')}}
+ {{_('Add New User')}} {% if (config.config_login_type == 1) %}
{{_('Import LDAP Users')}}
{% endif %} @@ -75,7 +75,7 @@ {% endif %} -
{{_('Edit E-mail Server Settings')}}
+ {{_('Edit E-mail Server Settings')}} @@ -134,15 +134,15 @@ {% endif %} -
{{_('Edit Basic Configuration')}}
-
{{_('Edit UI Configuration')}}
+ {{_('Edit Basic Configuration')}} + {{_('Edit UI Configuration')}}

{{_('Administration')}}

- - + {{_('Download Debug Package')}} + {{_('View Logs')}}
{{_('Reconnect Calibre Database')}}
diff --git a/cps/templates/logviewer.html b/cps/templates/logviewer.html index 9827d15e..db27bdf4 100644 --- a/cps/templates/logviewer.html +++ b/cps/templates/logviewer.html @@ -15,10 +15,10 @@
{% if log_enable %} - + {{_('Download Calibre-Web Log')}} {% endif %} {% if accesslog_enable %} - + {{_('Download Access Log')}} {% endif %}
diff --git a/cps/templates/user_edit.html b/cps/templates/user_edit.html index 90a32acc..84791fcb 100644 --- a/cps/templates/user_edit.html +++ b/cps/templates/user_edit.html @@ -16,7 +16,7 @@
{% if ( g.user and g.user.role_passwd() or g.user.role_admin() ) and not content.role_anonymous() %} {% if g.user and g.user.role_admin() and not new_user and not profile and ( mail_configured and content.email if content.email != None ) %} -
{{_('Reset user Password')}}
+ {{_('Reset user Password')}} {% endif %}
@@ -52,9 +52,9 @@
{% if id not in oauth_status %} -
{{_('Link')}}
+ {{_('Link')}} {% else %} -
{{_('Unlink')}}
+ {{_('Unlink')}} {% endif %} {% endfor %}