Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
Swap the create data source and show password button. Also not highlight the update instance button.
天舟b27d5e7cdad4
diff --git a/frontend/src/components/DataSourceTable.vue b/frontend/src/components/DataSourceTable.vueindex 71bf42693d..df6e2a09d4 100644--- a/frontend/src/components/DataSourceTable.vue+++ b/frontend/src/components/DataSourceTable.vue@@ -6,11 +6,10 @@All Data Source</h3><button- class="btn-icon"- @click.prevent="state.showPassword = !state.showPassword"+ class="items-center flex justify-center btn-icon-primary"+ @click.prevent="state.showCreateModal = true"><svg- v-if="state.showPassword"class="w-6 h-6"fill="none"stroke="currentColor"@@ -21,11 +20,18 @@stroke-linecap="round"stroke-linejoin="round"stroke-width="2"- d="M13.875 18.825A10.05 10.05 0 0112 19c-4.478 0-8.268-2.943-9.543-7a9.97 9.97 0 011.563-3.029m5.858.908a3 3 0 114.243 4.243M9.878 9.878l4.242 4.242M9.88 9.88l-3.29-3.29m7.532 7.532l3.29 3.29M3 3l3.59 3.59m0 0A9.953 9.953 0 0112 5c4.478 0 8.268 2.943 9.543 7a10.025 10.025 0 01-4.132 5.411m0 0L21 21"+ d="M12 6v6m0 0v6m0-6h6m-6 0H6"></path></svg>+ </button>+ </div>+ <div class="flex flex-row items-center space-x-2">+ <button+ class="btn-icon"+ @click.prevent="state.showPassword = !state.showPassword"+ ><svg- v-else+ v-if="state.showPassword"class="w-6 h-6"fill="none"stroke="currentColor"@@ -36,23 +42,11 @@stroke-linecap="round"stroke-linejoin="round"stroke-width="2"- d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"- ></path>- <path- stroke-linecap="round"- stroke-linejoin="round"- stroke-width="2"- d="M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z"+ d="M13.875 18.825A10.05 10.05 0 0112 19c-4.478 0-8.268-2.943-9.543-7a9.97 9.97 0 011.563-3.029m5.858.908a3 3 0 114.243 4.243M9.878 9.878l4.242 4.242M9.88 9.88l-3.29-3.29m7.532 7.532l3.29 3.29M3 3l3.59 3.59m0 0A9.953 9.953 0 0112 5c4.478 0 8.268 2.943 9.543 7a10.025 10.025 0 01-4.132 5.411m0 0L21 21"></path></svg>- </button>- </div>- <div class="flex flex-row items-center space-x-4">- <button- class="w-8 h-8 items-center flex justify-center btn-icon-primary"- @click.prevent="state.showCreateModal = true"- ><svg+ v-elseclass="w-6 h-6"fill="none"stroke="currentColor"@@ -63,7 +57,13 @@stroke-linecap="round"stroke-linejoin="round"stroke-width="2"- d="M12 6v6m0 0v6m0-6h6m-6 0H6"+ d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"+ ></path>+ <path+ stroke-linecap="round"+ stroke-linejoin="round"+ stroke-width="2"+ d="M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z"></path></svg></button>diff --git a/frontend/src/views/InstanceDetail.vue b/frontend/src/views/InstanceDetail.vueindex 38c39ff02f..e9c83beb9a 100644--- a/frontend/src/views/InstanceDetail.vue+++ b/frontend/src/views/InstanceDetail.vue@@ -244,7 +244,7 @@ input[type="number"] {/><buttontype="button"- class="btn-primary ml-3 inline-flex justify-center py-2 px-4"+ class="btn-normal ml-3 inline-flex justify-center py-2 px-4":disabled="!valueChanged"@click.prevent="doUpdate(state.instance)">