Suyeon Jung

Add grade function to category

......@@ -6,11 +6,3 @@
.card-body {
text-align: center;
}
\ No newline at end of file
.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
......