2022-06-14 13:19:52 +00:00
|
|
|
<style>
|
|
|
|
.agree_text{
|
|
|
|
background: #00ff7f;
|
|
|
|
color: #000000;
|
|
|
|
}
|
2022-06-14 14:21:43 +00:00
|
|
|
.disagree_text, .error_text{
|
2022-06-14 13:19:52 +00:00
|
|
|
background: #ff004a;
|
|
|
|
color: #ffffff;
|
|
|
|
}
|
|
|
|
.finish_text{
|
|
|
|
background: #00ff7f;
|
|
|
|
color: #000000;
|
|
|
|
}
|
|
|
|
.close_btn{
|
|
|
|
left: calc(50% - 2.5em);
|
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
</style>
|
2022-06-14 14:21:43 +00:00
|
|
|
<% @type = 'error' if @error_message %>
|
|
|
|
<h3 style="text-align: center;">
|
|
|
|
<span class="<%=@type%>_text">
|
|
|
|
<% if @error_message %>
|
|
|
|
<%= @error_message.html_safe %>
|
|
|
|
<%elsif @type == 'agree' %>
|
2022-06-14 13:19:52 +00:00
|
|
|
<%=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')%>
|
2022-06-14 14:21:43 +00:00
|
|
|
<% end %>
|
|
|
|
</span></h3>
|
2022-06-14 13:19:52 +00:00
|
|
|
<button class="close_btn" onclick="window.close()"><%=t('application_form.close')%></button>
|