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
3a47f554
Commit
3a47f554
authored
Mar 03, 2016
by
Ad Schellevis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
html fixes
parent
4227d111
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
17 additions
and
17 deletions
+17
-17
authgui.inc
src/etc/inc/authgui.inc
+3
-3
base_dialog.volt
src/opnsense/mvc/app/views/layout_partials/base_dialog.volt
+3
-3
base_menu_system.volt
...sense/mvc/app/views/layout_partials/base_menu_system.volt
+3
-3
default.volt
src/opnsense/mvc/app/views/layouts/default.volt
+3
-3
fbegin.inc
src/www/fbegin.inc
+4
-4
head.inc
src/www/head.inc
+1
-1
No files found.
src/etc/inc/authgui.inc
View file @
3a47f554
...
...
@@ -320,7 +320,7 @@ function display_error_form($http_code, $desc)
<title>
<?=
$http_code
?>
</title>
<link
href=
"/ui/themes/
<?=
$themename
?>
/build/css/main.css"
media=
"screen, projection"
rel=
"stylesheet"
>
<link
href=
"/ui/themes/
<?=
$themename
?>
/build/css/main.css"
rel=
"stylesheet"
>
<link
href=
"/ui/themes/
<?=
$themename
?>
/build/images/favicon.png"
rel=
"shortcut icon"
>
<!--[if lt IE 9]><script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.2/html5shiv.min.js"></script><![endif]-->
...
...
@@ -388,7 +388,7 @@ function display_login_form($Login_Error = '')
<title>
<?=
gettext
(
"Login"
);
?>
</title>
<link
href=
"/ui/themes/
<?=
$themename
?>
/build/css/main.css"
media=
"screen, projection"
rel=
"stylesheet"
>
<link
href=
"/ui/themes/
<?=
$themename
?>
/build/css/main.css"
rel=
"stylesheet"
>
<link
href=
"/ui/themes/
<?=
$themename
?>
/build/images/favicon.png"
rel=
"shortcut icon"
>
<!--[if lt IE 9]><script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.2/html5shiv.min.js"></script><![endif]-->
...
...
@@ -408,7 +408,7 @@ function display_login_form($Login_Error = '')
<main
class=
"login-modal-container"
>
<header
class=
"login-modal-head"
style=
"height:55px;"
>
<div
class=
"navbar-brand"
>
<img
src=
"/ui/themes/
<?=
$themename
?>
/build/images/default-logo.png"
height=
"30"
/>
<img
src=
"/ui/themes/
<?=
$themename
?>
/build/images/default-logo.png"
height=
"30"
alt=
"logo"
/>
</div>
</header>
...
...
src/opnsense/mvc/app/views/layout_partials/base_dialog.volt
View file @
3a47f554
...
...
@@ -70,9 +70,9 @@ label : dialog label
<tbody>
{% if advanced|default(false) or help|default(false) %}
<tr>
<td
align="left"><a href="#">{% if advanced|default(false) %}<i class="fa fa-toggle-off text-danger" id="show_advanced_formDialogPipe" type="button
"></i> </a><small>{{ lang._('advanced mode') }} </small>{% endif %}</td>
<td colspan="2"
align="right
">
{% if help|default(false) %}<small>{{ lang._('full help') }} </small><a href="#"><i class="fa fa-toggle-off text-danger" id="show_all_help_formDialog
Pipe" type="button
"></i></a>{% endif %}
<td
>{% if advanced|default(false) %}<a href="#"><i class="fa fa-toggle-off text-danger" id="show_advanced_formDialog{{id}}
"></i> </a><small>{{ lang._('advanced mode') }} </small>{% endif %}</td>
<td colspan="2"
style="text-align:right;
">
{% if help|default(false) %}<small>{{ lang._('full help') }} </small><a href="#"><i class="fa fa-toggle-off text-danger" id="show_all_help_formDialog
{{id}}
"></i></a>{% endif %}
</td>
</tr>
{% endif %}
...
...
src/opnsense/mvc/app/views/layout_partials/base_menu_system.volt
View file @
3a47f554
...
...
@@ -17,17 +17,17 @@
</div>
</div>
</a>
<div class="collapse {% if subMenuItem.Selected %} active-menu in {% endif %}" id="{{ topMenuItem.Id }}_{{ subMenuItem.Id }}"
aria-expanded="{% if subMenuItem.Selected %}true{%else%}false{% endif %}"
>
<div class="collapse {% if subMenuItem.Selected %} active-menu in {% endif %}" id="{{ topMenuItem.Id }}_{{ subMenuItem.Id }}" >
{% for subsubMenuItem in subMenuItem.Children %}
{% if subsubMenuItem.IsExternal == "Y" %}
<a href="{{ subsubMenuItem.Url }}" target="_
new
" class="list-group-item menu-level-3-item {% if subsubMenuItem.Selected %} active {% endif %}">{{ lang._(subsubMenuItem.VisibleName) }}</a>
<a href="{{ subsubMenuItem.Url }}" target="_
blank
" class="list-group-item menu-level-3-item {% if subsubMenuItem.Selected %} active {% endif %}">{{ lang._(subsubMenuItem.VisibleName) }}</a>
{% elseif acl.isPageAccessible(session.get('Username'),subsubMenuItem.Url) %}
<a href="{{ subsubMenuItem.Url }}" class="list-group-item menu-level-3-item {% if subsubMenuItem.Selected %} active {% endif %}">{{ lang._(subsubMenuItem.VisibleName) }}</a>
{% endif %}
{% endfor %}
</div>
{% elseif subMenuItem.IsExternal == "Y" %}
<a href="{{ subMenuItem.Url }}" target="_
new
" class="list-group-item {% if subMenuItem.Selected %} active {% endif %}" aria-expanded="{% if subMenuItem.Selected %}true{%else%}false{% endif %}">
<a href="{{ subMenuItem.Url }}" target="_
blank
" class="list-group-item {% if subMenuItem.Selected %} active {% endif %}" aria-expanded="{% if subMenuItem.Selected %}true{%else%}false{% endif %}">
<div style="display: table;width: 100%;">
<div style="display: table-row">
<div style="display: table-cell">{{ lang._(subMenuItem.VisibleName) }}</div>
...
...
src/opnsense/mvc/app/views/layouts/default.volt
View file @
3a47f554
...
...
@@ -16,7 +16,7 @@
<title>
{{title|default("OPNsense") }}
</title>
<!-- include (theme) style -->
<link
href=
"/ui/themes/{{ui_theme|default('opnsense')}}/build/css/main.css"
media=
"screen, projection"
rel=
"stylesheet"
>
<link
href=
"/ui/themes/{{ui_theme|default('opnsense')}}/build/css/main.css"
rel=
"stylesheet"
>
<!-- TODO: move to theme style -->
<style>
...
...
@@ -169,8 +169,8 @@
<div
class=
"container-fluid"
>
<div
class=
"navbar-header"
>
<a
class=
"navbar-brand"
href=
"/"
>
<img
class=
"brand-logo"
src=
"/ui/themes/{{ui_theme|default('opnsense')}}/build/images/default-logo.png"
height=
"30"
/>
<img
class=
"brand-icon"
src=
"/ui/themes/{{ui_theme|default('opnsense')}}/build/images/icon-logo.png"
height=
"30"
/>
<img
class=
"brand-logo"
src=
"/ui/themes/{{ui_theme|default('opnsense')}}/build/images/default-logo.png"
height=
"30"
alt=
"logo"
/>
<img
class=
"brand-icon"
src=
"/ui/themes/{{ui_theme|default('opnsense')}}/build/images/icon-logo.png"
height=
"30"
alt=
"icon"
/>
</a>
<button
type=
"button"
class=
"navbar-toggle collapsed"
data-toggle=
"collapse"
data-target=
"#navigation"
>
<span
class=
"sr-only"
>
Toggle navigation
</span>
...
...
src/www/fbegin.inc
View file @
3a47f554
...
...
@@ -80,8 +80,8 @@ if($need_alert_display == true) {
<div
class=
"container-fluid"
>
<div
class=
"navbar-header"
>
<a
class=
"navbar-brand"
href=
"/index.php"
>
<img
class=
"brand-logo"
src=
"/ui/themes/
<?=
$themename
?>
/build/images/default-logo.png"
height=
"30"
/>
<img
class=
"brand-icon"
src=
"/ui/themes/
<?=
$themename
?>
/build/images/icon-logo.png"
height=
"30"
/>
<img
class=
"brand-logo"
src=
"/ui/themes/
<?=
$themename
?>
/build/images/default-logo.png"
height=
"30"
alt=
"logo"
/>
<img
class=
"brand-icon"
src=
"/ui/themes/
<?=
$themename
?>
/build/images/icon-logo.png"
height=
"30"
alt=
"icon"
/>
</a>
<button
type=
"button"
class=
"navbar-toggle collapsed"
data-toggle=
"collapse"
data-target=
"#navigation"
>
<span
class=
"sr-only"
>
Toggle navigation
</span>
...
...
@@ -134,7 +134,7 @@ if($need_alert_display == true) {
foreach
(
$subMenuItem
->
Children
as
$subsubMenuItem
)
:?>
<?
php
if
(
$subsubMenuItem
->
IsExternal
==
"Y"
)
:?>
<
a
href
=
"<?=
$subsubMenuItem->Url
;?>"
target
=
"_
new
"
class
="
list
-
group
-
item
menu
-
level
-
3
-
item
<?=
$subsubMenuItem
->
Selected
?
"active"
:
""
;
?>
">
<?=
gettext
(
$subsubMenuItem
->
VisibleName
);
?>
</a>
<
a
href
=
"<?=
$subsubMenuItem->Url
;?>"
target
=
"_
blank
"
class
="
list
-
group
-
item
menu
-
level
-
3
-
item
<?=
$subsubMenuItem
->
Selected
?
"active"
:
""
;
?>
">
<?=
gettext
(
$subsubMenuItem
->
VisibleName
);
?>
</a>
<?php
elseif
(
$aclObj
->
isPageAccessible
(
$_SESSION
[
'Username'
],
$subsubMenuItem
->
Url
))
:?>
<
a
href
=
"<?=
$subsubMenuItem->Url
;?>"
class
="
list
-
group
-
item
menu
-
level
-
3
-
item
<?=
$subsubMenuItem
->
Selected
?
"active"
:
""
;
?>
">
<?=
gettext
(
$subsubMenuItem
->
VisibleName
);
?>
</a>
...
...
@@ -144,7 +144,7 @@ if($need_alert_display == true) {
</div>
<?php
elseif
(
$subMenuItem
->
IsExternal
==
"Y"
)
:?>
<
a
href
=
"<?=
$subMenuItem->Url
;?>"
target
=
"_
new
"
class
="
list
-
group
-
item
<?=
$subMenuItem
->
Selected
?
"active"
:
""
;
?>
" aria-expanded="
<?=
$subMenuItem
->
Selected
?
"true"
:
"false"
;
?>
">
<
a
href
=
"<?=
$subMenuItem->Url
;?>"
target
=
"_
blank
"
class
="
list
-
group
-
item
<?=
$subMenuItem
->
Selected
?
"active"
:
""
;
?>
" aria-expanded="
<?=
$subMenuItem
->
Selected
?
"true"
:
"false"
;
?>
">
<div
style=
"display: table;width: 100%;"
>
<div
style=
"display: table-row"
>
<div
style=
"display: table-cell"
>
<?=
gettext
(
$subMenuItem
->
VisibleName
);
?>
</div>
...
...
src/www/head.inc
View file @
3a47f554
...
...
@@ -63,7 +63,7 @@ $pagetitle .= sprintf(' | %s.%s', $config['system']['hostname'], $config['system
<title>
<?=
$pagetitle
?>
</title>
<!-- include (theme) style -->
<link
href=
"/ui/themes/
<?=
$themename
?>
/build/css/main.css"
media=
"screen, projection"
rel=
"stylesheet"
>
<link
href=
"/ui/themes/
<?=
$themename
?>
/build/css/main.css"
rel=
"stylesheet"
>
<!-- TODO: move to theme style -->
<style>
...
...
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