From c53f3adff5632424a2e7217a8683d5137c4fca94 Mon Sep 17 00:00:00 2001 From: Marcus Kimpenhaus Date: Mon, 12 Jul 2021 08:59:43 +0200 Subject: [PATCH] Added optional target attributes to handlbars template an apps/links collection --- apps.json | 2 +- index.html | 16 ++++++++-------- links.json | 9 ++++++--- 3 files changed, 15 insertions(+), 12 deletions(-) diff --git a/apps.json b/apps.json index 9186d2d..8958e0e 100755 --- a/apps.json +++ b/apps.json @@ -1,6 +1,6 @@ { "apps" : [ - {"name":"Bazarr","url":"subs.example.com","icon":"message-video"}, + {"name":"Bazarr","url":"subs.example.com","icon":"message-video", "target": "_blank"}, {"name":"CloudCMD","url":"files.example.com","icon":"folder-multiple-outline"}, {"name":"Cockpit","url":"cp.example.com","icon":"airplane"}, {"name":"Feedbin","url":"rss.example.com","icon":"rss"}, diff --git a/index.html b/index.html index 8e5a748..67d11ef 100755 --- a/index.html +++ b/index.html @@ -12,7 +12,7 @@ - + +
- + @@ -102,11 +102,11 @@ {{/bookmarks}} - +
@@ -121,6 +121,6 @@ - + diff --git a/links.json b/links.json index 9c29431..f4b1272 100755 --- a/links.json +++ b/links.json @@ -13,7 +13,8 @@ }, { "name": "Slack", - "url": "https://slack.com/signin" + "url": "https://slack.com/signin", + "target": "_blank" } ] }, @@ -22,11 +23,13 @@ "links": [ { "name": "Box", - "url": "https://box.com" + "url": "https://box.com", + "target": "sui" }, { "name": "Dropbox", - "url": "https://dropbox.com" + "url": "https://dropbox.com", + "target": "sui" }, { "name": "Drive",