mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 02:15:48 +02:00
parent
98e08786b0
commit
6993cc67e3
5 changed files with 10 additions and 7 deletions
|
@ -1 +1 @@
|
|||
{"version":"2.0.0-beta.4","build_id":47,"total_build":251}
|
||||
{"version":"2.0.0-beta.4","build_id":49,"total_build":253}
|
|
@ -209,7 +209,9 @@ function remove_server(index: number) {
|
|||
centered: true,
|
||||
okText: $gettext('OK'),
|
||||
cancelText: $gettext('Cancel'),
|
||||
onOk: () => props.ngx_config?.servers?.splice(index, 1)
|
||||
onOk() {
|
||||
props.ngx_config?.servers?.splice(index, 1)
|
||||
}
|
||||
})
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -105,7 +105,7 @@ if (route.query?.code != undefined && route.query?.state != undefined) {
|
|||
</script>
|
||||
|
||||
<template>
|
||||
<div class="container">
|
||||
<div class="login-container">
|
||||
<div class="login-form">
|
||||
<div class="project-title">
|
||||
<h1>Nginx UI</h1>
|
||||
|
@ -150,11 +150,11 @@ if (route.query?.code != undefined && route.query?.state != undefined) {
|
|||
</template>
|
||||
|
||||
<style lang="less">
|
||||
.container {
|
||||
.login-container {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
height: 100%;
|
||||
height: 100vh;
|
||||
|
||||
.login-form {
|
||||
max-width: 400px;
|
||||
|
@ -181,6 +181,7 @@ if (route.query?.code != undefined && route.query?.state != undefined) {
|
|||
.footer {
|
||||
padding: 30px;
|
||||
text-align: center;
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"version":"2.0.0-beta.4","build_id":47,"total_build":251}
|
||||
{"version":"2.0.0-beta.4","build_id":49,"total_build":253}
|
Loading…
Add table
Add a link
Reference in a new issue