IPv4, IPv6 support

fixes #8
This commit is contained in:
Szekeres Bálint
2018-02-27 08:36:39 +01:00
parent ba68d8fb02
commit 32856797bd
4 changed files with 42 additions and 24 deletions

View File

@@ -130,9 +130,9 @@ main .options .card .form-group {
}
main .options .card .form-subgroup {
margin-left: 5px;
margin-left: 0.35rem;
border-left: 2px solid #ced4da;
padding-left: 11px;
padding-left: 0.5rem;
}
main .options .card .form-control[type="text"]:placeholder-shown,

View File

@@ -25,6 +25,9 @@
///////////////////////
var masonry;
var data = {
ipv4: '*',
ipv6: '::',
domain: '',
path: '',
document_root: '/public',
@@ -247,6 +250,10 @@
return $scope.data.file_structure === 'unified';
};
$scope.isIPv6 = function() {
return !!$scope.data.ipv6;
};
$scope.isModularized = function() {
return !$scope.isUnified();
};