mirror of https://github.com/rancher/dashboard.git
Merge branch 'master' into match-expressions
This commit is contained in:
commit
b51a94e5d1
|
|
@ -189,7 +189,7 @@ export default {
|
|||
this.saving = true;
|
||||
await this.ensureNamespace();
|
||||
await this.config.save();
|
||||
await this.config.waitForCondition('Deployed');
|
||||
await this.config.waitForCondition('Deployed', 'True', 300000);
|
||||
this.showYamlEditor = false;
|
||||
this.saving = false;
|
||||
this.$emit('gatekeeperEnabled', this.gatekeeperEnabled = true);
|
||||
|
|
|
|||
|
|
@ -197,7 +197,9 @@ export default {
|
|||
<button
|
||||
v-if="!isView"
|
||||
type="button"
|
||||
class="btn btn-sm role-link col remove-rule-button"
|
||||
class="btn role-link col remove-rule-button"
|
||||
:style="{padding:'0px'}"
|
||||
|
||||
:disabled="mode==='view'"
|
||||
@click="removeRule(row)"
|
||||
>
|
||||
|
|
|
|||
|
|
@ -65,10 +65,10 @@ export default {
|
|||
<template>
|
||||
<div class="rule mt-20" @input="update">
|
||||
<div class="row">
|
||||
<div id="host" class="col span-11">
|
||||
<div id="host" class="col span-6">
|
||||
<LabeledInput v-model="host" label="Request Host" placeholder="e.g. example.com" />
|
||||
</div>
|
||||
<div class="col span-1">
|
||||
<div class="col span-6">
|
||||
<button class="btn role-link close" @click="removeRule">
|
||||
<i class="icon icon-2x icon-x" />
|
||||
</button>
|
||||
|
|
@ -85,7 +85,7 @@ export default {
|
|||
@remove="e=>removePath(i)"
|
||||
/>
|
||||
</template>
|
||||
<button v-if="ruleMode === 'setHost'" :style="{'padding':'0px 0px 0px 5px'}" class="btn btn-sm role-link" @click="addPath">
|
||||
<button v-if="ruleMode === 'setHost'" class="btn btn-sm role-link" @click="addPath">
|
||||
add path
|
||||
</button>
|
||||
</div>
|
||||
|
|
@ -96,7 +96,7 @@ export default {
|
|||
background: var(--tabbed-container-bg);
|
||||
border: 1px solid var(--tabbed-border);
|
||||
border-radius: var(--border-radius);
|
||||
padding: 40px;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
#host {
|
||||
|
|
@ -107,7 +107,7 @@ export default {
|
|||
float:right;
|
||||
padding: 0px;
|
||||
position: relative;
|
||||
top: -25px;
|
||||
right: -25px;
|
||||
top: -10px;
|
||||
right: -10px;
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ export default {
|
|||
<div class="col span-3" :style="{'margin-right': '0px'}">
|
||||
<LabeledInput v-model.number="servicePort" label="Port" placeholder="e.g. 80" />
|
||||
</div>
|
||||
<button class="btn btn-sm role-link col" @click="$emit('remove')">
|
||||
<button class="btn role-link col" @click="$emit('remove')">
|
||||
remove
|
||||
</button>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -78,14 +78,14 @@ export default {
|
|||
</div>
|
||||
</div>
|
||||
<div v-for="(host, i) in hosts" :key="i" class="row mb-10">
|
||||
<div :style="{'margin-right': '0px'}" class="col span-11">
|
||||
<div :style="{'margin-right': '0px'}" class="col span-6">
|
||||
<LabeledInput :value="host" label="Host" placeholder="e.g. example.com" @input="e=>$set(hosts, i, e)" />
|
||||
</div>
|
||||
<button class="btn btn-sm role-link col" @click="e=>remove(i)">
|
||||
<button class="btn role-link col remove" @click="e=>remove(i)">
|
||||
remove
|
||||
</button>
|
||||
</div>
|
||||
<button :style="{'padding':'0px 0px 0px 5px'}" class="bn btn-sm role-link" @click="addHost">
|
||||
<button class="btn btn-sm role-link" @click="addHost">
|
||||
add host
|
||||
</button>
|
||||
</div>
|
||||
|
|
@ -96,8 +96,8 @@ export default {
|
|||
float:right;
|
||||
padding: 0px;
|
||||
position: relative;
|
||||
top: -25px;
|
||||
right: -25px;
|
||||
top: -10px;
|
||||
right: -10px;
|
||||
}
|
||||
.cert:not(:last-of-type) {
|
||||
padding-bottom: 10px;
|
||||
|
|
@ -105,7 +105,7 @@ export default {
|
|||
border-bottom: 1px solid var(--border);
|
||||
}
|
||||
|
||||
button {
|
||||
button.remove {
|
||||
line-height: 40px;
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
Loading…
Reference in New Issue