Fix info page.

This commit is contained in:
Lars Jung 2014-12-04 13:13:08 +01:00
parent 7068d354e8
commit 70e348ac50
6 changed files with 60 additions and 67 deletions

View file

@ -1,9 +1,7 @@
modulejs.define('info', ['$', 'config'], function ($, config) {
var testsTemp =
'<div id="tests-wrapper">' +
'<ul id="tests">' +
'</div>';
'<ul id="tests">';
var testTemp =
'<li class="test">' +
'<span class="label"></span>' +
@ -41,7 +39,7 @@ modulejs.define('info', ['$', 'config'], function ($, config) {
function addTests() {
$(testsTemp).appendTo('body');
$(testsTemp).appendTo('#content');
addTest(
'Index file found', 'Add <code>' + setup.INDEX_HREF + '</code> to your index file list',
@ -147,7 +145,7 @@ modulejs.define('info', ['$', 'config'], function ($, config) {
function addLogin() {
$(loginTemp).appendTo('body');
$(loginTemp).appendTo('#content');
if (setup.AS_ADMIN) {
$('#pass').remove();