Commit 9bf4b11a by Matthew Mongeau

Style notice.

parent c5d3efdf
......@@ -48,6 +48,7 @@
})
$(modal_id).fadeTo(200,1);
$(modal_id).find(".notice").hide().html("");
var notice = $(this).data('notice')
if(notice !== undefined) {
$(modal_id).find(".notice").show().html(notice);
......
......@@ -115,7 +115,20 @@
padding: 12px;
}
<<<<<<< HEAD
.activation-message, .message {
=======
.notice {
background: $yellow;
border: 1px solid darken($yellow, 60%);
color: darken($yellow, 60%);
display: none;
margin-bottom: 20px;
padding: 12px;
}
.activation-message {
>>>>>>> cb49d9c... Style notice.
padding: 0 40px 10px;
p {
......
......@@ -9,9 +9,10 @@
<hr>
</header>
<div class="notice"></div>
<form id="enroll_form" method="post" data-remote="true" action="/create_account">
<div class="notice"></div>
<div id="enroll_error" class="modal-form-error" name="enroll_error"></div>
<div id="enroll_error" name="enroll_error"></div>
<label>E-mail</label>
<input name="email" type="email" placeholder="E-mail">
<label>Password</label>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment