Skip to content

Commit 7cae94b

Browse files
committed
Merge pull request #219 from YaroSpace/bounty_390_comments_markup
Bounty 390 comments markup
2 parents 829b26d + ebcd2e6 commit 7cae94b

File tree

3 files changed

+16
-4
lines changed

3 files changed

+16
-4
lines changed

app/assets/stylesheets/admin.css.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,14 @@ body#admin {
6969
}
7070
}
7171
.comment-admin {
72+
73+
.comments-header {
74+
color: #aeaeae;
75+
text-transform: uppercase;
76+
font-size: 1.6em;
77+
margin-bottom: 1.3em;
78+
}
79+
7280
li {
7381
float: left;
7482
}

app/assets/stylesheets/application.css.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ h4 {
417417
}
418418
}
419419

420-
@import "profile", "connections", "protip", "networks";
420+
@import "profile", "connections", "protip", "networks", "admin";
421421
body#sign-in {
422422
#main-content {
423423
background: image-url("black-texture.jpg") repeat;

app/views/comments/index.html.haml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,14 @@
22
admin
33

44
.comment-admin
5+
%h2.comments-header
6+
%i.fa.fa-comments
7+
Comments
8+
59
%ul.titles.cf
6-
%li index
7-
%li likes
8-
%li comment
10+
%li Index
11+
%li Likes
12+
%li Comment
913

1014
- @comments.each_with_index do |comment, index|
1115
%ul.comments-list.cf

0 commit comments

Comments
 (0)