feat(secrets): text on ui

This commit is contained in:
fiftin 2024-07-03 01:25:56 +05:00
parent 2db419357e
commit beecee9e93
No known key found for this signature in database
GPG Key ID: 044381366A5D4731

View File

@ -23,7 +23,7 @@
<v-subheader class="px-0"> <v-subheader class="px-0">
{{ $t('extraVariables') }} {{ $t('extraVariables') }}
<v-tooltip bottom color="black" open-delay="300"> <v-tooltip bottom color="black" open-delay="300" max-width="400">
<template v-slot:activator="{ on, attrs }"> <template v-slot:activator="{ on, attrs }">
<v-icon <v-icon
class="ml-1" class="ml-1"
@ -31,7 +31,10 @@
v-on="on" v-on="on"
>mdi-help-circle</v-icon> >mdi-help-circle</v-icon>
</template> </template>
<span>Variables passed via <code>--extra-vars</code>.</span> <span>
Variables passed via <code>--extra-vars</code> (Ansible) or
<code>-var</code> (Terraform/OpenTofu).
</span>
</v-tooltip> </v-tooltip>
<v-spacer /> <v-spacer />
@ -109,11 +112,11 @@
</tr> </tr>
</template> </template>
</v-data-table> </v-data-table>
<div class="text-right mt-2 mb-4"> <div class="mt-2 mb-4">
<v-btn <v-btn
color="primary" color="primary"
@click="addEnvVar()" @click="addEnvVar()"
>New Variable</v-btn> >New Environment Variable</v-btn>
</div> </div>
</div> </div>
@ -121,7 +124,7 @@
<v-subheader class="px-0 mt-4"> <v-subheader class="px-0 mt-4">
{{ $t('Secrets') }} {{ $t('Secrets') }}
<v-tooltip bottom color="black" open-delay="300"> <v-tooltip bottom color="black" open-delay="300" max-width="400">
<template v-slot:activator="{ on, attrs }"> <template v-slot:activator="{ on, attrs }">
<v-icon <v-icon
class="ml-1" class="ml-1"
@ -130,7 +133,11 @@
color="lightgray" color="lightgray"
>mdi-help-circle</v-icon> >mdi-help-circle</v-icon>
</template> </template>
<span>Secrets.</span> <span>
Secrets are stored in the database in encrypted form.
Secrets passed via <code>--extra-vars</code> (Ansible) or
<code>-var</code> (Terraform/OpenTofu).
</span>
</v-tooltip> </v-tooltip>
</v-subheader> </v-subheader>
@ -175,7 +182,7 @@
</template> </template>
</v-data-table> </v-data-table>
<div class="text-right mt-2 mb-4"> <div class="mt-2 mb-4">
<v-btn <v-btn
color="primary" color="primary"
@click="addSecret()" @click="addSecret()"