Make email preview buttons use primary color

i.e. for bulma/buefy
This commit is contained in:
Lance Edgar 2019-05-20 14:20:54 -05:00
parent 6ea4d9c413
commit 93d0cfcfeb

View file

@ -33,13 +33,13 @@ ${parent.body()}
<div class="control">
% if email.get_template('html'):
<a class="button"
<a class="button is-primary"
href="${url('email.preview')}?key=${instance['key']}&type=html"
target="_blank">
Preview HTML
</a>
% else:
<button class="button"
<button class="button is-primary"
type="button"
title="There is no HTML template on file for this email."
disabled>
@ -50,13 +50,13 @@ ${parent.body()}
<div class="control">
% if email.get_template('txt'):
<a class="button"
<a class="button is-primary"
href="${url('email.preview')}?key=${instance['key']}&type=txt"
target="_blank">
Preview TXT
</a>
% else:
<button class="button"
<button class="button is-primary"
type="button"
title="There is no TXT template on file for this email."
disabled>
@ -74,7 +74,7 @@ ${parent.body()}
</div>
<div class="control">
<input type="submit" class="button" name="send_${instance['key']}" value="Send Preview Email" />
<input type="submit" class="button is-primary" name="send_${instance['key']}" value="Send Preview Email" />
</div>
</div><!-- field -->