Skip to content

Commit 7807143

Browse files
committed
Add local paths as redirections
1 parent 546dde7 commit 7807143

File tree

6 files changed

+21
-19
lines changed

6 files changed

+21
-19
lines changed

public/callback/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
<meta charset="utf-8">
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
77

8-
<link rel="stylesheet" href="/style.css">
9-
<link rel="icon" href="data:,">
8+
<link rel="stylesheet" href="../style.css">
9+
<link rel="icon" href="../pictures/Logo.png" type="image/icon type">
1010

11-
<script type="module" src="/callback/main.js"></script>
11+
<script type="module" src="./callback/main.js"></script>
1212

1313
<title>Redirecting ...</title>
1414
</head>

public/curation/person.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
<meta charset="utf-8">
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
77

8-
<link rel="stylesheet" href="style.css">
8+
<link rel="stylesheet" href="../style.css">
99
<title>Software CaRD</title>
10-
<link rel="icon" href="pictures/icon_ph.png" type="image/icon type">
10+
<link rel="icon" href="../pictures/Logo.png" type="image/icon type">
1111
</head>
1212
<body>
1313
<div id="header">

public/dashboard/index.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,18 @@
55
<meta charset="utf-8">
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
77

8-
<link rel="stylesheet" href="/style.css">
8+
<link rel="stylesheet" href="../style.css">
99
<link rel="icon" href="data:,">
10+
<link rel="icon" href="../pictures/Logo.png" type="image/icon type">
1011

11-
<script type="module" src="/dashboard/main.js"></script>
12+
<script type="module" src="./dashboard/main.js"></script>
1213

1314
<title>Dashboard | Software CaRD</title>
1415
</head>
1516

1617
<body>
1718
<h1><a href="/">Software CaRD</a></h1>
18-
<h2>Dashboard</h2>
19+
<h3>Dashboard</h3>
1920
<p>
2021
This could be a dashboard in the future.
2122
For now, it only tries to downloads the artifacts from the latest registered pipeline job.

public/gitlab-setup/index.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,18 @@
55
<meta charset="utf-8">
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
77

8-
<link rel="stylesheet" href="/style.css">
8+
<link rel="stylesheet" href="../style.css">
99
<link rel="icon" href="data:,">
10+
<link rel="icon" href="../pictures/Logo.png" type="image/icon type">
1011

11-
<script type="module" src="/gitlab-setup/main.js"></script>
12+
<script type="module" src="./gitlab-setup/main.js"></script>
1213

1314
<title>GitLab Account Setup | Software CaRD</title>
1415
</head>
1516

1617
<body>
1718
<h1><a href="/">Software CaRD</a></h1>
18-
<h2>GitLab Account Setup</h2>
19+
<h3>GitLab Account Setup</h3>
1920
<p>
2021
Please click <a href="https://codebase.helmholtz.cloud/-/user_settings/personal_access_tokens"
2122
target="_blank">here</a> to create a personal access token.

public/index.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
<meta charset="utf-8">
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
77

8-
<link rel="stylesheet" href="/style.css">
8+
<link rel="stylesheet" href="../style.css">
99
<link rel="icon" href="../pictures/Logo.png" type="image/icon type">
1010

11-
<script type="module" src="main.js"></script>
11+
<script type="module" src="./main.js"></script>
1212

1313
<title>Welcome | Software CaRD</title>
1414
</head>
@@ -19,12 +19,12 @@ <h3>Welcome<span id="welcome-username"></span></h3>
1919
<p>
2020
You can do the following:
2121
<ol>
22-
<li>Set up the <a href="/gitlab-setup/">connection to your GitLab account</a>.</li>
23-
<li>Load an <a href="/callback?gitlab_project_id=17500&gitlab_pipeline_id=570319&gitlab_job_id=2350529">
22+
<li>Set up the <a href="./gitlab-setup/">connection to your GitLab account</a>.</li>
23+
<li>Load an <a href="./callback?gitlab_project_id=17500&gitlab_pipeline_id=570319&gitlab_job_id=2350529">
2424
example CI pipeline</a>.</li>
25-
<li>See your <a href="/dashboard/">dashboard</a>.</li>
26-
<li>See your <a href="/curation/">curation view</a>.</li>
27-
<li>See your <a href="/reporting/">reporting view</a>.</li>
25+
<li>See your <a href="./dashboard/">dashboard</a>.</li>
26+
<li>See your <a href="./curation/">curation view</a>.</li>
27+
<li>See your <a href="./reporting/">reporting view</a>.</li>
2828
</ol>
2929
</p>
3030
<hr>

public/reporting/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<link rel="stylesheet" href="../style.css">
1010
<title>Software CaRD</title>
11-
<link rel="icon" href="pictures/icon_ph.png" type="image/icon type">
11+
<link rel="icon" href="../pictures/Logo.png" type="image/icon type">
1212

1313
</head>
1414
<body>

0 commit comments

Comments
 (0)