添加分类与标签提示

This commit is contained in:
yafeilee 2014-04-03 23:36:20 +08:00
parent 8ae2d8e23b
commit 19775e2ab0
5 changed files with 18 additions and 14 deletions

View File

@ -9,6 +9,9 @@
span {
margin-left: 0.5rem;
}
.has-tip {
border: none;
}
}
.content {

View File

@ -12,4 +12,7 @@
display: inline-block;
width: 1rem;
}
label {
cursor: default;
}
}

View File

@ -1,10 +1,4 @@
h2.blog-title #{post.title}
p.ptag
i.fi-list
span #{post.type}
p.ptag
i.fi-pricetag-multiple
span #{post.labels_content}
= render partial: 'post_head', locals: { post: post }
.content.markdown
== post.content_html

View File

@ -0,0 +1,10 @@
/ require: locals: { post : post }
h2.blog-title #{post.title}
p.ptag
span.has-tip data-options="disable_for_touch:false" data-tooltip="" title="分类"
i.fi-list-thumbnails
span #{post.type}
p.ptag
span.has-tip data-options="disable_for_touch:false" data-tooltip="" title="标签"
i.fi-pricetag-multiple
span #{post.labels_content}

View File

@ -5,13 +5,7 @@
| 首页
.row
.small-12.large-8.columns
h2.blog-title #{@newest.title}
p.ptag
i.fi-list
span #{@newest.type}
p.ptag
i.fi-pricetag-multiple
span #{@newest.labels_content}
= render partial: 'post_head', locals: { post: @newest }
.content.markdown
== @newest.sub_content