Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
知鸟1号
tabler
提交
38d901e8
T
tabler
项目概览
知鸟1号
/
tabler
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
tabler
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
38d901e8
编写于
9月 24, 2019
作者:
C
codecalm
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
comments widget
上级
473d0389
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
51 addition
and
1 deletion
+51
-1
pages/_components/card-comments.html
pages/_components/card-comments.html
+6
-0
pages/_data/comments.yml
pages/_data/comments.yml
+6
-0
pages/_includes/cards/comments.html
pages/_includes/cards/comments.html
+38
-0
pages/_includes/ui/icon.html
pages/_includes/ui/icon.html
+0
-1
scss/_variables.scss
scss/_variables.scss
+1
-0
未找到文件。
pages/_components/card-comments.html
0 → 100644
浏览文件 @
38d901e8
---
title: Comments card
columns: 2
---
{% include cards/comments.html %}
pages/_data/comments.yml
0 → 100644
浏览文件 @
38d901e8
-
"
Where's
the
old
video
of
you
guys
going
out?
I
really
liked
that
one...
Nonetheless,
love
the
music!
:)"
-
"
This
is
PERFECT"
-
"
She
is
so
damn
beautiful
OMG
i
love
her!!!
does
somebody
knows
what
kind
of
music
is
this?
sorry
xD"
-
"
Did
anyone
go
camping
in
Oshkosh
Wisconsin
last
month?"
-
"
Hey
i
am
subbed
but
i
didnt
get
the
notification
how?"
-
"
This
is
the
best
by
far!
I
laughed
for
the
hole
sticking
time
😂"
pages/_includes/cards/comments.html
0 → 100644
浏览文件 @
38d901e8
<div
class=
"card"
>
<div
class=
"card-header"
>
<div
class=
"card-title"
>
Comments
</div>
</div>
<div
class=
"card-body"
>
{% for person in site.data.people limit: 3 %}
<div
class=
"d-flex{% unless forloop.last %} mb-5{% endunless %}"
>
<div
class=
"mr-4"
>
{% include ui/avatar.html person=person status="green" %}
</div>
<div
class=
"flex-fill"
>
<div
class=
"d-flex mb-1 mt-n1"
>
<div
class=
"strong d-flex"
>
{{ person.full_name }}
</div>
<div
class=
"ml-auto small text-muted"
>
{{ forloop.index | random_date_ago: 23 | timeago }}
</div>
</div>
<p
class=
"mb-2"
>
{{ site.data.comments[forloop.index] }}
</p>
<div
class=
"small"
>
<span
class=
"text-success mr-1"
>
+{{ forloop.index | random_number: 20, 50 }}
</span>
<a
href=
"#"
data-toggle=
"tooltip"
data-placement=
"top"
title=
"Vote Up"
>
{% include ui/icon.html icon="chevron-up" %}
</a>
<a
href=
"#"
class=
"mr-1"
data-toggle=
"tooltip"
data-placement=
"top"
title=
"Vote Down"
>
{% include ui/icon.html icon="chevron-down" %}
</a>
<span
class=
"mr-1"
>
·
</span>
<a
href=
"#"
class=
"mr-1 text-muted"
>
Reply
</a>
<span
class=
"mr-1"
>
·
</span>
<a
href=
"#"
class=
"text-muted"
>
Edit
</a>
</div>
</div>
</div>
{% endfor %}
</div>
</div>
pages/_includes/ui/icon.html
浏览文件 @
38d901e8
{% assign provider = include.provider | default: "fe" %}
<i
class=
"icon {{ provider }} {{ provider }}-{{ include.icon }}{% if include.class %} {{ include.class }}{% endif %}{% if include.color %} text-{{ include.color }}{% endif %}"
></i>
scss/_variables.scss
浏览文件 @
38d901e8
...
...
@@ -131,6 +131,7 @@ $spacers: (
0
:
0rem
,
1
:
.25rem
,
2
:
.5rem
,
3
:
.75rem
,
4
:
1rem
,
5
:
1
.5rem
,
6
:
2rem
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录