summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) {