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() {
<tr>
<td>
</td>
<td>
</td>
<td>
<?=
gettext
(
"Type"
);
?>
</td>
<td
class=
"hidden-xs"
>
<?=
gettext
(
"Type"
);
?>
</td>
<td>
<?=
gettext
(
"Remote Gateway"
);
?>
</td>
<td>
<?=
gettext
(
"Mode"
);
?>
</td>
<td>
<?=
gettext
(
"Phase 1 Proposal"
);
?>
</td>
<td>
<?=
gettext
(
"Authentication"
);
?>
</td>
<td
class=
"hidden-xs"
>
<?=
gettext
(
"Mode"
);
?>
</td>
<td
class=
"hidden-xs"
>
<?=
gettext
(
"Phase 1 Proposal"
);
?>
</td>
<td
class=
"hidden-xs"
>
<?=
gettext
(
"Authentication"
);
?>
</td>
<td>
<?=
gettext
(
"Description"
);
?>
</td>
<td>
</td>
...
...
@@ -360,7 +360,7 @@ $( document ).ready(function() {
<span
class=
"glyphicon glyphicon-play"
></span>
</button>
</td>
<td>
<td
class=
"hidden-xs"
>
<?=
empty
(
$ph1ent
[
'protocol'
])
||
$ph1ent
[
'protocol'
]
==
"inet"
?
"IPv4"
:
"IPv6"
;
?>
<?=
empty
(
$ph1ent
[
'iketype'
])
||
$ph1ent
[
'iketype'
]
==
"ikev1"
?
"IKE"
:
"IKEv2"
;
?>
</td>
...
...
@@ -399,10 +399,10 @@ $( document ).ready(function() {
"<strong>"
.
gettext
(
"Mobile Client"
)
.
"</strong>"
;
?>
</td>
<td>
<td
class=
"hidden-xs"
>
<?=
htmlspecialchars
(
$ph1ent
[
'mode'
]);
?>
</td>
<td>
<td
class=
"hidden-xs"
>
<?=
$p1_ealgos
[
$ph1ent
[
'encryption-algorithm'
][
'name'
]][
'name'
];
?>
<?php
if
(
!
empty
(
$ph1ent
[
'encryption-algorithm'
][
'keylen'
]))
{
...
...
@@ -432,7 +432,7 @@ $( document ).ready(function() {
?>
<?=
gettext
(
"DH Group"
);
?>
<?=
$p1_dhgroups
[
$ph1ent
[
'dhgroup'
]];
?>
</td>
<td>
<td
class=
"hidden-xs"
>
<?php
$p1_authentication_methods
=
array
(
'hybrid_rsa_server'
=>
array
(
'name'
=>
'Hybrid RSA + Xauth'
,
'mobile'
=>
true
),
...
...
@@ -493,13 +493,13 @@ $( document ).ready(function() {
<tr>
<td>
</td>
<td>
</td>
<td>
<?=
gettext
(
"Type"
);
?>
</td>
<td
class=
"hidden-xs"
>
<?=
gettext
(
"Type"
);
?>
</td>
<td>
<?=
gettext
(
"Local Subnet"
);
?>
</td>
<td>
<?=
gettext
(
"Remote Subnet"
);
?>
</td>
<td>
<?=
gettext
(
"Encryption Protocols"
);
?>
</td>
<td>
<?=
gettext
(
"Authenticity Protocols"
);
?>
</td>
<td>
<?=
gettext
(
"PFS"
);
?>
</td>
<td
class =
"list"
>
</td>
<td
class=
"hidden-xs"
>
<?=
gettext
(
"Encryption Protocols"
);
?>
</td>
<td
class=
"hidden-xs"
>
<?=
gettext
(
"Authenticity Protocols"
);
?>
</td>
<td
class=
"hidden-xs"
>
<?=
gettext
(
"PFS"
);
?>
</td>
<td>
</td>
</tr>
</thead>
<tbody>
...
...
@@ -520,7 +520,7 @@ $( document ).ready(function() {
<span
class=
"glyphicon glyphicon-play"
></span>
</button>
</td>
<td>
<td
class=
"hidden-xs"
>
<?=
$p2_protos
[
$ph2ent
[
'protocol'
]];
?>
<?=
isset
(
$ph2ent
[
'mode'
])
?
array_search
(
$ph2ent
[
'mode'
],
array
(
"IPv4 tunnel"
=>
"tunnel"
,
"IPv6 tunnel"
=>
"tunnel6"
,
"transport"
=>
"transport"
))
:
""
;
?>
</td>
...
...
@@ -538,7 +538,7 @@ $( document ).ready(function() {
<
td
>&
nbsp
;
</
td
>
<?
php
endif
;
?>
<td>
<td
class=
"hidden-xs"
>
<?php
foreach
(
$ph2ent
[
'encryption-algorithm-option'
]
as
$k
=>
$ph2ea
)
{
if
(
$k
>
0
)
{
...
...
@@ -554,7 +554,7 @@ $( document ).ready(function() {
}
}
?>
</td>
<td>
<td
class=
"hidden-xs"
>
<?php
if
(
!
empty
(
$ph2ent
[
'hash-algorithm-option'
])
&&
is_array
(
$ph2ent
[
'hash-algorithm-option'
]))
{
foreach
(
$ph2ent
[
'hash-algorithm-option'
]
as
$k
=>
$ph2ha
)
{
...
...
@@ -567,10 +567,10 @@ $( document ).ready(function() {
</td>
<?php
if
(
isset
(
$ph2ent
[
'pfsgroup'
]))
:
?>
<td>
<?=
gettext
(
"Group"
);
?>
<?=
$p2_pfskeygroups
[
$ph2ent
[
'pfsgroup'
]];
?>
</td>
<td
class=
"hidden-xs"
>
<?=
gettext
(
"Group"
);
?>
<?=
$p2_pfskeygroups
[
$ph2ent
[
'pfsgroup'
]];
?>
</td>
<?php
else
:
?>
<td>
<?=
gettext
(
"off"
);
?>
</td>
<td
class=
"hidden-xs"
>
<?=
gettext
(
"off"
);
?>
</td>
<?php
endif
;
?>
<td>
...
...
@@ -602,7 +602,8 @@ $( document ).ready(function() {
$j
++
;
endforeach
;
?>
<tr>
<td
colspan=
"8"
></td>
<td
colspan=
"4"
class=
"hidden-xs"
></td>
<td
colspan=
"4"
></td>
<td>
<?php
if
(
$j
>
0
)
:?>
...
...
@@ -633,7 +634,8 @@ $( document ).ready(function() {
$i
++
;
endforeach
;
?>
<tr>
<td
colspan=
"8"
>
</td>
<td
colspan=
"4"
class=
"hidden-xs"
></td>
<td
colspan=
"4"
>
</td>
<td>
<button
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