Loading .gitlab-ci.yml 0 → 100644 +25 −0 Original line number Diff line number Diff line stages: - build build:less: stage: build image: node:8.0.0-alpine variables: PLUGIN_NAME: MittelTheme LESS_SRC: Template/css/app.less LESS_OUTPUT: Template/css/main.css before_script: - yarn global add less - yarn global add less-plugin-clean-css - apk add --update --no-cache git zip unzip script: - /usr/local/bin/lessc "${LESS_SRC}" > "${LESS_OUTPUT}" after_script: - git archive HEAD --prefix="${PLUGIN_NAME}/" --format=zip -o "${PLUGIN_NAME}.zip" - unzip "${PLUGIN_NAME}.zip" - rm "${PLUGIN_NAME}/${LESS_SRC}" - rm "${PLUGIN_NAME}/.gitlab-ci.yml" - cp "${LESS_OUTPUT}" "${PLUGIN_NAME}/${LESS_OUTPUT}" artifacts: paths: - "${PLUGIN_NAME}" Makefiledeleted 100644 → 0 +0 −4 Original line number Diff line number Diff line PLUGIN_NAME = MittelTheme all: @ git archive HEAD --prefix=${PLUGIN_NAME}/ --format=zip -o ${PLUGIN_NAME}.zip README.md +5 −7 Original line number Diff line number Diff line Example of theme plugin ======================= Mittelab Theme Plugin ====================== This plugin override core templates and use template hooks to create a custom theme. [](https://git.mittelab.org/infra/themes/kanboard-theme/commits/master) [**Download latest release**](https://git.mittelab.org/infra/themes/kanboard-theme/-/jobs/artifacts/master/download?job=build:less) - New CSS styles are added with the hook **layout:head** - A top bar is added to the layout by using the hook **layout:top** Loading @@ -15,7 +17,3 @@ Installation - Go on your local installation of Kanboard - After the login, you should see the alterations to the default layout Screenshot ----------  Loading
.gitlab-ci.yml 0 → 100644 +25 −0 Original line number Diff line number Diff line stages: - build build:less: stage: build image: node:8.0.0-alpine variables: PLUGIN_NAME: MittelTheme LESS_SRC: Template/css/app.less LESS_OUTPUT: Template/css/main.css before_script: - yarn global add less - yarn global add less-plugin-clean-css - apk add --update --no-cache git zip unzip script: - /usr/local/bin/lessc "${LESS_SRC}" > "${LESS_OUTPUT}" after_script: - git archive HEAD --prefix="${PLUGIN_NAME}/" --format=zip -o "${PLUGIN_NAME}.zip" - unzip "${PLUGIN_NAME}.zip" - rm "${PLUGIN_NAME}/${LESS_SRC}" - rm "${PLUGIN_NAME}/.gitlab-ci.yml" - cp "${LESS_OUTPUT}" "${PLUGIN_NAME}/${LESS_OUTPUT}" artifacts: paths: - "${PLUGIN_NAME}"
Makefiledeleted 100644 → 0 +0 −4 Original line number Diff line number Diff line PLUGIN_NAME = MittelTheme all: @ git archive HEAD --prefix=${PLUGIN_NAME}/ --format=zip -o ${PLUGIN_NAME}.zip
README.md +5 −7 Original line number Diff line number Diff line Example of theme plugin ======================= Mittelab Theme Plugin ====================== This plugin override core templates and use template hooks to create a custom theme. [](https://git.mittelab.org/infra/themes/kanboard-theme/commits/master) [**Download latest release**](https://git.mittelab.org/infra/themes/kanboard-theme/-/jobs/artifacts/master/download?job=build:less) - New CSS styles are added with the hook **layout:head** - A top bar is added to the layout by using the hook **layout:top** Loading @@ -15,7 +17,3 @@ Installation - Go on your local installation of Kanboard - After the login, you should see the alterations to the default layout Screenshot ---------- 