Commit 814bc3c1 authored by José Luis  Gutiérrez's avatar José Luis Gutiérrez Committed by Alessandro Rubini

www: cosmetic fix

Adding blank space to HARDWARE string for SCB and BLACKPLANE.
Smaller size for endpointcalibration.php to make table fit better in
layout.
HTML charset is now utf-8 no avoid issues with special simbols.
parent 9f8a2eb2
......@@ -28,7 +28,7 @@ $options = Array (
Array ("KERNEL","Kernel Version","uname -r","y"),
Array ("KERNELCOMPILEDDATE","Kernel Compiled Date","uname -v","y"),
Array ("FIRMWARE","Firmware Version","/wr/bin/wrs_version | awk '{print $4}'","y"),
Array ("HARDWARE","Hardware Version","/wr/bin/wrs_version -t | grep 'scb\|back' | sort -r | sed 's/-version: /: v/'","y"),
Array ("HARDWARE","Hardware Version","/wr/bin/wrs_version -t | grep 'scb\|back' | sort -r | sed 's/back/ back/' | sed 's/-version: /: v/'","y"),
Array ("FPGA","FPGA Version","/wr/bin/wrs_version -f","y"),
Array ("COMPILEDBY","Compiled By",'/wr/bin/wrs_version -v | cut -d " " -f 2-',"y"),
Array ("MANUFACTURER","Manufacturer","/wr/bin/wrs_version -t | grep 'manufacturer' | sed 's/[^:]*: //'","y"),
......
......@@ -34,7 +34,7 @@ $WRS_INFO = Array(
KERNEL => '2.6.39-wr-switch',
KERNELCOMPILEDDATE => '#1 Mon Dec 15 17:47:56 CET 2014',
FIRMWARE => 'v4.1.1-164-g17d478d+',
HARDWARE => 'scb: v3.3backplane: v3.30',
HARDWARE => 'scb: v3.3 backplane: v3.30',
FPGA => 'LX240T',
COMPILEDBY => 'José Luis Gutiérrez',
MANUFACTURER => 'Seven Solutions',
......
......@@ -33,7 +33,7 @@
$formatID = "alternatecolor";
$class = "altrowstable firstcol";
$infoname = "Endpoint Configuration";
$size = "7";
$size = "6";
$header = array ("WR port","Protocol","Tx","Rx","Mode","Fiber");
$matrix = array ("key=CONFIG_PORT00_PARAMS,".$_SESSION["KCONFIG"]["CONFIG_PORT00_PARAMS"],
......@@ -68,7 +68,7 @@
$formatID = "alternatecolor1";
$class = "altrowstable firstcol";
$infoname = "Available Fibers";
$size = "12";
$size = "10";
$header = array ("#","Alpha");
......
......@@ -5,7 +5,7 @@
<title>White-Rabbit Local Management Tool</title>
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1">
content="text/html; charset=utf-8">
<link href="css/style.css" rel="stylesheet" type="text/css">
<!-- Javascript goes in the document HEAD -->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment