diff --git a/application/views/themes/index.php b/application/views/themes/index.php index 4f2ccd646..0febf5ca4 100644 --- a/application/views/themes/index.php +++ b/application/views/themes/index.php @@ -1,14 +1,14 @@

- session->flashdata('danger')) { ?> + session->flashdata('danger')) { ?>

session->flashdata('danger'); ?>

- session->flashdata('success')) { ?> + session->flashdata('success')) { ?>

session->flashdata('success'); ?>

@@ -22,47 +22,97 @@ Themes list
-

- Using the theme list, you can control which Themes are shown in the account settings. Deleting a theme here, does not delete the css theme folder. -

+
+
+
+

In this menu you can add and edit themes to Wavelog. The process of adding a theme is not really straightforward and should only be done by an admin who is aware of their actions.
+ Also, it has to be said that this feature is still under development.

+
+
+ +
+
+
Process of adding a new theme
+
+
+ +
+
+
1. Step
+
+
+

Create a new folder in 'assets/css/' and upload a 'bootstrap.min.css' file which contains basic styling rules. We use the themes from https://bootswatch.com/

+
+
+ +
+
+
2. Step
+
+
+

Create a file in this folder called 'overrides.css'. Place your custom CSS code in there.

+
+
+ +
+
+
3. Step
+
+
+

For each new theme, you need two logo files. One for the login screen and one for the header.
+ Only PNG files are allowed, and they should have a pixel ratio of 1:1 (e.g., 1000px height and 1000px width).
+ Place the two logo files in the folder 'assets/logo/'

+
+
+ +
+
+
4. Step
+
+
+

Click here on 'Add a Theme' and type in the necessary data. Type in the filenames for the logos without the file extension '.png'

+
+
+
+
- - - - - - - - - + + + + + + + + + - - - - - - - - - - + + + + + + + + + + - +
NameFoldernameTheme ModeHeader LogoMain Logo
NameFoldernameTheme ModeHeader LogoMain Logo
name;?>foldername;?>theme_mode != "") { - echo $theme->theme_mode; - } else { - echo "Theme-Mode undefined! Please edit"; - } ?>header_logo;?>main_logo;?> - Edit - - Delete -
name; ?>foldername; ?>theme_mode != "") { + echo $theme->theme_mode; + } else { + echo "Theme-Mode undefined! Please edit"; + } ?>header_logo; ?>main_logo; ?> + Edit + + Delete +
-
+

- + \ No newline at end of file