Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Switch - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
86
Issues
86
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
White Rabbit Switch - Software
Commits
45d67a45
Commit
45d67a45
authored
Aug 19, 2016
by
Adam Wujek
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rootfs/www: remove "unlocked" icon
Signed-off-by:
Adam Wujek
<
adam.wujek@cern.ch
>
parent
7742566e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
functions.php
userspace/rootfs_override/var/www/functions.php
+9
-9
No files found.
userspace/rootfs_override/var/www/functions.php
View file @
45d67a45
...
...
@@ -103,14 +103,7 @@ function wrs_header_ports(){
echo
'<tr class="status">'
;
for
(
$i
=
1
;
$i
<
18
*
3
;
$i
=
$i
+
3
){
if
(
strstr
(
$ports
[(
$i
+
1
)],
"Locked"
)){
$mode
=
"locked"
;
}
else
{
$mode
=
"unlocked"
;
}
echo
'<th>'
.
"<img class='syntonization "
.
$mode
.
"' SRC='img/"
.
$mode
.
".png' alt='syntonization: "
.
$mode
.
"', title = 'syntonization: "
.
$mode
.
"'>"
;
echo
'<th>'
;
if
(
strstr
(
$ports
[(
$i
+
2
)],
"Calibrated"
)){
$mode
=
"calibrated"
;
$img
=
"check.png"
;
...
...
@@ -118,7 +111,14 @@ function wrs_header_ports(){
$mode
=
"uncalibrated"
;
$img
=
"uncheck.png"
;
}
echo
"<img class='calibration "
.
$mode
.
"' SRC='img/"
.
$img
.
"' alt='"
.
$mode
.
"', title = '"
.
$mode
.
"'>"
.
'</th>'
;
echo
"<img class='calibration "
.
$mode
.
"' SRC='img/"
.
$img
.
"' alt='"
.
$mode
.
"', title = '"
.
$mode
.
"'>"
;
if
(
strstr
(
$ports
[(
$i
+
1
)],
"Locked"
)){
$mode
=
"locked"
;
echo
"<img class='syntonization "
.
$mode
.
"' SRC='img/"
.
$mode
.
".png' alt='syntonization: "
.
$mode
.
"', title = 'syntonization: "
.
$mode
.
"'>"
;
}
echo
'</th>'
;
}
echo
'</tr>'
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment