Suyeon Jung

Add grade function to category

......@@ -5,12 +5,4 @@
.card-body {
text-align: center;
}
.alert{
text-align : center;
width : 50%;
display: inline-block;
margin-left: auto;
margin-right: auto;
}
\ No newline at end of file
......
This diff is collapsed. Click to expand it.
<div class="alert alert-primary" role="alert">
<h3>평가 등급 : <%=grade%></h3>
</div>
\ No newline at end of file
<%if(grade == 'A'){%>
<div class="alert alert-primary" role="alert">
<h3>평가 등급 :
<%=grade%>
</h3>
</div>
<%} else if(grade == 'B'){%>
<div class="alert alert-warning" role="alert">
<h3>평가 등급 :
<%=grade%>
</h3>
</div>
<%} else{%>
<div class="alert alert-danger" role="alert">
<h3>평가 등급 :
<%=grade%>
</h3>
</div>
<%}%>
\ No newline at end of file
......