nginx 向导模式雏形

This commit is contained in:
jysperm
2014-07-24 15:33:54 +08:00
parent e08b44d5ba
commit e39b85f22e
4 changed files with 65 additions and 19 deletions

View File

@@ -65,8 +65,7 @@ $ ->
}
.success (data) ->
$('#json').find('textarea').val JSON.stringify(data, null, ' ')
($ '#nginxModal').modal 'show'
($ '#nginx-modal').modal 'show'
$ '.nginx-remove-btn'
.on 'click', (e) ->

View File

@@ -40,7 +40,7 @@ td {
margin-right: 5px;
}
#json {
#nginx-type-json {
textarea {
font-family: Menlo, Monaco, Consolas, 'Courier New', monospace;
font-size: 16px;
@@ -57,3 +57,18 @@ td {
width: 100%;
color: black;
}
.tab-pane p {
margin: 15px;
}
.tab-pane {
padding-top: 15px;
}
@media (min-width: 768px) {
.modal-dialog {
width: 800px;
margin: 80px auto;
}
}