mirror of https://github.com/1Panel-dev/1Panel
pref: Optimize the button style for database connection information (#7342)
parent
0542b39373
commit
c35f55f70c
|
@ -74,7 +74,7 @@ func initLang() {
|
|||
downloadGeoFromRemote(fileOp, geoPath)
|
||||
return
|
||||
}
|
||||
std, err := cmd.Execf("cp %s %s", path.Join(tmpPath, "GeoIP.mmdb"), path.Dir(geoPath))
|
||||
std, err := cmd.Execf("cp %s %s/", path.Join(tmpPath, "GeoIP.mmdb"), path.Dir(geoPath))
|
||||
if err != nil {
|
||||
global.LOG.Errorf("load geo ip from package failed, std: %s, err: %v", std, err)
|
||||
return
|
||||
|
|
|
@ -88,7 +88,7 @@
|
|||
v-model="form.password"
|
||||
/>
|
||||
<el-button-group>
|
||||
<CopyButton :content="form.password" />
|
||||
<CopyButton class="copy_button" :content="form.password" />
|
||||
<el-button @click="random">
|
||||
{{ $t('commons.button.random') }}
|
||||
</el-button>
|
||||
|
@ -293,3 +293,14 @@ defineExpose({
|
|||
acceptParams,
|
||||
});
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.copy_button {
|
||||
border-radius: 0px;
|
||||
border-left-width: 0px;
|
||||
}
|
||||
:deep(.el-input__wrapper) {
|
||||
border-top-right-radius: 0px;
|
||||
border-bottom-right-radius: 0px;
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -89,7 +89,7 @@
|
|||
v-model="form.password"
|
||||
/>
|
||||
<el-button-group>
|
||||
<CopyButton :content="form.password" />
|
||||
<CopyButton class="copy_button" :content="form.password" />
|
||||
<el-button @click="random">
|
||||
{{ $t('commons.button.random') }}
|
||||
</el-button>
|
||||
|
@ -262,3 +262,14 @@ defineExpose({
|
|||
acceptParams,
|
||||
});
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.copy_button {
|
||||
border-radius: 0px;
|
||||
border-left-width: 0px;
|
||||
}
|
||||
:deep(.el-input__wrapper) {
|
||||
border-top-right-radius: 0px;
|
||||
border-bottom-right-radius: 0px;
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -75,7 +75,7 @@
|
|||
v-model="form.password"
|
||||
/>
|
||||
<el-button-group>
|
||||
<CopyButton :content="form.password" />
|
||||
<CopyButton class="copy_button" :content="form.password" />
|
||||
<el-button @click="random">
|
||||
{{ $t('commons.button.random') }}
|
||||
</el-button>
|
||||
|
@ -239,3 +239,14 @@ defineExpose({
|
|||
acceptParams,
|
||||
});
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.copy_button {
|
||||
border-radius: 0px;
|
||||
border-left-width: 0px;
|
||||
}
|
||||
:deep(.el-input__wrapper) {
|
||||
border-top-right-radius: 0px;
|
||||
border-bottom-right-radius: 0px;
|
||||
}
|
||||
</style>
|
||||
|
|
Loading…
Reference in New Issue