summaryrefslogtreecommitdiff
path: root/frontend
diff options
context:
space:
mode:
authorChristian Franke <nobody@nowhere.ws>2015-10-26 20:23:05 +0100
committerChristian Franke <nobody@nowhere.ws>2015-10-26 20:23:05 +0100
commitf6829b4f9c46aebdcef2cb680234557471461e94 (patch)
tree0b2e5c6798c9cbc1a21a3fd4a3a9d2559ddec920 /frontend
parente700080ec2bbc3e65b470b2401b2aebead0af3cd (diff)
Adapt urls for new deployment schemaHEADmaster
Diffstat (limited to 'frontend')
-rw-r--r--frontend/index.html4
-rw-r--r--frontend/repo-create.js2
2 files changed, 3 insertions, 3 deletions
diff --git a/frontend/index.html b/frontend/index.html
index fc7d131..7067265 100644
--- a/frontend/index.html
+++ b/frontend/index.html
@@ -6,12 +6,12 @@
<script src="jquery-1.10.1.min.js"></script>
<script src="jquery.xmlrpc.min.js"></script>
<meta name='robots' content='index, nofollow'/>
-<link rel='stylesheet' type='text/css' href='/static/sublab-git.css'/>
+<link rel='stylesheet' type='text/css' href='/static/git.css'/>
</head>
<body>
<div id='cgit'><table id='header'>
<tr>
-<td class='logo' rowspan='2'><a href='/'><img src='/static/sublab-git.png' alt='cgit logo'/></a></td>
+<td class='logo' rowspan='2'><a href='/'><img src='/static/logo.png' alt='cgit logo'/></a></td>
<td class='main'>create repository</td></tr>
<tr><td class='sub'>Create a new git repository on git.sublab.org</td></tr></table>
<table class='tabs'><tr>
diff --git a/frontend/repo-create.js b/frontend/repo-create.js
index e2744be..7e5b745 100644
--- a/frontend/repo-create.js
+++ b/frontend/repo-create.js
@@ -42,7 +42,7 @@ $(function () {
$('#message').text('Repository created successfuly. You will'
+ ' be redirected shortly.').show();
setTimeout(function() {
- window.location.href = 'https://git.sublab.org/' + repo_name + '/';
+ window.location.href = '/' + repo_name + '/';
}, 3000);
},
error: function(jqXHR, status, error) {