Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
92f5f26ad5 | |||
97e6e80d5a |
@@ -59,6 +59,8 @@ func (r server) Update(p param.SaveServer) (err error) {
|
||||
"post_up_script": p.PostUpScript,
|
||||
"pre_down_script": p.PreDownScript,
|
||||
"post_down_script": p.PostDownScript,
|
||||
"private_key": p.PrivateKey,
|
||||
"public_key": p.PublicKey,
|
||||
}
|
||||
return r.Model(&entity.Server{}).Where("id = ?", p.Id).Updates(&update).Error
|
||||
}
|
||||
|
@@ -309,10 +309,10 @@ getClientsApi(clientSearchForm.value);
|
||||
</div>
|
||||
<div class="content">
|
||||
<el-card body-style="padding: inherit" shadow="hover">
|
||||
<div class="flex flex-wrap gap-4">
|
||||
<div class="flex flex-wrap gap-4" style="display: flex;justify-content: center;">
|
||||
<el-card
|
||||
v-for="val in clientsList.data"
|
||||
style="width: 540px"
|
||||
style="float: left; width: 500px"
|
||||
shadow="hover"
|
||||
>
|
||||
<template #header>
|
||||
|
Reference in New Issue
Block a user