mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-02 01:27:27 -04:00
update landing page
make relative links (T-Pot home) dynamic to display them only if services are available adjust dimensions for link container correct github link place attack-map link in the home container
This commit is contained in:
14
docker/nginx/dist/html/config.js
vendored
14
docker/nginx/dist/html/config.js
vendored
@ -5,6 +5,8 @@
|
||||
// │ │ ││││├┤ ││ ┬│ │├┬┘├─┤ │ ││ ││││
|
||||
// └─┘└─┘┘└┘└ ┴└─┘└─┘┴└─┴ ┴ ┴ ┴└─┘┘└┘
|
||||
|
||||
// Create link for Cockpit redirection (instead of cockpit.html), so we can create links dynamically in assets/js/lists.js
|
||||
const redirectCockpit = window.location.protocol + '//' + window.location.hostname + ':64294'
|
||||
const CONFIG = {
|
||||
// ┌┐ ┌─┐┌─┐┬┌─┐┌─┐
|
||||
// ├┴┐├─┤└─┐││ └─┐
|
||||
@ -32,9 +34,13 @@ const CONFIG = {
|
||||
// Links
|
||||
lists: {
|
||||
firstList: [
|
||||
{
|
||||
name: 'Attack Map',
|
||||
link: '/map/',
|
||||
},
|
||||
{
|
||||
name: 'Cockpit',
|
||||
link: '/cockpit.html',
|
||||
link: redirectCockpit,
|
||||
},
|
||||
{
|
||||
name: 'Cyberchef',
|
||||
@ -54,17 +60,13 @@ const CONFIG = {
|
||||
},
|
||||
],
|
||||
secondList: [
|
||||
{
|
||||
name: 'Attack Map',
|
||||
link: '/map/',
|
||||
},
|
||||
{
|
||||
name: 'SecurityMeter',
|
||||
link: 'https://sicherheitstacho.eu',
|
||||
},
|
||||
{
|
||||
name: 'T-Pot @ GitHub',
|
||||
link: 'https://github.com/dtag-dev-sec/tpotce/',
|
||||
link: 'https://github.com/telekom-security/tpotce/',
|
||||
},
|
||||
{
|
||||
name: 'T-Pot ReadMe',
|
||||
|
Reference in New Issue
Block a user