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
aefda36f
Commit
aefda36f
authored
Mar 09, 2017
by
anne munoz
Committed by
Adam Wujek
Aug 02, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
www: minor reset changes
fixed footer changed title
parent
4e9aaa51
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
10 deletions
+13
-10
reset.php
userspace/rootfs_override/var/www/reset.php
+13
-10
No files found.
userspace/rootfs_override/var/www/reset.php
View file @
aefda36f
...
...
@@ -36,27 +36,30 @@
<h2>
Reset
</h2>
<br>
<p>
This will reset your switch to the default
state
</p>
<p>
This will reset your switch to the default
configuration
</p>
<br>
<FORM
method=
"POST"
ENCTYPE=
"multipart/form-data"
onsubmit=
"return confirm('Are you sure you want to reset the switch?');"
>
<th><INPUT
type=
submit
value=
"Reset"
class=
"btn"
name=
"reset"
></th>
</FORM>
</div>
</div>
</div>
<div
class=
"footer"
>
<?php
if
(
isset
(
$_POST
[
'reset'
])){
resetswitch
();
}
<?php
if
(
isset
(
$_POST
[
'reset'
])){
resetswitch
();
}
if
(
isset
(
$_POST
[
'reboot'
])){
if
(
isset
(
$_POST
[
'reboot'
])){
wrs_reboot
();
}
?>
</div>
</div>
</div>
<div
class=
"footer"
>
<?php
include
'footer.php'
?>
</div>
</div>
</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