diff --git a/server/.settings/org.eclipse.core.resources.prefs b/server/.settings/org.eclipse.core.resources.prefs index 36c9bb69..308802c9 100644 --- a/server/.settings/org.eclipse.core.resources.prefs +++ b/server/.settings/org.eclipse.core.resources.prefs @@ -83,6 +83,7 @@ encoding//src/uds/core/ui/theme.py=utf-8 encoding//src/uds/core/util/AutoAttributes.py=utf-8 encoding//src/uds/core/util/Cache.py=utf-8 encoding//src/uds/core/util/Config.py=utf-8 +encoding//src/uds/core/util/Decorators.py=utf-8 encoding//src/uds/core/util/OsDetector.py=utf-8 encoding//src/uds/core/util/State.py=utf-8 encoding//src/uds/core/util/StateQueue.py=utf-8 diff --git a/server/src/uds/core/util/Decorators.py b/server/src/uds/core/util/Decorators.py index dc1dc6c7..7669fa9d 100644 --- a/server/src/uds/core/util/Decorators.py +++ b/server/src/uds/core/util/Decorators.py @@ -1,8 +1,36 @@ -''' -Created on Feb 6, 2012 +# -*- coding: utf-8 -*- + +# +# Copyright (c) 2012 Virtual Cable S.L. +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without modification, +# are permitted provided that the following conditions are met: +# +# * Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# * Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# * Neither the name of Virtual Cable S.L. nor the names of its contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -@author: dkmaster ''' +@author: Adolfo Gómez, dkmaster at dkmon dot com +''' +from __future__ import unicode_literals from time import sleep from functools import wraps diff --git a/server/src/uds/static/css/uds-html5.css b/server/src/uds/static/css/uds-html5.css index bb663c29..a0403663 100644 --- a/server/src/uds/static/css/uds-html5.css +++ b/server/src/uds/static/css/uds-html5.css @@ -28,9 +28,9 @@ footer { } -#transport { - margin-top: 32px; - margin-bottom: 32px; +.transport { + width: 48px; + height: 48px; } /* Sample "info" (footer) text, to be placed after (c) Virtualcable */ @@ -110,7 +110,7 @@ footer { .form-preferences legend { margin-top: 20px; padding-left: 16px; - background-color: #f7f7f7; + background-color: #e7e7e7; -moz-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3); -webkit-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3); box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3); diff --git a/server/src/uds/templates/uds/html5/index.html b/server/src/uds/templates/uds/html5/index.html index 7097fbdc..1bbdc22b 100644 --- a/server/src/uds/templates/uds/html5/index.html +++ b/server/src/uds/templates/uds/html5/index.html @@ -39,7 +39,7 @@ }); {% endif %} - $(".btn-default").tooltip({container: 'body', placement: 'bottom'}); + $('.transport-caption-small').popover({container: 'body', trigger: 'hover', delay: { show: 500, hide: 100 }, placement: 'auto bottom'}); }); {% endblock %} @@ -55,8 +55,7 @@ href="{% url "uds.web.views.service" idService=ser.id idTransport=trans.id %}" title="{{ ser.name }}" data-toggle="tooltip"> -
-