|
Alain Reguera Delgado |
46de3c |
This file describes The CentOS Project customized version of mantisBT
|
|
Alain Reguera Delgado |
46de3c |
(v1.1.8-5.el5) default visual style.
|
|
Alain Reguera Delgado |
46de3c |
|
|
Alain Reguera Delgado |
46de3c |
Theme Files
|
|
Alain Reguera Delgado |
46de3c |
-----------
|
|
Alain Reguera Delgado |
46de3c |
.
|
|
Alain Reguera Delgado |
46de3c |
|-- centos-bottom.html --> The page footer.
|
|
Alain Reguera Delgado |
46de3c |
|-- centos-header.html --> The page header.
|
|
Alain Reguera Delgado |
46de3c |
|-- css
|
|
Alain Reguera Delgado |
46de3c |
| `-- default-centos.css --> The CentOS Project visual style customization.
|
|
Alain Reguera Delgado |
46de3c |
`-- images
|
|
Alain Reguera Delgado |
46de3c |
|-- centos-bugs-logo.png --> The logo used by The CentOS Bugs website.
|
|
Alain Reguera Delgado |
46de3c |
|-- centos-favicon.png --> The favicon used by The CentOS Bugs website.
|
|
Alain Reguera Delgado |
46de3c |
|-- h2-background.png --> The background image used on titles
|
|
Alain Reguera Delgado |
46de3c |
`-- header-background.png --> the background image used on header and footer.
|
|
Alain Reguera Delgado |
46de3c |
|
|
Alain Reguera Delgado |
46de3c |
|
|
Alain Reguera Delgado |
46de3c |
How To Install
|
|
Alain Reguera Delgado |
46de3c |
--------------
|
|
Alain Reguera Delgado |
46de3c |
|
|
Alain Reguera Delgado |
46de3c |
1. yum install mantis
|
|
Alain Reguera Delgado |
46de3c |
|
|
Alain Reguera Delgado |
46de3c |
NOTE: This require you to have epel repository installed in your
|
|
Alain Reguera Delgado |
46de3c |
CentOS distribution. To know how to install the epel repository
|
|
Alain Reguera Delgado |
46de3c |
read http://wiki.centos.org/AdditionalResources/Repositories
|
|
Alain Reguera Delgado |
46de3c |
|
|
Alain Reguera Delgado |
46de3c |
2. Configure mantisBT application and be sure it works as you expect.
|
|
Alain Reguera Delgado |
46de3c |
|
|
Alain Reguera Delgado |
46de3c |
2. svn export https://projects.centos.org/svn/artwork/trunk/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5 ~/Desktop/
|
|
Alain Reguera Delgado |
46de3c |
|
|
Alain Reguera Delgado |
46de3c |
3. Copy theme files into your system's mantisBT tree, as root user.
|
|
Alain Reguera Delgado |
46de3c |
The source-target relation between files is shown in the following
|
|
Alain Reguera Delgado |
46de3c |
table:
|
|
Alain Reguera Delgado |
46de3c |
|
|
Alain Reguera Delgado |
46de3c |
---------------------------------------------------+-----------------------------------------------
|
|
Alain Reguera Delgado |
46de3c |
SOURCE | TARGET
|
|
Alain Reguera Delgado |
46de3c |
---------------------------------------------------+-----------------------------------------------
|
|
Alain Reguera Delgado |
46de3c |
~/Desktop/1.1.8-5.el5/centos-bottom.html | /usr/share/mantis/centos-bottom.html
|
|
Alain Reguera Delgado |
46de3c |
~/Desktop/1.1.8-5.el5/centos-header.html | /usr/share/mantis/centos-header.html
|
|
Alain Reguera Delgado |
46de3c |
~/Desktop/1.1.8-5.el5/css/default-centos.css | /usr/share/mantis/css/default-centos.css
|
|
Alain Reguera Delgado |
46de3c |
~/Desktop/1.1.8-5.el5/images/centos-bugs-logo.png | /usr/share/mantis/images/centos-bugs-logo.png
|
|
Alain Reguera Delgado |
46de3c |
~/Desktop/1.1.8-5.el5/images/centos-favicon.png | /usr/share/mantis/images/centos-favicon.png
|
|
Alain Reguera Delgado |
46de3c |
~/Desktop/1.1.8-5.el5/images/h2-background.png | /usr/share/mantis/images/h2-background.png
|
|
Alain Reguera Delgado |
46de3c |
~/Desktop/1.1.8-5.el5/images/header-background.png | /usr/share/mantis/images/header-background.png
|
|
Alain Reguera Delgado |
46de3c |
---------------------------------------------------+-----------------------------------------------
|
|
Alain Reguera Delgado |
46de3c |
|
|
Alain Reguera Delgado |
46de3c |
4. Check file permissions. Be sure these files are readable by apache
|
|
Alain Reguera Delgado |
46de3c |
web server. For example, if both user and group for these files are
|
|
Alain Reguera Delgado |
46de3c |
set to `root', then the `-rw-r--r--' rights are ok for all these
|
|
Alain Reguera Delgado |
46de3c |
files.
|
|
Alain Reguera Delgado |
46de3c |
|
|
Alain Reguera Delgado |
46de3c |
5. Update your configuration file. Be sure it has the following
|
|
Alain Reguera Delgado |
46de3c |
information:
|
|
Alain Reguera Delgado |
46de3c |
|
|
Alain Reguera Delgado |
46de3c |
# --- html variables --------------
|
|
Alain Reguera Delgado |
46de3c |
$g_window_title = "The CentOS Bugs";
|
|
Alain Reguera Delgado |
46de3c |
$g_top_include_page = "centos-header.html";
|
|
Alain Reguera Delgado |
46de3c |
$g_bottom_include_page = "centos-bottom.html";
|
|
Alain Reguera Delgado |
46de3c |
$g_css_include_file = "css/default-centos.css";
|
|
Alain Reguera Delgado |
46de3c |
$g_favicon_image = "images/centos-favicon.png";
|
|
Alain Reguera Delgado |
46de3c |
|
|
Alain Reguera Delgado |
46de3c |
6. Point your browser to mantisBT install and reload it to see the
|
|
Alain Reguera Delgado |
46de3c |
changes.
|
|
Alain Reguera Delgado |
46de3c |
|
|
Alain Reguera Delgado |
46de3c |
Package Updates
|
|
Alain Reguera Delgado |
46de3c |
---------------
|
|
Alain Reguera Delgado |
46de3c |
An important characteristic of this theme is that all modifications
|
|
Alain Reguera Delgado |
46de3c |
take place in the configuration file and CSS files. No PHP files
|
|
Alain Reguera Delgado |
46de3c |
inside the mantis package needs to be modified (except the
|
|
Alain Reguera Delgado |
46de3c |
configuration file, of course.). This way you can update the mantis
|
|
Alain Reguera Delgado |
46de3c |
package installed in your system without loosing the visual style
|
|
Alain Reguera Delgado |
46de3c |
you already set for it.
|
|
Alain Reguera Delgado |
46de3c |
|
|
Alain Reguera Delgado |
46de3c |
Feedback
|
|
Alain Reguera Delgado |
46de3c |
--------
|
|
Alain Reguera Delgado |
46de3c |
Your comments and suggestions are very welcome. In fact, we need them
|
|
Alain Reguera Delgado |
46de3c |
to make this work better. Thus, feel free to send e-mails to
|
|
Alain Reguera Delgado |
46de3c |
centos-devel@centos.org mailing list or fill a ticket at
|
|
Alain Reguera Delgado |
46de3c |
https://projects.centos.org/trac/artwork/newticket page.
|
|
Alain Reguera Delgado |
46de3c |
|
|
Alain Reguera Delgado |
46de3c |
Authors
|
|
Alain Reguera Delgado |
46de3c |
-------
|
|
Alain Reguera Delgado |
46de3c |
The following people have contributed their efforts to this theme:
|
|
Alain Reguera Delgado |
46de3c |
|
|
Alain Reguera Delgado |
46de3c |
* Alain Reguera Delgado <alain.reguera@gmail.com>, 2013
|