32 lines
812 B
Plaintext
32 lines
812 B
Plaintext
<style>
|
|
.agree_text{
|
|
background: #00ff7f;
|
|
color: #000000;
|
|
}
|
|
.disagree_text, .error_text{
|
|
background: #ff004a;
|
|
color: #ffffff;
|
|
}
|
|
.finish_text{
|
|
background: #00ff7f;
|
|
color: #000000;
|
|
}
|
|
.close_btn{
|
|
left: calc(50% - 2.5em);
|
|
position: absolute;
|
|
}
|
|
</style>
|
|
<% @type = 'error' if @error_message %>
|
|
<h3 style="text-align: center;">
|
|
<span class="<%=@type%>_text">
|
|
<% if @error_message %>
|
|
<%= @error_message.html_safe %>
|
|
<%elsif @type == 'agree' %>
|
|
<%=t('application_form.send_email_to_next_stage_reviewer')%>
|
|
<% elsif @type == 'disagree' %>
|
|
<%=t('application_form.email_add_file_success')%>
|
|
<% elsif @type == 'finish' %>
|
|
<%=t('application_form.email_edit_file_success')%>
|
|
<% end %>
|
|
</span></h3>
|
|
<button class="close_btn" onclick="window.close()"><%=t('application_form.close')%></button> |