mirror of
https://github.com/digitalocean/nginxconfig.io.git
synced 2025-08-24 19:23:45 +08:00
WIP
This commit is contained in:
@@ -645,6 +645,22 @@
|
||||
}
|
||||
}
|
||||
|
||||
$scope.siteKeydown = function(event) {
|
||||
if (event.which === 37) {
|
||||
$scope.setTabSiteBack();
|
||||
} else if (event.which === 39) {
|
||||
$scope.setTabSiteNext();
|
||||
}
|
||||
}
|
||||
|
||||
$scope.commonKeydown = function(event) {
|
||||
if (event.which === 37) {
|
||||
$scope.setTabCommonBack();
|
||||
} else if (event.which === 39) {
|
||||
$scope.setTabCommonNext();
|
||||
}
|
||||
}
|
||||
|
||||
$scope.setPreset = function(preset) {
|
||||
$scope.data.sites[$scope.site].php = $scope.defaultData.sites[0].php;
|
||||
$scope.data.sites[$scope.site].wordpress = $scope.defaultData.sites[0].wordpress;
|
||||
|
@@ -43,10 +43,6 @@
|
||||
#app.layout-do {
|
||||
font-family: 'Sailec', sans-serif;
|
||||
|
||||
.btn-sm {
|
||||
padding: 0.375rem 0.5rem;
|
||||
}
|
||||
|
||||
.btn-light.active {
|
||||
@extend .btn-primary;
|
||||
}
|
||||
@@ -210,6 +206,20 @@
|
||||
border-top-right-radius: 5px;
|
||||
}
|
||||
|
||||
.presets {
|
||||
display: flex;
|
||||
margin: 40px auto 30px;
|
||||
|
||||
tooltip,
|
||||
.btn {
|
||||
flex: 1 1 auto;
|
||||
}
|
||||
|
||||
.btn {
|
||||
width: 90%;
|
||||
}
|
||||
}
|
||||
|
||||
.nav-pills {
|
||||
margin: 25px 0;
|
||||
background-color: #ffffff;
|
||||
|
Reference in New Issue
Block a user