Showing
3 changed files
with
19 additions
and
11 deletions
... | @@ -6,11 +6,3 @@ | ... | @@ -6,11 +6,3 @@ |
6 | .card-body { | 6 | .card-body { |
7 | text-align: center; | 7 | text-align: center; |
8 | } | 8 | } |
... | \ No newline at end of file | ... | \ No newline at end of file |
9 | - | ||
10 | -.alert{ | ||
11 | - text-align : center; | ||
12 | - width : 50%; | ||
13 | - display: inline-block; | ||
14 | - margin-left: auto; | ||
15 | - margin-right: auto; | ||
16 | -} | ||
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
This diff is collapsed. Click to expand it.
1 | -<div class="alert alert-primary" role="alert"> | ||
2 | - <h3>평가 등급 : <%=grade%></h3> | ||
3 | -</div> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | +<%if(grade == 'A'){%> | ||
2 | + <div class="alert alert-primary" role="alert"> | ||
3 | + <h3>평가 등급 : | ||
4 | + <%=grade%> | ||
5 | + </h3> | ||
6 | + </div> | ||
7 | + <%} else if(grade == 'B'){%> | ||
8 | + <div class="alert alert-warning" role="alert"> | ||
9 | + <h3>평가 등급 : | ||
10 | + <%=grade%> | ||
11 | + </h3> | ||
12 | + </div> | ||
13 | + <%} else{%> | ||
14 | + <div class="alert alert-danger" role="alert"> | ||
15 | + <h3>평가 등급 : | ||
16 | + <%=grade%> | ||
17 | + </h3> | ||
18 | + </div> | ||
19 | + <%}%> | ||
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or login to post a comment