diff --git a/server/src/uds/templates/uds/html5/index.html b/server/src/uds/templates/uds/html5/index.html index b32345653..124134321 100644 --- a/server/src/uds/templates/uds/html5/index.html +++ b/server/src/uds/templates/uds/html5/index.html @@ -1,25 +1,30 @@ {% extends "uds/html5/internal_page.html" %} {% load i18n static html5 %} +{% block title %}{% trans 'Available services list' %} + {% block css %} - + {% endblock %} {% block js %} @@ -34,6 +39,7 @@ }); {% endif %} + $(".btn-default").tooltip({container: 'body', placement: 'bottom'}); }); {% endblock %} @@ -43,22 +49,30 @@
{% for ser in services %} {% if ser.transports %} - {% with trans=ser.transports|first %} - {% if forloop.counter0 > 0 %} - {% endif %} -
- -
+ {% with trans=ser.transports|first numTransports=ser.transports|length %} +
+ +
{{ ser.name }}
+
{{ ser.name|truncatechars:12 }}
+
+ {% if numTransports > 1 %} + + + {% endif %} +
{% endwith %} - {% endif %} {% endfor %}
diff --git a/server/src/uds/templates/uds/html5/login.html b/server/src/uds/templates/uds/html5/login.html index e40500689..a20e3d59c 100644 --- a/server/src/uds/templates/uds/html5/login.html +++ b/server/src/uds/templates/uds/html5/login.html @@ -1,7 +1,7 @@ {% extends "uds/html5/base.html" %} {% load i18n static html5 %} -{% block title %}{% trans "Login to UDS" %}{% endblock %} +{% block title %}{% trans 'Welcome to UDS' %}{% endblock %} {% block js %} diff --git a/server/src/uds/templates/uds/html5/prefs.html b/server/src/uds/templates/uds/html5/prefs.html new file mode 100644 index 000000000..930d84cca --- /dev/null +++ b/server/src/uds/templates/uds/html5/prefs.html @@ -0,0 +1,21 @@ +{% extends "uds/internal_page.html" %} +{% load i18n %} +{% load static %} + +{% block title %} +{% trans "UDS User Preferences" %} +{% endblock %} + +{% block content %} +
+ +

{% trans "Preferences" %}

+
+ {% csrf_token %} + {% autoescape off %}{{ prefs_form }}{% endautoescape %} + +
+ {% include "uds/snippets/back_to_list.html" %} + +
+{% endblock %} \ No newline at end of file