Application_Form/app/views/application_forms/agree_link.html.erb

32 lines
812 B
Plaintext
Raw Permalink Normal View History

<style>
.agree_text{
background: #00ff7f;
color: #000000;
}
2022-06-14 14:21:43 +00:00
.disagree_text, .error_text{
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' %>
<%=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>
<button class="close_btn" onclick="window.close()"><%=t('application_form.close')%></button>