diff --git a/Artworks/Webenv/Mantis/1.1.8-5.el5/README b/Artworks/Webenv/Mantis/1.1.8-5.el5/README index a72aef9..d7e1c57 100644 --- a/Artworks/Webenv/Mantis/1.1.8-5.el5/README +++ b/Artworks/Webenv/Mantis/1.1.8-5.el5/README @@ -1,12 +1,12 @@ Customization ============= -The mantis' customization provided here is part of the monolithic -visual style The CentOS Project is attached to. Once you install the -mantis' customization provided here, the visual transition between the -mantis website and other CentOS web sites already customized will be -nice and easy to recognize because of the common visual patterns -(e.g., background, header, logo, favicon and footer). +This customization modifies Mantis default visual style to use The +CentOS Project visual style. Once you install the customization +provided here, the visual transition between your mantis website and +other web sites customized the same way will be easy to recognize +because the implementation of common visual patterns (e.g., +background, header, logo, favicon and footer). How To Install -------------- @@ -32,10 +32,6 @@ SOURCE | TARGET bottom.html | /usr/share/mantis/themes/centos/bottom.html top.html | /usr/share/mantis/themes/centos/top.html stylesheet.css | /usr/share/mantis/themes/centos/stylesheet.css -images/logo.png | /usr/share/mantis/themes/centos/images/logo.png -images/favicon.ico| /usr/share/mantis/themes/centos/images/favicon.png -images/h2.png | /usr/share/mantis/themes/centos/images/h2.png -images/header.png | /usr/share/mantis/themes/centosimages/header.png ------------------+----------------------------------------------- This theme also provides a customized version of mantis_offline.php @@ -55,7 +51,7 @@ information: $g_top_include_page = "themes/centos/top.html"; $g_bottom_include_page = "themes/centos/bottom.html"; $g_css_include_file = "themes/centos/stylesheet.css"; - $g_favicon_image = "themes/centos/images/favicon.ico"; + $g_favicon_image = "/webenv/images/favicon.ico"; 6. Point your browser to mantisBT install and reload it to see the changes. @@ -68,11 +64,21 @@ inside the mantis package needs to be modified (except the configuration file, of course.). This way you can update the mantis package without loosing the visual style you already set for it. -The only problem is the $g_favicon_image variable, it doesn't work. -So, if you want to have a favicon different to Mantis's default, you -need to overwrite the images/favicon.ico file with the one you want to -use. This is something you need to do the next time you update the -matnis package (unless the $g_favicon_image variable gets alive). +The only problem I've found is the $g_favicon_image variable, which +doesn't work. So, if you want to have a favicon different from +Mantis's default, you need to overwrite Mantis' images/favicon.ico +file with the one you want to use. This is something you need to do +the next time you update the matnis package (unless the +$g_favicon_image variable gets alive). + +Images affecting Mantis visual style were moved from images directory +inside the Mantis directory structure to /var/www/webenv/images +directory outside Mantis directory structure and made accessible +through /webenv http alias. Using images this way let us to re-use +them with other web applications that share the same visual style. +When a visual style update is required, we only need to change images +in a single place to propagate the new visual style to all +applications. Feedback -------- diff --git a/Artworks/Webenv/Mantis/1.1.8-5.el5/images/favicon.ico b/Artworks/Webenv/Mantis/1.1.8-5.el5/images/favicon.ico deleted file mode 100644 index babbccd..0000000 Binary files a/Artworks/Webenv/Mantis/1.1.8-5.el5/images/favicon.ico and /dev/null differ diff --git a/Artworks/Webenv/Mantis/1.1.8-5.el5/images/h2.png b/Artworks/Webenv/Mantis/1.1.8-5.el5/images/h2.png deleted file mode 100644 index 7966dc0..0000000 Binary files a/Artworks/Webenv/Mantis/1.1.8-5.el5/images/h2.png and /dev/null differ diff --git a/Artworks/Webenv/Mantis/1.1.8-5.el5/images/header.png b/Artworks/Webenv/Mantis/1.1.8-5.el5/images/header.png deleted file mode 100644 index db54c7e..0000000 Binary files a/Artworks/Webenv/Mantis/1.1.8-5.el5/images/header.png and /dev/null differ diff --git a/Artworks/Webenv/Mantis/1.1.8-5.el5/images/html.png b/Artworks/Webenv/Mantis/1.1.8-5.el5/images/html.png deleted file mode 100644 index ccfa402..0000000 Binary files a/Artworks/Webenv/Mantis/1.1.8-5.el5/images/html.png and /dev/null differ diff --git a/Artworks/Webenv/Mantis/1.1.8-5.el5/images/logo.png b/Artworks/Webenv/Mantis/1.1.8-5.el5/images/logo.png deleted file mode 100644 index e98b1a2..0000000 Binary files a/Artworks/Webenv/Mantis/1.1.8-5.el5/images/logo.png and /dev/null differ diff --git a/Artworks/Webenv/Mantis/1.1.8-5.el5/stylesheet.css b/Artworks/Webenv/Mantis/1.1.8-5.el5/stylesheet.css index 8a6deac..6a6c5f7 100644 --- a/Artworks/Webenv/Mantis/1.1.8-5.el5/stylesheet.css +++ b/Artworks/Webenv/Mantis/1.1.8-5.el5/stylesheet.css @@ -31,7 +31,7 @@ ----------------------------------------------*/ html { - background-image:url(images/html.png); + background-image:url(/webenv/images/html.png); background-color: #FFF; font-family: "DejaVu Sans", "Liberation Sans", sans-serif; font-size: 0.85em; @@ -60,7 +60,7 @@ a:visited:hover { text-decoration: underline; color: green; } #header { background-color: #1865A6; - background-image: url("images/header.png"); + background-image: url("/webenv/images/header.png"); margin-bottom: 5px; } @@ -70,9 +70,10 @@ a:visited:hover { text-decoration: underline; color: green; } font-size: 1.4em; font-weight: bold; } - +#logo { + padding-left: 10px; + } #logo img { - margin-left: 10px; vertical-align: middle; border: 0; } @@ -93,7 +94,7 @@ a:visited:hover { text-decoration: underline; color: green; } } .pageline.blue { - background: #5FA1D8; + background: #628ECA; } /* Information about Login @@ -291,7 +292,7 @@ td.form-title { font-weight: bold; text-align: left; background-color: #FFFFFF; - background-image: url(images/h2.png); + background-image: url(/webenv/images/h2.png); } td.nopad { @@ -333,7 +334,7 @@ tr {} tr.title { background-color: #FFF; - background-image: url("images/h2.png"); + background-image: url("/webenv/images/h2.png"); } tr.row-1 { @@ -459,14 +460,14 @@ td.menu a { } td.news-heading-public { - background-image: url(images/h2.png); + background-image: url(/webenv/images/h2.png); color: #000; text-align: left; border-bottom: 1px solid #ccc; padding: 5px; } td.news-heading-private { - background-image: url(images/h2.png); + background-image: url(/webenv/images/h2.png); color: #000; text-align: left; border-bottom: 1px solid #ccc; @@ -654,7 +655,7 @@ div#box p { line-height: 1.5em; padding-top: 0.5em; padding-bottom: 1em;} #footer { clear: both; - background: #204C8D url("images/header.png") 0 0 repeat; + background: #204C8D url("/webenv/images/header.png") 0 0 repeat; margin-top: 1em; } diff --git a/Artworks/Webenv/Mantis/1.1.8-5.el5/top.html b/Artworks/Webenv/Mantis/1.1.8-5.el5/top.html index 8e82885..1e28adc 100644 --- a/Artworks/Webenv/Mantis/1.1.8-5.el5/top.html +++ b/Artworks/Webenv/Mantis/1.1.8-5.el5/top.html @@ -1,6 +1,6 @@