Make email preview buttons use primary color
i.e. for bulma/buefy
This commit is contained in:
parent
6ea4d9c413
commit
93d0cfcfeb
|
@ -33,13 +33,13 @@ ${parent.body()}
|
||||||
|
|
||||||
<div class="control">
|
<div class="control">
|
||||||
% if email.get_template('html'):
|
% if email.get_template('html'):
|
||||||
<a class="button"
|
<a class="button is-primary"
|
||||||
href="${url('email.preview')}?key=${instance['key']}&type=html"
|
href="${url('email.preview')}?key=${instance['key']}&type=html"
|
||||||
target="_blank">
|
target="_blank">
|
||||||
Preview HTML
|
Preview HTML
|
||||||
</a>
|
</a>
|
||||||
% else:
|
% else:
|
||||||
<button class="button"
|
<button class="button is-primary"
|
||||||
type="button"
|
type="button"
|
||||||
title="There is no HTML template on file for this email."
|
title="There is no HTML template on file for this email."
|
||||||
disabled>
|
disabled>
|
||||||
|
@ -50,13 +50,13 @@ ${parent.body()}
|
||||||
|
|
||||||
<div class="control">
|
<div class="control">
|
||||||
% if email.get_template('txt'):
|
% if email.get_template('txt'):
|
||||||
<a class="button"
|
<a class="button is-primary"
|
||||||
href="${url('email.preview')}?key=${instance['key']}&type=txt"
|
href="${url('email.preview')}?key=${instance['key']}&type=txt"
|
||||||
target="_blank">
|
target="_blank">
|
||||||
Preview TXT
|
Preview TXT
|
||||||
</a>
|
</a>
|
||||||
% else:
|
% else:
|
||||||
<button class="button"
|
<button class="button is-primary"
|
||||||
type="button"
|
type="button"
|
||||||
title="There is no TXT template on file for this email."
|
title="There is no TXT template on file for this email."
|
||||||
disabled>
|
disabled>
|
||||||
|
@ -74,7 +74,7 @@ ${parent.body()}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="control">
|
<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>
|
||||||
|
|
||||||
</div><!-- field -->
|
</div><!-- field -->
|
||||||
|
|
Loading…
Reference in a new issue