mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-25 12:34:47 -04:00
Fix info page.
This commit is contained in:
parent
7068d354e8
commit
70e348ac50
6 changed files with 60 additions and 67 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue