Skip to content

Commit 1aa4e70

Browse files
committed
fix domain add/edit page style issue #19
1 parent eac9669 commit 1aa4e70

File tree

5 files changed

+9
-8
lines changed

5 files changed

+9
-8
lines changed

frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nginx-ui-frontend",
3-
"version": "1.4.0",
3+
"version": "1.4.1",
44
"private": true,
55
"scripts": {
66
"serve": "vue-cli-service serve --port 8021",

frontend/src/views/domain/DomainAdd.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<a-card :title="$gettext('Add Site')">
3-
<div class="container">
3+
<div class="domain-add-container">
44
<a-steps :current="current_step" size="small">
55
<a-step :title="$gettext('Base information')" />
66
<a-step :title="$gettext('Configure SSL')" />
@@ -22,6 +22,7 @@
2222
<p v-if="is_demo" v-translate>This feature is not available in demo.</p>
2323

2424
<std-data-entry :data-list="columnsSSL" :data-source="config" :error="error" />
25+
2526
<a-space style="margin-right: 10px">
2627
<a-button
2728
v-if="current_step===1"
@@ -169,7 +170,7 @@ export default {
169170
padding: 10px 0 20px 0;
170171
}
171172
172-
.container {
173+
.domain-add-container {
173174
max-width: 800px;
174175
margin: 0 auto
175176
}

frontend/src/views/domain/DomainEdit.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
{{ $gettext('Disabled') }}
1212
</a-tag>
1313
</template>
14-
<div class="container">
14+
<div class="domain-edit-container">
1515
<a-form-item :label="$gettext('Enabled')">
1616
<a-switch v-model="enabled" @change="checked=>{checked?enable():disable()}"/>
1717
</a-form-item>
@@ -281,7 +281,8 @@ export default {
281281
margin: 10px 0;
282282
}
283283
}
284-
.container {
284+
285+
.domain-edit-container {
285286
max-width: 800px;
286287
margin: 0 auto;
287288
/deep/.ant-form-item-label > label::after {

frontend/src/views/pty/Terminal.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,10 @@ export default {
2929
mounted() {
3030
this.initTerm()
3131
},
32-
destroyed() {
32+
beforeDestroy() {
3333
window.removeEventListener('resize', this.fit)
3434
clearInterval(this.ping)
3535
this.ping = null
36-
this.term.close()
3736
this.websocket.close()
3837
},
3938
methods: {

frontend/version.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"version":"1.4.0","build_id":5,"total_build":61}
1+
{"version":"1.4.1","build_id":3,"total_build":66}

0 commit comments

Comments
 (0)