...
 
Commits (2)
stages:
- build
build:less:
stage: build
image: appleboy/node-less
variables:
PLUGIN_NAME: MittelTheme
LESS_SRC: Template/css/app.less
LESS_OUTPUT: Template/css/main.css
script:
- /usr/local/bin/lessc "${LESS_SRC}" > "${LESS_OUTPUT}"
- git archive HEAD --prefix="${PLUGIN_NAME}/" --format=zip -o "${PLUGIN_NAME}.zip"
- zip -d "${PLUGIN_NAME}.zip" "${LESS_SRC}"
artifacts:
paths:
- "${PLUGIN_NAME}.zip"
Example of theme plugin Mittelab Theme Plugin
======================= ======================
This plugin override core templates and use template hooks to create a custom theme.
- New CSS styles are added with the hook **layout:head** - New CSS styles are added with the hook **layout:head**
- A top bar is added to the layout by using the hook **layout:top** - A top bar is added to the layout by using the hook **layout:top**
...@@ -15,7 +13,3 @@ Installation ...@@ -15,7 +13,3 @@ Installation
- Go on your local installation of Kanboard - Go on your local installation of Kanboard
- After the login, you should see the alterations to the default layout - After the login, you should see the alterations to the default layout
Screenshot
----------
![plugin-example-theme](https://cloud.githubusercontent.com/assets/323546/9838179/6ef2b466-5a24-11e5-9988-5402eaf55026.png)
This diff is collapsed.