Univention Bugzilla – Bug 31700
Revise UCS overview site
Last modified: 2013-11-19 06:42:56 CET
The UCS overview site http://<Server IP> should be revised. The interface for 3rd party apps should be compatible at least for UCS 3.2.
ucs-overview supports switching between different languages. However, the available languages (english and german) are hardcoded in template files. While working on the overview an easier way to integrate more languages could be explored for future development.
(In reply to Erik Damrose from comment #1) > ucs-overview supports switching between different languages. However, the > available languages (english and german) are hardcoded in template files. > While working on the overview an easier way to integrate more languages > could be explored for future development. This has been respected, the localization is now very generic and extensible. Necessary variables are written via UCR template (see Bug 31805) into a JSON file which is read via JavaScript. Texts on the website itself are localized in JavaScript similar to UMC. univention-apache (6.0.1-1) unstable; urgency=low . * Bug #32022: revised UCS start site, replaced * Bug #31805: replace links via template files with UCR variables
Nice. I think the default page after the installation looks like an error: "There are currently no user web services installed." Would it be better to display the admin site in this case by default?
(In reply to Stefan Gohmann from comment #3) > Nice. > > I think the default page after the installation looks like an error: "There > are currently no user web services installed." Would it be better to display > the admin site in this case by default? Not sure, to be discussed. Initially, the word "Administration" was a link in the text which would open the administration tab. This, however, was not technically not as easy to realize properly.
It seems that the paddings to the window borders are not being adapted when shrinking the view on mobile devices. This used to work.
The tab with administration links is now shown in case no service links are available. The problems with margins/paddings on mobile devices has been resolved. The favicon was not displayed correctly, this has been resolved, as well. univention-apache (6.0.3-1) unstable; urgency=low . * Bug #31700: fixed favicon and margins for mobile devices
The old de.html and en.html still exists. Also the new redirect rule does not match, patch: Index: services/univention-apache/conffiles/etc/apache2/sites-available/default =================================================================== --- services/univention-apache/conffiles/etc/apache2/sites-available/default (Revision 44155) +++ services/univention-apache/conffiles/etc/apache2/sites-available/default (Arbeitskopie) @@ -42,6 +42,5 @@ <Directory /var/www/ucs-overview/> RewriteEngine On - RewriteRule ^/ucs-overview/de.html$ /ucs-overview?lang=de [L,R] - RewriteRule ^/ucs-overview/en.html$ /ucs-overview?lang=en [L,R] + RewriteRule ^(de|en).html$ /ucs-overview?lang=$1 [L,R
(In reply to Florian Best from comment #7) > The old de.html and en.html still exists. Yes, this is correct. There are still references in other packages to this multi file template. These references will be adjusted via Bug 32611. > Also the new redirect rule does not match, patch: > > Index: > services/univention-apache/conffiles/etc/apache2/sites-available/default > =================================================================== > --- services/univention-apache/conffiles/etc/apache2/sites-available/default > (Revision 44155) > +++ services/univention-apache/conffiles/etc/apache2/sites-available/default > (Arbeitskopie) > @@ -42,6 +42,5 @@ > > <Directory /var/www/ucs-overview/> > RewriteEngine On > - RewriteRule ^/ucs-overview/de.html$ /ucs-overview?lang=de [L,R] > - RewriteRule ^/ucs-overview/en.html$ /ucs-overview?lang=en [L,R] > + RewriteRule ^(de|en).html$ /ucs-overview?lang=$1 [L,R Perfect, it works now. Thanks :) . univention-apache (6.0.4-1) unstable; urgency=low . * Bug #31700: adjusted apache redirect rule for old overview files
On Android tablets, the site would not be displayed properly. Therefore, the tab focussing mechanism needed to be adapted. Now it is also possible to directly address http://localhost/ucs-overview#admin or #service. I also fixed problems with rounded borders on IE9 (the CSS filter command would prevent other CSS effects, therefore I deactivated it). univention-apache (6.0.6-1) unstable; urgency=low . * Bug #31700: fixed problems with Android tablets, fixed problems with rounded borders on IE9, direct links to #admin or #service are now possible
3.1-1 → 3.2 OK > * Removed link from univention logo > * Made whole buttons clickable (instead of just text/icon) > * Removed head line for link groups OK language switch OK ipad, android, firefox, chromium, ie OK RewriteRule OK
UCS 3.2 has been released: http://docs.univention.de/release-notes-3.2-en.html http://docs.univention.de/release-notes-3.2-de.html If this error occurs again, please use "Clone This Bug".