feature/css #29

Merged
valberg merged 11 commits from feature/css into main 2024-02-29 20:02:40 +00:00
2 changed files with 14 additions and 8 deletions
Showing only changes of commit a0bbc3adc0 - Show all commits

View file

@ -267,6 +267,12 @@ button:hover {
opacity : 1.0; opacity : 1.0;
} }
button:disabled {
opacity : 0.6;
background : var(--twilight);
cursor : default;
}
article table { article table {
width : 100%; width : 100%;
border-spacing : 0; border-spacing : 0;

View file

@ -16,6 +16,12 @@
<form action="{% url 'account_email' %}" class="email_list" method="post"> <form action="{% url 'account_email' %}" class="email_list" method="post">
{% csrf_token %} {% csrf_token %}
<fieldset class="blockLabels"> <fieldset class="blockLabels">
<div class="buttonHolder">
<button class="btn small btn-success" type="submit" name="action_primary" style="float:right">+ Add Email</button>
<button class="btn small btn-success" disabled type="submit" name="action_primary">Make Primary</button>
<button class="btn small btn-primary" type="submit" name="action_send">Re-send Verification</button>
<button class="btn small btn-danger" type="submit" name="action_remove">Remove</button>
</div>
<table class="table" id="user_email_table"> <table class="table" id="user_email_table">
<thead> <thead>
<tr> <tr>
@ -62,13 +68,6 @@
</tbody> </tbody>
</table> </table>
<div class="buttonHolder">
<button class="btn small btn-success" type="submit" name="action_primary">Make Primary</button>
<button class="btn small btn-primary" type="submit" name="action_send">Re-send Verification</button>
<button class="btn small btn-danger" type="submit" name="action_remove">Remove</button>
</div>
</fieldset> </fieldset>
</form> </form>
{% else %} {% else %}
@ -77,7 +76,7 @@
{% trans "You currently do not have any e-mail address set up. You should really add an e-mail address so you can receive notifications, reset your password, etc." %} {% trans "You currently do not have any e-mail address set up. You should really add an e-mail address so you can receive notifications, reset your password, etc." %}
</p> </p>
{% endif %} {% endif %}
<!--
<hr /> <hr />
<h3>{% trans "Add E-mail" %}</h3> <h3>{% trans "Add E-mail" %}</h3>
@ -91,6 +90,7 @@
</button> </button>
</form> </form>
</div> </div>
-->
</div> </div>
<script type="text/javascript"> <script type="text/javascript">