aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorpdevq <45507854+pdevq@users.noreply.github.com>2019-10-23 17:29:55 -0400
committerpdevq <45507854+pdevq@users.noreply.github.com>2019-10-23 17:29:55 -0400
commita2fdb8a97b3210017b27c8a08908e18618bec6b4 (patch)
treeadce04ed86d166d61128afc1a8ca0db49275d0e0
parent8aa8398fba4916ced1b793a7ca7e8574fc7ff98e (diff)
downloadhomer-a2fdb8a97b3210017b27c8a08908e18618bec6b4.tar.gz
homer-a2fdb8a97b3210017b27c8a08908e18618bec6b4.tar.zst
homer-a2fdb8a97b3210017b27c8a08908e18618bec6b4.zip
Add the option to style tags
-rw-r--r--README.md1
-rw-r--r--app.css4
-rw-r--r--app.css.map4
-rw-r--r--app.js4
-rw-r--r--app.scss8
-rw-r--r--config.yml1
6 files changed, 19 insertions, 3 deletions
diff --git a/README.md b/README.md
index d2a6500..9b9e705 100644
--- a/README.md
+++ b/README.md
@@ -58,6 +58,7 @@ services:
58 logo: "/assets/tools/rabbitmq.png" 58 logo: "/assets/tools/rabbitmq.png"
59 subtitle: "Manage & monitor RabbitMQ server" 59 subtitle: "Manage & monitor RabbitMQ server"
60 tag: "haproxy" 60 tag: "haproxy"
61 tagstyle: "is-success"
61 url: "#" 62 url: "#"
62 - name: "Monitoring" 63 - name: "Monitoring"
63 icon: "fa-heartbeat" 64 icon: "fa-heartbeat"
diff --git a/app.css b/app.css
index 8a97742..61b10c9 100644
--- a/app.css
+++ b/app.css
@@ -165,6 +165,8 @@ body {
165 overflow: hidden; 165 overflow: hidden;
166 transition: all 0.2s ease-out; 166 transition: all 0.2s ease-out;
167 padding: 0; } 167 padding: 0; }
168 body .tag .tag-text {
169 display: none; }
168 body .card { 170 body .card {
169 border-radius: 5px; 171 border-radius: 5px;
170 border: none; 172 border: none;
@@ -178,6 +180,8 @@ body {
178 width: auto; 180 width: auto;
179 color: #ffffff; 181 color: #ffffff;
180 padding: 0 0.75em; } 182 padding: 0 0.75em; }
183 body .card:hover .tag .tag-text {
184 display: block; }
181 body .card-content { 185 body .card-content {
182 height: 85px; 186 height: 85px;
183 padding: 1.3rem; } 187 padding: 1.3rem; }
diff --git a/app.css.map b/app.css.map
index 9e5dc0c..a1b577f 100644
--- a/app.css.map
+++ b/app.css.map
@@ -1,7 +1,7 @@
1{ 1{
2"version": 3, 2"version": 3,
3"mappings": "AAGA,IAAK;EACH,WAAW,EAAE,qBAAqB;EAClC,gBAAgB,EAAE,OAAO;EACzB,MAAM,EAAE,IAAI;EAEZ,oDAAuB;IACrB,WAAW,EAAE,kBAAkB;EAGjC,OAAG;IACD,SAAS,EAAE,IAAI;EAGjB,OAAG;IACD,SAAS,EAAE,MAAM;IACjB,UAAU,EAAE,IAAI;IAChB,aAAa,EAAE,IAAI;IAEnB,WAAI;MACF,YAAY,EAAE,IAAI;MAClB,KAAK,EAtBO,OAAO;IAyBrB,YAAK;MACH,WAAW,EAAE,IAAI;MACjB,KAAK,EA3BO,OAAO;EA+BvB,cAAU;IACR,OAAO,EAAE,IAAI;EAGf,aAAS;IACP,KAAK,EAAE,OAAO;IAEd,8BAAiB;MACf,OAAO,EAAE,YAAY;IAGvB,yBAAY;MACV,MAAM,EAAE,KAAK;MACb,cAAc,EAAE,MAAM;MACtB,gBAAgB,EA9CN,OAAO;MAgDjB,4BAAG;QACD,UAAU,EAAE,KAAK;QACjB,SAAS,EAAE,IAAI;MAGjB,mCAAU;QACR,UAAU,EAAE,GAAG;QACf,SAAS,EAAE,MAAM;MAGnB,oCAAW;QACT,MAAM,EAAE,IAAI;QACZ,OAAO,EAAE,MAAM;MAGjB,6BAAI;QACF,KAAK,EAAE,IAAI;QACX,UAAU,EAAE,IAAI;QAChB,SAAS,EAAE,IAAI;QACf,OAAO,EAAE,IAAI;IAGjB,qBAAQ;MACN,gBAAgB,EAtEJ,OAAO;MAwEnB,uBAAE;QACA,KAAK,EAAE,OAAO;QAEd,6BAAQ;UACN,gBAAgB,EAAE,OAA+B;EAMzD,kBAA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AgB,EAAE,OAA+B;MACjD,aAAa,EAAE,GAAG;MAClB,OAAO,EAAE,iBAAiB;MAC1B,MAAM,EAAE,MAAM;MACd,UAAU,EAAE,gBAAgB;MAC5B,KAAK,EAAE,OAAO;MACd,MAAM,EAAE,IAAI;MACZ,KAAK,EAAE,KAAK;MAGZ,8BAAQ;QACN,KAAK,EAAE,OAAO;QACd,KAAK,EAAE,KAAK;QACZ,gBAAgB,EAAE,OAAO;IAI7B,sCAAsB;MACpB,WAAW,EAAE,aAAa;MAC1B,QAAQ,EAAE,QAAQ;MAClB,GAAG,EAAE,IAAI;MACT,IAAI,EAAE,GAAG;MACT,OAAO,EAAE,OAAO;MAChB,KAAK,EAAE,IAAI;MACX,MAAM,EAAE,IAAI;IAGZ,mDAAqC;MACjC,KAAK,EAAE,OAAO;EAItB,iBAAa;IACX,OAAO,EAAE,YAAY;EAGvB,qBAAiB;IACb,UAAU,EAAE,MAAM;IAClB,MAAM,EAAE,MAAM;IAEd,uBAAE;MACA,SAAS,EAAE,IAAI;IAGjB,mCAAc;MACZ,SAAS,EAAE,MAAM;MACjB,WAAW,EAAE,IAAI;MACjB,cAAc,EAAE,MAAM;MACtB,MAAM,EAAE,OAAO;MACf,KAAK,EAAE,OAAO",
4"sources": ["app.scss"], 4"sources": ["app.scss"],
5"names": [], 5"names": [],
6"file": "app.css" 6"file": "app.css"
7} \ No newline at end of file 7}
diff --git a/app.js b/app.js
index 41bdd9d..def0be7 100644
--- a/app.js
+++ b/app.js
@@ -85,7 +85,9 @@ Vue.component('service', {
85 <p class="subtitle is-6">{{ item.subtitle }}</p> 85 <p class="subtitle is-6">{{ item.subtitle }}</p>
86 </div> 86 </div>
87 </div> 87 </div>
88 <strong class="tag" v-if="item.tag">#{{ item.tag }}</strong> 88 <div class="tag" :class="item.tagstyle" v-if="item.tag">
89 <strong class="tag-text">#{{ item.tag }}</strong>
90 </div>
89 </div> 91 </div>
90 </a> 92 </a>
91 </div></div>` 93 </div></div>`
diff --git a/app.scss b/app.scss
index d4d2099..95a3166 100644
--- a/app.scss
+++ b/app.scss
@@ -212,6 +212,10 @@ body {
212 overflow: hidden; 212 overflow: hidden;
213 transition: all 0.2s ease-out; 213 transition: all 0.2s ease-out;
214 padding: 0; 214 padding: 0;
215
216 .tag-text {
217 display: none;
218 }
215 } 219 }
216 220
217 .card { 221 .card {
@@ -232,6 +236,10 @@ body {
232 width: auto; 236 width: auto;
233 color: #ffffff; 237 color: #ffffff;
234 padding: 0 0.75em; 238 padding: 0 0.75em;
239
240 .tag-text {
241 display: block;
242 }
235 } 243 }
236 } 244 }
237 245
diff --git a/config.yml b/config.yml
index 69c87ea..6570a5a 100644
--- a/config.yml
+++ b/config.yml
@@ -39,6 +39,7 @@ services:
39 logo: "/assets/tools/rabbitmq.png" 39 logo: "/assets/tools/rabbitmq.png"
40 subtitle: "Manage & monitor RabbitMQ server" 40 subtitle: "Manage & monitor RabbitMQ server"
41 tag: "haproxy" 41 tag: "haproxy"
42 tagstyle: "is-success"
42 url: "#" 43 url: "#"
43 - name: "Monitoring" 44 - name: "Monitoring"
44 icon: "fas fa-heartbeat" 45 icon: "fas fa-heartbeat"