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
d8657739
Commit
d8657739
authored
Sep 30, 2014
by
Benoit Rat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
www: continue cleaning (minor html & css fixes)
parent
b202e065
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
363 additions
and
354 deletions
+363
-354
style.css
userspace/rootfs_override/var/www/css/style.css
+347
-342
endpointmode.php
userspace/rootfs_override/var/www/endpointmode.php
+7
-6
functions.php
userspace/rootfs_override/var/www/functions.php
+4
-1
help.php
userspace/rootfs_override/var/www/help.php
+1
-1
ptp.php
userspace/rootfs_override/var/www/ptp.php
+2
-1
sfpcalibration.php
userspace/rootfs_override/var/www/sfpcalibration.php
+2
-3
No files found.
userspace/rootfs_override/var/www/css/style.css
View file @
d8657739
This diff is collapsed.
Click to expand it.
userspace/rootfs_override/var/www/endpointmode.php
View file @
d8657739
...
...
@@ -48,12 +48,13 @@
?>
<br><br><br><br><br><br>
<hr>
<FORM
align=
"right"
method=
"post"
>
<input
type=
"hidden"
name=
"hal"
value=
"hal"
>
<INPUT
type=
"submit"
value=
"Restart PPSi"
class=
"btn"
>
</FORM>
<div>
<hr>
<FORM
align=
"right"
method=
"post"
>
<input
type=
"hidden"
name=
"hal"
value=
"hal"
>
<INPUT
type=
"submit"
value=
"Restart PPSi"
class=
"btn"
>
</FORM>
</div>
<?php
if
(
!
empty
(
$_POST
[
"hal"
])){
...
...
userspace/rootfs_override/var/www/functions.php
View file @
d8657739
...
...
@@ -1058,10 +1058,13 @@ function wrs_display_help($help_id, $name){
$msg
=
shell_exec
(
"/wr/bin/wrs_version -g"
);
$msg
=
explode
(
"
\n
"
,
$msg
);
$message
.=
"<ul>"
;
for
(
$i
=
0
;
$i
<
5
;
$i
++
){
$message
.=
"<
p>"
.
$msg
[
$i
]
.
"<br></p
>"
;
$message
.=
"<
li>"
.
$msg
[
$i
]
.
"</li
>"
;
}
$message
.=
"</ul>"
;
}
else
if
(
!
strcmp
(
$help_id
,
"file"
)){
$msg
=
shell_exec
(
"cat "
.
$GLOBALS
[
'etcdir'
]
.
$name
);
...
...
userspace/rootfs_override/var/www/help.php
View file @
d8657739
...
...
@@ -4,7 +4,7 @@
<title>
Help Menu
</title>
<link
href=
"css/help.css"
rel=
"stylesheet"
type=
"text/css"
>
</head>
<body
bgcolor=
"#FF
FF99"
>
<body
bgcolor=
"#FF
D100"
>
<h1><center>
Help
</center></h1>
<hr>
...
...
userspace/rootfs_override/var/www/ptp.php
View file @
d8657739
...
...
@@ -78,7 +78,8 @@
</tr>
-->
</table>
<INPUT
align=
"right"
type=
"submit"
value=
"Update & Relaunch"
class=
"btn last"
>
<hr>
<p
align=
right
><INPUT
align=
"right"
type=
"submit"
value=
"Update & Relaunch"
class=
"btn last"
></p>
</FORM>
<div
id=
"bottommsg"
>
...
...
userspace/rootfs_override/var/www/sfpcalibration.php
View file @
d8657739
...
...
@@ -82,12 +82,11 @@
}
}
echo
'</table>'
;
echo
'<input type="hidden" name="newconf" value="newconf">'
;
echo
'<input type="hidden" name="newnumber" value="'
.
$_POST
[
'number'
]
.
'">'
;
echo
'<input type="submit" value="Create new file & Reboot" class="btn
">'
;
echo
'<input type="submit" value="Create new file & Reboot" class="btn
last">'
;
echo
'</form>'
;
echo
'</table>'
;
echo
'</div>'
;
}
...
...
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