Bug 36328 - Adapt design of UCS startsite for appliance images
Adapt design of UCS startsite for appliance images
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: System setup
UCS 3.2
Other Linux
: P5 normal (vote)
: UCS 4.0
Assigned To: Johannes Keiser
Alexander Kläser
: interim-3
Depends on: 36095
Blocks:
  Show dependency treegraph
 
Reported: 2014-10-28 12:08 CET by Alexander Kläser
Modified: 2014-11-26 06:56 CET (History)
2 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Design
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kläser univentionstaff 2014-10-28 12:08:08 CET
When installing univention-system-setup-boot, a different startsite is registered via the UCR variable apache2/startsite (cf., var/www/ucs-overview/initialsetup.html). This HTML page needs to be adapted to the new design. It will be able to use the already existing JS and CSS code. As it will bring an additional translation file, the original startsite.js probably needs to be adapted slightly in order to account for additional translation resources.

+++ This bug was initially created as a clone of Bug #36095 +++

Via Bug 35654, the design of the UMC is revised for UCS 4.0.
Along with the UMC design, the appearance for the UCS startsite needs to be adjusted, as well.
Comment 1 Johannes Keiser univentionstaff 2014-10-29 12:58:35 CET
I removed unnecessary content from initialsetup.html and adjusted it to fit the new design. Because initialsetup.html is a copy of index.html, the css and js files could be removed as it now can use the already existing files. Checks have been added to the already existing JS code to prevent errors if specific DOM nodes do not exist in the HTML file.

univention-system-setup (8.1.33-1):
Bug #35654:
* adjusted initialsetup.html to fit new design
* removed obsolete css and js files
* added translation for the initialsetup message
Comment 2 Alexander Kläser univentionstaff 2014-10-31 11:47:11 CET
We need a double escaping, otherwise the code part is not displayed correctly:
> ssh -i <path/to/privatekey> root@<serveraddress> passwd
Comment 3 Johannes Keiser univentionstaff 2014-11-04 12:17:53 CET
Implemented the change from above in var/www/ucs-overview/initialsetup.html
Comment 4 Johannes Keiser univentionstaff 2014-11-04 13:14:53 CET
(In reply to keiser from comment #3)
> Implemented the change from above in var/www/ucs-overview/initialsetup.html

r55339

* Bug #36328: added double escaping for ssh in
  initialsetup.html so that code is shown correctly
Comment 5 Alexander Kläser univentionstaff 2014-11-05 14:11:08 CET
Could you please remove the obsolete CSS directory var/www/ucs-overview/css/ from the source package (it currently gets installed, as well).
Comment 6 Johannes Keiser univentionstaff 2014-11-05 14:38:18 CET
r55392

* Bug #36328: removed obsolete css directory
Comment 7 Alexander Kläser univentionstaff 2014-11-05 14:54:13 CET
(In reply to Johannes Keiser from comment #6)
> r55392
> 
> * Bug #36328: removed obsolete css directory

Great, thanks :) .
Otherwise, the starsite looks marvellous :) !

Changelog not required.
Comment 8 Stefan Gohmann univentionstaff 2014-11-26 06:56:01 CET
UCS 4.0-0 has been released:
 http://docs.univention.de/release-notes-4.0-0-en.html
 http://docs.univention.de/release-notes-4.0-0-de.html

If this error occurs again, please use "Clone This Bug".