From b9c9efed3abad0d3f851353a437834ad541d7d6e Mon Sep 17 00:00:00 2001 From: richard Date: Sat, 10 Jan 2026 10:35:49 -0500 Subject: [PATCH] Update homepage links --- ansible-5/roles/homer/files/config.yml | 27 ++++++++++++++++++- ansible-5/roles/homer/files/page2.yml | 10 ++++++- ansible-5/roles/homer/files/page3.yml | 36 ++++++++++++++++++++++++++ ansible-5/roles/homer/tasks/main.yaml | 1 + 4 files changed, 72 insertions(+), 2 deletions(-) create mode 100644 ansible-5/roles/homer/files/page3.yml diff --git a/ansible-5/roles/homer/files/config.yml b/ansible-5/roles/homer/files/config.yml index d22ecc0..6817e65 100644 --- a/ansible-5/roles/homer/files/config.yml +++ b/ansible-5/roles/homer/files/config.yml @@ -21,9 +21,13 @@ links: # this will link to a second homer page that will load config from additional-page.yml and keep default config values as in config.yml file # see url field and assets/additional-page.yml.dist used in this example: - - name: "page 2" + - name: "City Information" icon: "fas fa-file-alt" url: "#page2" + + - name: "Test Sites" + icon: "fas fa-file-alt" + url: "#page3" # 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). @@ -97,6 +101,14 @@ services: tag: "network" url: "https://pi.hole" + - name: "Proxy Manager" + icon: "fa-solid fa-list-check" + subtitle: "proxy" + tag: "network" + url: "http://homepage.xai-corp.net:81" + target: "_blank" + + - name: "Saas" icon: "fa-solid fa-cloud" items: @@ -105,15 +117,28 @@ services: subtitle: "proxy" tag: "network" url: "https://login.tailscale.com/admin/machines" + target: "_blank" - name: "ZoneEdit" icon: "fa-solid fa-network-wired" subtitle: "dns" tag: "network" url: "https://cp.zoneedit.com/manage/domains/" + target: "_blank" - name: "CIRA dns shield" icon: "fa-solid fa-network-wired" subtitle: "dns" tag: "network" url: "https://www.cira.ca/en/canadian-shield/configure/canadian-shield-configuration-test/" + target: "_blank" + + - name: "Online Tools" + icon: "fa-solid fa-cloud" + items: + - name: "MxTools: Subnet Calculator" + icon: "fa-solid fa-network-wired" + subtitle: "subnets" + tag: "network" + url: "https://mxtoolbox.com/subnetcalculator.aspx" + target: "_blank" diff --git a/ansible-5/roles/homer/files/page2.yml b/ansible-5/roles/homer/files/page2.yml index 239ea21..3629aae 100644 --- a/ansible-5/roles/homer/files/page2.yml +++ b/ansible-5/roles/homer/files/page2.yml @@ -10,12 +10,20 @@ subtitle: "this is another dashboard page" # This overwrites message config. Setting it to empty to remove message from this page and keep it only in the main one: message: ~ -# as we want to include a differente link here (so we can get back to home page), we need to replicate all links or they will be revome when overwriting the links field: +# as we want to include a different link here (so we can get back to home page), we need to replicate all links or they will be revome when overwriting the links field: links: - name: "Home" icon: "fas fa-home" url: "#" + - name: "City Information" + icon: "fas fa-file-alt" + url: "#page2" + + - name: "Test Sites" + icon: "fas fa-file-alt" + url: "#page3" + services: - name: "Local Cities" icon: "fa-solid fa-map" diff --git a/ansible-5/roles/homer/files/page3.yml b/ansible-5/roles/homer/files/page3.yml new file mode 100644 index 0000000..d794d40 --- /dev/null +++ b/ansible-5/roles/homer/files/page3.yml @@ -0,0 +1,36 @@ +--- +# Additional page configuration + +# Additional configurations are loaded using its file name, minus the extension, as an anchor (https://#). +# `config.yml` is still used as a base configuration, and all values here will overwrite it, so you don't have to re-defined everything + + +subtitle: "Page 3" + +# This overwrites message config. Setting it to empty to remove message from this page and keep it only in the main one: +message: ~ + +# as we want to include a differente link here (so we can get back to home page), we need to replicate all links or they will be revome when overwriting the links field: +links: + - name: "Home" + icon: "fas fa-home" + url: "#" + + - name: "City Information" + icon: "fas fa-file-alt" + url: "#page2" + + - name: "Test Sites" + icon: "fas fa-file-alt" + url: "#page3" + +services: + - name: "Test Sites" + icon: "fa-solid fa-map" + items: + + - name: "Linkstack Test" + icon: "fa-solid fa-list-check" + subtitle: "test" + tag: "social" + url: "http://links.xai-corp.net/login" diff --git a/ansible-5/roles/homer/tasks/main.yaml b/ansible-5/roles/homer/tasks/main.yaml index 52a0dfb..9a3b4df 100644 --- a/ansible-5/roles/homer/tasks/main.yaml +++ b/ansible-5/roles/homer/tasks/main.yaml @@ -18,3 +18,4 @@ loop: - config.yml - page2.yml + - page3.yml