Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'ncp-web/ncp-launcher.php')
-rw-r--r--ncp-web/ncp-launcher.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/ncp-web/ncp-launcher.php b/ncp-web/ncp-launcher.php
index 62bf09ef..9c870cd1 100644
--- a/ncp-web/ncp-launcher.php
+++ b/ncp-web/ncp-launcher.php
@@ -157,23 +157,23 @@ else
exec( 'bash /usr/local/bin/ncp-diag', $output, $ret );
// info table
- $table = '<table id="dashtable">';
+ $table = '<table class="dashtable">';
foreach( $output as $line )
{
$table .= "<tr>";
$fields = explode( "|", $line );
$table .= "<td>$fields[0]</td>";
- $class = "";
+ $class = 'val-field';
if ( strpos( $fields[1], "up" ) !== false
|| strpos( $fields[1], "ok" ) !== false
|| strpos( $fields[1], "open" ) !== false )
- $class = 'class="ok-field"';
+ $class = 'ok-field';
if ( strpos( $fields[1], "down" ) !== false
|| strpos( $fields[1], "error" ) !== false )
- $class = 'class="error-field"';
+ $class = 'error-field';
- $table .= "<td $class>$fields[1]</td>";
+ $table .= "<td class=\"$class\">$fields[1]</td>";
$table .= "</tr>";
}
$table .= "</table>";
@@ -185,7 +185,7 @@ else
exec( "bash /usr/local/bin/ncp-suggestions \"" . implode( "\n", $output ) . '"', $out, $ret );
foreach( $out as $line )
if ( $line != "" )
- $suggestions .= "<p class=\"warn-field\">‣ $line</p>";
+ $suggestions .= "<p class=\"val-field\">‣ $line</p>";
}
// return JSON