Changes on info index page.
This commit is contained in:
parent
4c96efe1c7
commit
4b7aba378c
2 changed files with 14 additions and 14 deletions
|
@ -30,9 +30,13 @@ html.no-js( lang="en" )
|
||||||
span.test-result ?
|
span.test-result ?
|
||||||
div.test-info PHP version >= 5.2.1
|
div.test-info PHP version >= 5.2.1
|
||||||
li.test( data-id="cache" )
|
li.test( data-id="cache" )
|
||||||
span.test-label cache
|
span.test-label cache directory
|
||||||
span.test-result ?
|
span.test-result ?
|
||||||
div.test-info _h5ai/cache writable for the server
|
div.test-info web server has write access
|
||||||
|
li.test( data-id="temp" )
|
||||||
|
span.test-label temp directory
|
||||||
|
span.test-result ?
|
||||||
|
div.test-info web server has write access
|
||||||
li.test( data-id="thumbs" )
|
li.test( data-id="thumbs" )
|
||||||
span.test-label image thumbs
|
span.test-label image thumbs
|
||||||
span.test-result ?
|
span.test-result ?
|
||||||
|
@ -40,15 +44,11 @@ html.no-js( lang="en" )
|
||||||
li.test( data-id="ffmpeg" )
|
li.test( data-id="ffmpeg" )
|
||||||
span.test-label movie thumbs
|
span.test-label movie thumbs
|
||||||
span.test-result ?
|
span.test-result ?
|
||||||
div.test-info ffmpeg executable in a shell
|
div.test-info command 'ffmpeg' available
|
||||||
li.test( data-id="convert" )
|
li.test( data-id="convert" )
|
||||||
span.test-label pdf thumbs
|
span.test-label pdf thumbs
|
||||||
span.test-result ?
|
span.test-result ?
|
||||||
div.test-info convert executable in a shell
|
div.test-info command 'convert' available
|
||||||
li.test( data-id="temp" )
|
|
||||||
span.test-label temp directory
|
|
||||||
span.test-result ?
|
|
||||||
div.test-info temporary directory writable for the server
|
|
||||||
li.test( data-id="archive" )
|
li.test( data-id="archive" )
|
||||||
span.test-label php tar and zip
|
span.test-label php tar and zip
|
||||||
span.test-result ?
|
span.test-result ?
|
||||||
|
@ -56,15 +56,15 @@ html.no-js( lang="en" )
|
||||||
li.test( data-id="tar" )
|
li.test( data-id="tar" )
|
||||||
span.test-label shell tar
|
span.test-label shell tar
|
||||||
span.test-result ?
|
span.test-result ?
|
||||||
div.test-info tar executable in a shell
|
div.test-info command 'tar' available
|
||||||
li.test( data-id="zip" )
|
li.test( data-id="zip" )
|
||||||
span.test-label shell zip
|
span.test-label shell zip
|
||||||
span.test-result ?
|
span.test-result ?
|
||||||
div.test-info zip executable in a shell
|
div.test-info command 'zip' available
|
||||||
li.test( data-id="du" )
|
li.test( data-id="du" )
|
||||||
span.test-label folder size
|
span.test-label folder size
|
||||||
span.test-result ?
|
span.test-result ?
|
||||||
div.test-info du executable in a shell
|
div.test-info command 'du' available
|
||||||
|
|
||||||
div#bottombar.clearfix
|
div#bottombar.clearfix
|
||||||
span.left
|
span.left
|
||||||
|
|
|
@ -3,12 +3,12 @@ modulejs.define('h5ai-info', ['$', 'core/ajax'], function ($, ajax) {
|
||||||
|
|
||||||
var setCheckResult = function (id, result) {
|
var setCheckResult = function (id, result) {
|
||||||
|
|
||||||
var $ele = $(id).find('.test-result');
|
var $result = $(id).find('.test-result');
|
||||||
|
|
||||||
if (result) {
|
if (result) {
|
||||||
$ele.addClass('test-passed').text('yes');
|
$result.addClass('test-passed').text('yes');
|
||||||
} else {
|
} else {
|
||||||
$ele.addClass('test-failed').text('no');
|
$result.addClass('test-failed').text('no');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue