mirror of https://github.com/rancher/dashboard.git
remove button on tolerations
This commit is contained in:
parent
9f8ec9e22c
commit
a3d7267eb7
|
|
@ -264,7 +264,7 @@ export default {
|
|||
<button
|
||||
v-if="!isView"
|
||||
type="button"
|
||||
class="btn btn-sm role-link col remove-rule-button"
|
||||
class="btn bg-transparent role-link"
|
||||
:style="{padding:'0px'}"
|
||||
|
||||
:disabled="mode==='view'"
|
||||
|
|
|
|||
|
|
@ -91,6 +91,7 @@ export default {
|
|||
<hr class="divider" />
|
||||
|
||||
<div>
|
||||
<hr class="divider" />
|
||||
<h3 class="mb-10">
|
||||
<t k="workload.scheduling.titles.priority" />
|
||||
</h3>
|
||||
|
|
|
|||
|
|
@ -173,17 +173,18 @@ export default {
|
|||
<div class="col">
|
||||
<UnitInput v-model="rule.tolerationSeconds" :disabled="rule.effect !== 'NoExecute'" :mode="mode" suffix="Seconds" />
|
||||
</div>
|
||||
<div class="col">
|
||||
<button
|
||||
v-if="!isView"
|
||||
type="button"
|
||||
class="btn btn-sm role-link col remove-rule-button"
|
||||
:style="{padding:'0px'}"
|
||||
class="btn bg-transparent role-link"
|
||||
:disabled="mode==='view'"
|
||||
@click="remove(rule)"
|
||||
>
|
||||
<t k="generic.remove" />
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<button v-if="!isView" type="button" class="btn role-tertiary" @click="addToleration">
|
||||
<t k="workload.scheduling.tolerations.addToleration" />
|
||||
</button>
|
||||
|
|
|
|||
|
|
@ -725,6 +725,7 @@ export default {
|
|||
</div>
|
||||
|
||||
<div>
|
||||
<hr class="divider" />
|
||||
<h3 class="mb-10">
|
||||
<t k="workload.scheduling.titles.priority" />
|
||||
</h3>
|
||||
|
|
|
|||
Loading…
Reference in New Issue