Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpnSense
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
OpnSense
Commits
366ac330
Commit
366ac330
authored
Mar 14, 2016
by
Ad Schellevis
Committed by
Franco Fichtner
Mar 16, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
whitespace index.php
(cherry picked from commit
13ae2f59
)
parent
29ce7f45
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
324 additions
and
356 deletions
+324
-356
index.php
src/www/index.php
+324
-356
No files found.
src/www/index.php
View file @
366ac330
...
...
@@ -328,25 +328,14 @@ include("head.inc");
<body>
<!--script type="text/javascript">
//<![CDATA[
columns = ['col1','col2','col3','col4', 'col5','col6','col7','col8','col9','col10'];
//]]>
</script-->
<?php
include
(
"fbegin.inc"
);
echo
$jscriptstr
;
?>
<?php
## If it is the first time webConfigurator has been
## accessed since initial install show this stuff.
## If it is the first time webConfigurator has been
## accessed since initial install show this stuff.
if
(
isset
(
$config
[
'trigger_initial_wizard'
]))
:
?>
<header
class=
"page-content-head"
>
...
...
@@ -361,9 +350,7 @@ if (isset($config['trigger_initial_wizard'])) :
<section
class=
"col-xs-12"
>
<div
class=
"content-box"
style=
"padding: 20px;"
>
<div
class=
"table-responsive"
>
<?php
echo
"<img src=
\"
/ui/themes/
{
$themename
}
/build/images/default-logo.png
\"
border=
\"
0
\"
alt=
\"
logo
\"
/><p>
\n
"
;
?>
<img
src=
"/ui/themes/
<?=
$themename
;
?>
/build/images/default-logo.png"
border=
"0"
alt=
"logo"
/>
<br
/>
<div
class=
"content-box-main"
>
<?php
...
...
@@ -386,10 +373,8 @@ endif; ?>
<section
class=
"page-content-main"
>
<div
class=
"container-fluid"
>
<div
class=
"row"
>
<?php
<?php
$crash_report
=
get_crash_report
();
if
(
$crash_report
!=
''
)
{
print_info_box
(
$crash_report
);
...
...
@@ -479,20 +464,15 @@ endif; ?>
break
;
}
}
}
?>
}
?>
<section
class=
"col-xs-12 col-md-6 widgetdiv"
id=
"
<?=
$widgetname
?>
"
style=
"display:
<?=
$divdisplay
?>
;"
>
<div
class=
"content-box"
>
<form
action=
"
<?=
$_SERVER
[
'REQUEST_URI'
];
?>
"
method=
"post"
id=
"iform"
>
<input
type=
"hidden"
value=
""
name=
"sequence"
id=
"sequence"
/>
<header
class=
"content-box-head container-fluid"
>
<ul
class=
"list-inline __nomb"
>
<li><h3>
<?php
<?php
$widgettitle
=
$widgetname
.
"_title"
;
$widgettitlelink
=
$widgetname
.
"_title_link"
;
if
(
isset
(
$$widgettitle
))
{
...
...
@@ -521,20 +501,14 @@ endif; ?>
</span></u>
<?php
}
}
?>
}
?>
</h3></li>
<li
class=
"pull-right"
>
<div
class=
"btn-group"
>
<button
type=
"button"
class=
"btn btn-default btn-xs"
title=
"minimize"
id=
"
<?=
$widgetname
?>
-min"
onclick=
'return minimizeWidget("
<?=
$widgetname
?>
",true)'
style=
"display:
<?=
$mindiv
?>
;"
><span
class=
"glyphicon glyphicon-minus"
></span></button>
<button
type=
"button"
class=
"btn btn-default btn-xs"
title=
"maximize"
id=
"
<?=
$widgetname
?>
-max"
onclick=
'return showWidget("
<?=
$widgetname
?>
",true)'
style=
"display:
<?=
$mindiv
==
'none'
?
'inline'
:
'none'
?>
;"
><span
class=
"glyphicon glyphicon-plus"
></span></button>
<button
type=
"button"
class=
"btn btn-default btn-xs"
title=
"remove widget"
onclick=
'return closeWidget("
<?=
$widgetname
?>
",true)'
><span
class=
"glyphicon glyphicon-remove"
></span></button>
<button
type=
"button"
class=
"btn btn-default btn-xs"
id=
"
<?=
$widgetname
?>
-configure"
onclick=
'return configureWidget("
<?=
$widgetname
?>
")'
style=
"display:none; cursor:pointer"
><span
class=
"glyphicon glyphicon-pencil"
></span></button>
</div>
</li>
</ul>
...
...
@@ -542,31 +516,25 @@ endif; ?>
</form>
<div
class=
"content-box-main collapse in"
id=
"
<?=
$widgetname
?>
-container"
style=
"display:
<?=
$mindiv
?>
"
>
<input
type=
"hidden"
value=
"
<?=
$inputdisplay
?>
"
id=
"
<?=
$widgetname
?>
-config"
name=
"
<?=
$widgetname
?>
-config"
/>
<?php
if
(
$divdisplay
!=
"block"
)
{
?>
<?php
if
(
$divdisplay
!=
"block"
)
{
?>
<div
id=
"
<?=
$widgetname
?>
-loader"
style=
"display:
<?=
$display
?>
;"
align=
"center"
>
<br
/>
<span
class=
"glyphicon glyphicon-refresh"
></span>
<?=
gettext
(
"Loading selected widget"
)
?>
<br
/>
</div>
<?php
$display
=
"none"
;
}
?>
<?php
}
if
(
file_exists
(
$directory
.
$widget
))
{
if
(
$divdisplay
==
'block'
)
{
include
(
$directory
.
$widget
);
}
}
?>
<?php
$widgetcounter
++
;
?>
}
$widgetcounter
++
;
?>
</div>
</div>
</section>
<?php
<?php
}
//end foreach ?>
</
div
>
</
div
>
</
section
>
...
...
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