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
8305144f
Commit
8305144f
authored
Jan 19, 2016
by
Ad Schellevis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(legacy, ipsec) hide columns in vpn_ipsec.php on small screens
parent
b5af0b45
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
20 deletions
+22
-20
vpn_ipsec.php
src/www/vpn_ipsec.php
+22
-20
No files found.
src/www/vpn_ipsec.php
View file @
8305144f
...
@@ -335,11 +335,11 @@ $( document ).ready(function() {
...
@@ -335,11 +335,11 @@ $( document ).ready(function() {
<tr>
<tr>
<td>
</td>
<td>
</td>
<td>
</td>
<td>
</td>
<td>
<?=
gettext
(
"Type"
);
?>
</td>
<td
class=
"hidden-xs"
>
<?=
gettext
(
"Type"
);
?>
</td>
<td>
<?=
gettext
(
"Remote Gateway"
);
?>
</td>
<td>
<?=
gettext
(
"Remote Gateway"
);
?>
</td>
<td>
<?=
gettext
(
"Mode"
);
?>
</td>
<td
class=
"hidden-xs"
>
<?=
gettext
(
"Mode"
);
?>
</td>
<td>
<?=
gettext
(
"Phase 1 Proposal"
);
?>
</td>
<td
class=
"hidden-xs"
>
<?=
gettext
(
"Phase 1 Proposal"
);
?>
</td>
<td>
<?=
gettext
(
"Authentication"
);
?>
</td>
<td
class=
"hidden-xs"
>
<?=
gettext
(
"Authentication"
);
?>
</td>
<td>
<?=
gettext
(
"Description"
);
?>
</td>
<td>
<?=
gettext
(
"Description"
);
?>
</td>
<td>
<td>
</td>
</td>
...
@@ -360,7 +360,7 @@ $( document ).ready(function() {
...
@@ -360,7 +360,7 @@ $( document ).ready(function() {
<span
class=
"glyphicon glyphicon-play"
></span>
<span
class=
"glyphicon glyphicon-play"
></span>
</button>
</button>
</td>
</td>
<td>
<td
class=
"hidden-xs"
>
<?=
empty
(
$ph1ent
[
'protocol'
])
||
$ph1ent
[
'protocol'
]
==
"inet"
?
"IPv4"
:
"IPv6"
;
?>
<?=
empty
(
$ph1ent
[
'protocol'
])
||
$ph1ent
[
'protocol'
]
==
"inet"
?
"IPv4"
:
"IPv6"
;
?>
<?=
empty
(
$ph1ent
[
'iketype'
])
||
$ph1ent
[
'iketype'
]
==
"ikev1"
?
"IKE"
:
"IKEv2"
;
?>
<?=
empty
(
$ph1ent
[
'iketype'
])
||
$ph1ent
[
'iketype'
]
==
"ikev1"
?
"IKE"
:
"IKEv2"
;
?>
</td>
</td>
...
@@ -399,10 +399,10 @@ $( document ).ready(function() {
...
@@ -399,10 +399,10 @@ $( document ).ready(function() {
"<strong>"
.
gettext
(
"Mobile Client"
)
.
"</strong>"
;
"<strong>"
.
gettext
(
"Mobile Client"
)
.
"</strong>"
;
?>
?>
</td>
</td>
<td>
<td
class=
"hidden-xs"
>
<?=
htmlspecialchars
(
$ph1ent
[
'mode'
]);
?>
<?=
htmlspecialchars
(
$ph1ent
[
'mode'
]);
?>
</td>
</td>
<td>
<td
class=
"hidden-xs"
>
<?=
$p1_ealgos
[
$ph1ent
[
'encryption-algorithm'
][
'name'
]][
'name'
];
?>
<?=
$p1_ealgos
[
$ph1ent
[
'encryption-algorithm'
][
'name'
]][
'name'
];
?>
<?php
<?php
if
(
!
empty
(
$ph1ent
[
'encryption-algorithm'
][
'keylen'
]))
{
if
(
!
empty
(
$ph1ent
[
'encryption-algorithm'
][
'keylen'
]))
{
...
@@ -432,7 +432,7 @@ $( document ).ready(function() {
...
@@ -432,7 +432,7 @@ $( document ).ready(function() {
?>
?>
<?=
gettext
(
"DH Group"
);
?>
<?=
$p1_dhgroups
[
$ph1ent
[
'dhgroup'
]];
?>
<?=
gettext
(
"DH Group"
);
?>
<?=
$p1_dhgroups
[
$ph1ent
[
'dhgroup'
]];
?>
</td>
</td>
<td>
<td
class=
"hidden-xs"
>
<?php
<?php
$p1_authentication_methods
=
array
(
$p1_authentication_methods
=
array
(
'hybrid_rsa_server'
=>
array
(
'name'
=>
'Hybrid RSA + Xauth'
,
'mobile'
=>
true
),
'hybrid_rsa_server'
=>
array
(
'name'
=>
'Hybrid RSA + Xauth'
,
'mobile'
=>
true
),
...
@@ -493,13 +493,13 @@ $( document ).ready(function() {
...
@@ -493,13 +493,13 @@ $( document ).ready(function() {
<tr>
<tr>
<td>
</td>
<td>
</td>
<td>
</td>
<td>
</td>
<td>
<?=
gettext
(
"Type"
);
?>
</td>
<td
class=
"hidden-xs"
>
<?=
gettext
(
"Type"
);
?>
</td>
<td>
<?=
gettext
(
"Local Subnet"
);
?>
</td>
<td>
<?=
gettext
(
"Local Subnet"
);
?>
</td>
<td>
<?=
gettext
(
"Remote Subnet"
);
?>
</td>
<td>
<?=
gettext
(
"Remote Subnet"
);
?>
</td>
<td>
<?=
gettext
(
"Encryption Protocols"
);
?>
</td>
<td
class=
"hidden-xs"
>
<?=
gettext
(
"Encryption Protocols"
);
?>
</td>
<td>
<?=
gettext
(
"Authenticity Protocols"
);
?>
</td>
<td
class=
"hidden-xs"
>
<?=
gettext
(
"Authenticity Protocols"
);
?>
</td>
<td>
<?=
gettext
(
"PFS"
);
?>
</td>
<td
class=
"hidden-xs"
>
<?=
gettext
(
"PFS"
);
?>
</td>
<td
class =
"list"
>
</td>
<td>
</td>
</tr>
</tr>
</thead>
</thead>
<tbody>
<tbody>
...
@@ -520,7 +520,7 @@ $( document ).ready(function() {
...
@@ -520,7 +520,7 @@ $( document ).ready(function() {
<span
class=
"glyphicon glyphicon-play"
></span>
<span
class=
"glyphicon glyphicon-play"
></span>
</button>
</button>
</td>
</td>
<td>
<td
class=
"hidden-xs"
>
<?=
$p2_protos
[
$ph2ent
[
'protocol'
]];
?>
<?=
$p2_protos
[
$ph2ent
[
'protocol'
]];
?>
<?=
isset
(
$ph2ent
[
'mode'
])
?
array_search
(
$ph2ent
[
'mode'
],
array
(
"IPv4 tunnel"
=>
"tunnel"
,
"IPv6 tunnel"
=>
"tunnel6"
,
"transport"
=>
"transport"
))
:
""
;
?>
<?=
isset
(
$ph2ent
[
'mode'
])
?
array_search
(
$ph2ent
[
'mode'
],
array
(
"IPv4 tunnel"
=>
"tunnel"
,
"IPv6 tunnel"
=>
"tunnel6"
,
"transport"
=>
"transport"
))
:
""
;
?>
</td>
</td>
...
@@ -538,7 +538,7 @@ $( document ).ready(function() {
...
@@ -538,7 +538,7 @@ $( document ).ready(function() {
<
td
>&
nbsp
;
</
td
>
<
td
>&
nbsp
;
</
td
>
<?
php
<?
php
endif
;
?>
endif
;
?>
<td>
<td
class=
"hidden-xs"
>
<?php
<?php
foreach
(
$ph2ent
[
'encryption-algorithm-option'
]
as
$k
=>
$ph2ea
)
{
foreach
(
$ph2ent
[
'encryption-algorithm-option'
]
as
$k
=>
$ph2ea
)
{
if
(
$k
>
0
)
{
if
(
$k
>
0
)
{
...
@@ -554,7 +554,7 @@ $( document ).ready(function() {
...
@@ -554,7 +554,7 @@ $( document ).ready(function() {
}
}
}
?>
}
?>
</td>
</td>
<td>
<td
class=
"hidden-xs"
>
<?php
<?php
if
(
!
empty
(
$ph2ent
[
'hash-algorithm-option'
])
&&
is_array
(
$ph2ent
[
'hash-algorithm-option'
]))
{
if
(
!
empty
(
$ph2ent
[
'hash-algorithm-option'
])
&&
is_array
(
$ph2ent
[
'hash-algorithm-option'
]))
{
foreach
(
$ph2ent
[
'hash-algorithm-option'
]
as
$k
=>
$ph2ha
)
{
foreach
(
$ph2ent
[
'hash-algorithm-option'
]
as
$k
=>
$ph2ha
)
{
...
@@ -567,10 +567,10 @@ $( document ).ready(function() {
...
@@ -567,10 +567,10 @@ $( document ).ready(function() {
</td>
</td>
<?php
<?php
if
(
isset
(
$ph2ent
[
'pfsgroup'
]))
:
?>
if
(
isset
(
$ph2ent
[
'pfsgroup'
]))
:
?>
<td>
<?=
gettext
(
"Group"
);
?>
<?=
$p2_pfskeygroups
[
$ph2ent
[
'pfsgroup'
]];
?>
</td>
<td
class=
"hidden-xs"
>
<?=
gettext
(
"Group"
);
?>
<?=
$p2_pfskeygroups
[
$ph2ent
[
'pfsgroup'
]];
?>
</td>
<?php
<?php
else
:
?>
else
:
?>
<td>
<?=
gettext
(
"off"
);
?>
</td>
<td
class=
"hidden-xs"
>
<?=
gettext
(
"off"
);
?>
</td>
<?php
<?php
endif
;
?>
endif
;
?>
<td>
<td>
...
@@ -602,7 +602,8 @@ $( document ).ready(function() {
...
@@ -602,7 +602,8 @@ $( document ).ready(function() {
$j
++
;
$j
++
;
endforeach
;
?>
endforeach
;
?>
<tr>
<tr>
<td
colspan=
"8"
></td>
<td
colspan=
"4"
class=
"hidden-xs"
></td>
<td
colspan=
"4"
></td>
<td>
<td>
<?php
<?php
if
(
$j
>
0
)
:?>
if
(
$j
>
0
)
:?>
...
@@ -633,7 +634,8 @@ $( document ).ready(function() {
...
@@ -633,7 +634,8 @@ $( document ).ready(function() {
$i
++
;
$i
++
;
endforeach
;
?>
endforeach
;
?>
<tr>
<tr>
<td
colspan=
"8"
>
</td>
<td
colspan=
"4"
class=
"hidden-xs"
></td>
<td
colspan=
"4"
>
</td>
<td>
<td>
<button
<button
type=
"submit"
type=
"submit"
...
...
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