style replication management warnings (#5852)

This commit is contained in:
Noelle Daley 2018-11-27 14:40:33 -08:00 committed by GitHub
parent 4829a8b175
commit c2fd8b408b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 4 deletions

View File

@ -110,4 +110,12 @@
.p { .p {
margin: 0; margin: 0;
} }
&.has-top {
margin-top: 1rem;
}
}
.has-text-highlight {
color: $yellow-500;
} }

View File

@ -141,10 +141,11 @@
</select> </select>
</div> </div>
{{#if (eq mode 'secondary')}} {{#if (eq mode 'secondary')}}
<AlertInline <AlertInline
@type="warning" @class="has-top"
@message="This will immediately clear all data in this cluster!" @type="warning"
/> @message="This will immediately clear all data in this cluster!"
/>
{{/if}} {{/if}}
</div> </div>
{{#if (eq mode 'primary')}} {{#if (eq mode 'primary')}}

View File

@ -46,6 +46,7 @@
</label> </label>
</div> </div>
<AlertInline <AlertInline
@class="has-top"
@type="warning" @type="warning"
@message="Forcing promotion could result in data loss if data isn't fully replicated. Force promotion @message="Forcing promotion could result in data loss if data isn't fully replicated. Force promotion
promotes the cluster even if certain safety checks fail." promotes the cluster even if certain safety checks fail."
@ -104,6 +105,7 @@
</label> </label>
</div> </div>
<AlertInline <AlertInline
@class="has-top"
@type="warning" @type="warning"
@message="Forcing promotion could result in data loss if data isn't fully replicated. Force promotion @message="Forcing promotion could result in data loss if data isn't fully replicated. Force promotion
promotes the cluster even if certain safety checks fail." promotes the cluster even if certain safety checks fail."