Merge branch 'embed' of https://github.com/0xJacky/nginx-ui into embed

This commit is contained in:
0xJacky 2022-02-19 08:40:17 +08:00
commit 72739fb07f
21 changed files with 236 additions and 95 deletions

View file

@ -36,7 +36,7 @@ export default {
if (process.env.NODE_ENV === 'development' && process.env["VUE_APP_API_WSS_ROOT"]) {
return process.env["VUE_APP_API_WSS_ROOT"]
}
return protocol + location.host + '/' + process.env["VUE_APP_API_WSS_ROOT"]
return protocol + location.host + process.env["VUE_APP_API_WSS_ROOT"]
}
}
}

View file

@ -22,7 +22,7 @@
message: 'Please input your E-mail!',
},] },
]"
placeholder="Email"
placeholder="Email (*)"
>
<a-icon slot="prefix" type="mail" style="color: rgba(0,0,0,.25)"/>
</a-input>
@ -33,7 +33,7 @@
'username',
{ rules: [{ required: true, message: 'Please input your username!' }] },
]"
placeholder="Username"
placeholder="Username (*)"
>
<a-icon slot="prefix" type="user" style="color: rgba(0,0,0,.25)"/>
</a-input>
@ -45,11 +45,22 @@
{ rules: [{ required: true, message: 'Please input your Password!' }] },
]"
type="password"
placeholder="Password"
placeholder="Password (*)"
>
<a-icon slot="prefix" type="lock" style="color: rgba(0,0,0,.25)"/>
</a-input>
</a-form-item>
<a-form-item>
<a-input
v-decorator="[
'database',
{ rules: [{ pattern: /^[^\\/:*?\x22<>|]{1,120}$/, message: 'Please input a legal file name!'}] },
]"
placeholder="Database (Optional, default: database)"
>
<a-icon slot="prefix" type="database" style="color: rgba(0,0,0,.25)"/>
</a-input>
</a-form-item>
<a-form-item>
<a-button type="primary" :block="true" html-type="submit" :loading="loading">
安装
@ -57,7 +68,7 @@
</a-form-item>
</a-form>
<footer>
Copyright © 2020 - {{ thisYear }} 0xJacky
Copyright © 2020 - {{ thisYear }} Nginx UI
</footer>
</div>

View file

@ -39,7 +39,7 @@
</a-form-item>
</a-form>
<div class="footer">
Copyright © 2020 - {{ thisYear }} 0xJacky
Copyright © 2020 - {{ thisYear }} Nginx UI
</div>
</div>
</div>

View file

@ -1 +1 @@
{"version":"1.1.0","build_id":5,"total_build":22}
{"version":"1.1.0","build_id":8,"total_build":25}