From e11427508a89cddb114b7955a2273fc7b5e33ca5 Mon Sep 17 00:00:00 2001 From: Bastien Wirtz Date: Wed, 27 May 2020 20:58:20 -0700 Subject: Remove config.yml from versionning. --- .gitignore | 3 ++ README.md | 10 +++--- public/config.yml | 71 --------------------------------------- public/config.yml.dist | 71 +++++++++++++++++++++++++++++++++++++++ public/config.yml.dist.sample-sui | 64 +++++++++++++++++++++++++++++++++++ public/config.yml.sample-sui | 64 ----------------------------------- 6 files changed, 143 insertions(+), 140 deletions(-) delete mode 100644 public/config.yml create mode 100644 public/config.yml.dist create mode 100644 public/config.yml.dist.sample-sui delete mode 100644 public/config.yml.sample-sui diff --git a/.gitignore b/.gitignore index a0dddc6..26547c2 100644 --- a/.gitignore +++ b/.gitignore @@ -19,3 +19,6 @@ yarn-error.log* *.njsproj *.sln *.sw? + +# App configuration +public/config.yml diff --git a/README.md b/README.md index 1abce2f..763e1e6 100644 --- a/README.md +++ b/README.md @@ -61,9 +61,9 @@ npm install npm run serve ``` -### themes +### Themes -Theme are meant to be simple customization (written in [scss](https://sass-lang.com/documentation/syntax)). +Themes are meant to be simple customization (written in [scss](https://sass-lang.com/documentation/syntax)). To addd a new theme, just add a file in the theme directory, and put all style in the `body #app.theme-` scope. Then import it in the main style file. ```scss @@ -81,7 +81,7 @@ body #app.theme-my-awesome-theme. { ... } ## Configuration -Title, icons, links, colors, and services can be configured in the `config.yml` file, using [yaml](http://yaml.org/) format. +Title, icons, links, colors, and services can be configured in the `config.yml` file (located in project root directory once built, or in the `public/` directory in developement mode), using [yaml](http://yaml.org/) format. ```yaml --- @@ -142,7 +142,7 @@ links: - name: "ansible" icon: "fab fa-github" url: "https://github.com/xxxxx/ansible/" - target: "_blank" # optional html a tag target attribute + target: "_blank" # optional html tag target attribute - name: "Wiki" icon: "fas fa-book" url: "https://wiki.xxxxxx.com/" @@ -161,7 +161,7 @@ services: subtitle: "Continuous integration server" tag: "CI" url: "#" - target: "_blank" # optional html a tag target attribute + target: "_blank" # optional html tag target attribute - name: "RabbitMQ Management" logo: "/assets/tools/rabbitmq.png" subtitle: "Manage & monitor RabbitMQ server" diff --git a/public/config.yml b/public/config.yml deleted file mode 100644 index 0e0310e..0000000 --- a/public/config.yml +++ /dev/null @@ -1,71 +0,0 @@ ---- -# Homepage configuration -# See https://fontawesome.com/icons for icons options - -title: "Demo dashboard" -subtitle: "Homer" -logo: "logo.png" -# icon: "fas fa-skull-crossbones" Optional icon - -header: true -footer: '

Created with ❤️ with bulma, vuejs & font awesome // Fork me on

' # set false if you want to hide it. - -# Optionnal theme customization -theme: default -colors: - light: - highlight-primary: "#3367d6" - highlight-secondary: "#4285f4" - highlight-hover: "#5a95f5" - background: "#f5f5f5" - card-background: "#ffffff" - text: "#363636" - text-header: "#ffffff" - text-title: "#303030" - text-subtitle: "#424242" - card-shadow: rgba(0, 0, 0, 0.1) - link-hover: "#363636" - dark: - highlight-primary: "#3367d6" - highlight-secondary: "#4285f4" - highlight-hover: "#5a95f5" - background: "#131313" - card-background: "#2b2b2b" - text: "#eaeaea" - text-header: "#ffffff" - text-title: "#fafafa" - text-subtitle: "#f5f5f5" - card-shadow: rgba(0, 0, 0, 0.4) - link-hover: "#ffdd57" - -# Optional message -message: - #url: https://b4bz.io - style: "is-dark" # See https://bulma.io/documentation/components/message/#colors for styling options. - title: "👋 Demo !" - content: "This is a dummy homepage demo.
Find more information on github.com/bastienwirtz/homer" - -# Optional navbar -# links: [] # Allows for navbar (dark mode, layout, and search) without any links -links: - - name: "Contribute" - icon: "fab fa-github" - url: "https://github.com/bastienwirtz/homer" - target: "_blank" # optionnal html a tag target attribute - - name: "Wiki" - icon: "fas fa-book" - url: "https://www.wikipedia.org/" - -# Services -# First level array represent a group. -# Leave only a "items" key if not using group (group name, icon & tagstyle are optional, section separation will not be displayed). -services: - - name: "Applications" - icon: "fas fa-cloud" - items: - - name: "Awesome app" - logo: "assets/tools/sample.png" - subtitle: "Bookmark exemple" - tag: "app" - url: "https://www.reddit.com/r/selfhosted/" - target: "_blank" # optionnal html a tag target attribute diff --git a/public/config.yml.dist b/public/config.yml.dist new file mode 100644 index 0000000..849b391 --- /dev/null +++ b/public/config.yml.dist @@ -0,0 +1,71 @@ +--- +# Homepage configuration +# See https://fontawesome.com/icons for icons options + +title: "Demo dashboard" +subtitle: "Homer" +logo: "logo.png" +# icon: "fas fa-skull-crossbones" Optional icon + +header: true +footer: '

Created with ❤️ with bulma, vuejs & font awesome // Fork me on

' # set false if you want to hide it. + +# Optionnal theme customization +theme: default +colors: + light: + highlight-primary: "#3367d6" + highlight-secondary: "#4285f4" + highlight-hover: "#5a95f5" + background: "#f5f5f5" + card-background: "#ffffff" + text: "#363636" + text-header: "#ffffff" + text-title: "#303030" + text-subtitle: "#424242" + card-shadow: rgba(0, 0, 0, 0.1) + link-hover: "#363636" + dark: + highlight-primary: "#3367d6" + highlight-secondary: "#4285f4" + highlight-hover: "#5a95f5" + background: "#131313" + card-background: "#2b2b2b" + text: "#eaeaea" + text-header: "#ffffff" + text-title: "#fafafa" + text-subtitle: "#f5f5f5" + card-shadow: rgba(0, 0, 0, 0.4) + link-hover: "#ffdd57" + +# Optional message +message: + #url: https://b4bz.io + style: "is-dark" # See https://bulma.io/documentation/components/message/#colors for styling options. + title: "👋 Demo !" + content: "This is a dummy homepage demo.
Find more information on github.com/bastienwirtz/homer" + +# Optional navbar +# links: [] # Allows for navbar (dark mode, layout, and search) without any links +links: + - name: "Contribute" + icon: "fab fa-github" + url: "https://github.com/bastienwirtz/homer" + target: "_blank" # optionnal html a tag target attribute + - name: "Wiki" + icon: "fas fa-book" + url: "https://www.wikipedia.org/" + +# Services +# First level array represent a group. +# Leave only a "items" key if not using group (group name, icon & tagstyle are optional, section separation will not be displayed). +services: + - name: "Applications" + icon: "fas fa-cloud" + items: + - name: "Awesome app" + logo: "assets/tools/sample.png" + subtitle: "Bookmark example" + tag: "app" + url: "https://www.reddit.com/r/selfhosted/" + target: "_blank" # optionnal html a tag target attribute diff --git a/public/config.yml.dist.sample-sui b/public/config.yml.dist.sample-sui new file mode 100644 index 0000000..71eaef0 --- /dev/null +++ b/public/config.yml.dist.sample-sui @@ -0,0 +1,64 @@ +--- +# Homepage configuration +# See https://fontawesome.com/icons for icons options + +title: "Hello beautiful!" +subtitle: "App dashboard" +logo: false +# icon: "fas fa-skull-crossbones" Optional icon + +header: true + +# Optionnal theme customization +theme: sui +colors: + light: + highlight-primary: transparent + highlight-secondary: transparent + highlight-hover: "#4a4a4a" + text-subtitle: "#424242" + dark: + background: "#2B2C56" + highlight-primary: transparent + highlight-secondary: transparent + highlight-hover: "#200b35" + text-subtitle: "#6375e8" + +# Optional navbar +# links: [] # Allows for navbar (dark mode, layout, and search) without any links +links: [] + +# Services +# First level array represent a group. +# Leave only a "items" key if not using group (group name, icon & tagstyle are optional, section separation will not be displayed). +services: + - name: "APPLICATIONS" + items: + - name: "Jenkins" + logo: "assets/tools/jenkins.png" + subtitle: "Continuous integration server" + url: "https://jenkins.io/" + - name: "RabbitMQ Management" + logo: "assets/tools/rabbitmq.png" + subtitle: "Manage & monitor RabbitMQ server" + # Optional tagstyle + # Same styling options as the optional message. + tagstyle: "is-success" + url: "https://www.rabbitmq.com/" + - name: "M/Monit" + logo: "assets/tools/monit.png" + subtitle: "Monitor & manage all monit enabled hosts" + url: "https://mmonit.com/monit/" + - name: "Grafana" + logo: "assets/tools/grafana.png" + subtitle: "Metric analytics & dashboards" + url: "https://grafana.com/" + - name: "Kibana" + logo: "assets/tools/elastic.png" + subtitle: "Explore & visualize logs" + url: "https://www.elastic.co/products/kibana" + - name: "Website monitoring" + logo: "assets/tools/pingdom.png" + subtitle: "Pingdom public reports overview" + tag: "CI" + url: "https://www.pingdom.com/" diff --git a/public/config.yml.sample-sui b/public/config.yml.sample-sui deleted file mode 100644 index 71eaef0..0000000 --- a/public/config.yml.sample-sui +++ /dev/null @@ -1,64 +0,0 @@ ---- -# Homepage configuration -# See https://fontawesome.com/icons for icons options - -title: "Hello beautiful!" -subtitle: "App dashboard" -logo: false -# icon: "fas fa-skull-crossbones" Optional icon - -header: true - -# Optionnal theme customization -theme: sui -colors: - light: - highlight-primary: transparent - highlight-secondary: transparent - highlight-hover: "#4a4a4a" - text-subtitle: "#424242" - dark: - background: "#2B2C56" - highlight-primary: transparent - highlight-secondary: transparent - highlight-hover: "#200b35" - text-subtitle: "#6375e8" - -# Optional navbar -# links: [] # Allows for navbar (dark mode, layout, and search) without any links -links: [] - -# Services -# First level array represent a group. -# Leave only a "items" key if not using group (group name, icon & tagstyle are optional, section separation will not be displayed). -services: - - name: "APPLICATIONS" - items: - - name: "Jenkins" - logo: "assets/tools/jenkins.png" - subtitle: "Continuous integration server" - url: "https://jenkins.io/" - - name: "RabbitMQ Management" - logo: "assets/tools/rabbitmq.png" - subtitle: "Manage & monitor RabbitMQ server" - # Optional tagstyle - # Same styling options as the optional message. - tagstyle: "is-success" - url: "https://www.rabbitmq.com/" - - name: "M/Monit" - logo: "assets/tools/monit.png" - subtitle: "Monitor & manage all monit enabled hosts" - url: "https://mmonit.com/monit/" - - name: "Grafana" - logo: "assets/tools/grafana.png" - subtitle: "Metric analytics & dashboards" - url: "https://grafana.com/" - - name: "Kibana" - logo: "assets/tools/elastic.png" - subtitle: "Explore & visualize logs" - url: "https://www.elastic.co/products/kibana" - - name: "Website monitoring" - logo: "assets/tools/pingdom.png" - subtitle: "Pingdom public reports overview" - tag: "CI" - url: "https://www.pingdom.com/" -- cgit v1.2.3