flagging set up in css and thread template

This commit is contained in:
Kevin Chugh
2012-11-29 19:15:47 -05:00
parent a22dd5ebb7
commit 9a19518fa7
2 changed files with 21 additions and 4 deletions

View File

@@ -2420,7 +2420,24 @@ body.discussion {
.flagdiv{
font-size: 12px;
color: #888;
align:right;
float:right;
font-style: italic;
}
width:100px;
}
.notflagged .icon
{
display: inline-block;
width: 20px;
height: 30px;
background: transparent url('../images/notflagged.png') no-repeat 0 0;
}
.flagged .icon
{
display: inline-block;
width: 20px;
height: 30px;
background: transparent url('../images/flagged.png') no-repeat 0 0;
}

View File

@@ -3,7 +3,7 @@
<script type="text/template" id="thread-template">
<article class="discussion-article" data-id="${'<%- id %>'}">
<div class="thread-content-wrapper"></div>
<div class = "flagdiv">Report Misuse</div>
<div class = "flagdiv notflagged"><i class="icon"></i>Report Misuse</div>
<ol class="responses">
<li class="loading"><div class="loading-animation"></div></li>
</ol>