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
2
.github/workflows/documents.yml
vendored
2
.github/workflows/documents.yml
vendored
|
@ -25,7 +25,7 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
|
@ -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,
|
centered: true,
|
||||||
okText: $gettext('OK'),
|
okText: $gettext('OK'),
|
||||||
cancelText: $gettext('Cancel'),
|
cancelText: $gettext('Cancel'),
|
||||||
onOk: () => props.ngx_config?.servers?.splice(index, 1)
|
onOk() {
|
||||||
|
props.ngx_config?.servers?.splice(index, 1)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -105,7 +105,7 @@ if (route.query?.code != undefined && route.query?.state != undefined) {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="container">
|
<div class="login-container">
|
||||||
<div class="login-form">
|
<div class="login-form">
|
||||||
<div class="project-title">
|
<div class="project-title">
|
||||||
<h1>Nginx UI</h1>
|
<h1>Nginx UI</h1>
|
||||||
|
@ -150,11 +150,11 @@ if (route.query?.code != undefined && route.query?.state != undefined) {
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style lang="less">
|
<style lang="less">
|
||||||
.container {
|
.login-container {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
height: 100%;
|
height: 100vh;
|
||||||
|
|
||||||
.login-form {
|
.login-form {
|
||||||
max-width: 400px;
|
max-width: 400px;
|
||||||
|
@ -181,6 +181,7 @@ if (route.query?.code != undefined && route.query?.state != undefined) {
|
||||||
.footer {
|
.footer {
|
||||||
padding: 30px;
|
padding: 30px;
|
||||||
text-align: center;
|
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