Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Dashboards
Tabler
提交
871ec8b4
T
Tabler
项目概览
Dashboards
/
Tabler
大约 1 年 前同步成功
通知
0
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
Tabler
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
871ec8b4
编写于
11月 08, 2020
作者:
C
codecalm
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
homepage activity
上级
06125409
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
97 addition
and
13 deletion
+97
-13
src/pages/_data/activity.yml
src/pages/_data/activity.yml
+18
-0
src/pages/_includes/cards/activity.html
src/pages/_includes/cards/activity.html
+5
-0
src/pages/_includes/layout/homepage.html
src/pages/_includes/layout/homepage.html
+23
-10
src/pages/_includes/parts/activity.html
src/pages/_includes/parts/activity.html
+24
-0
src/pages/activity.html
src/pages/activity.html
+21
-0
src/scss/_variables.scss
src/scss/_variables.scss
+2
-3
src/scss/ui/_grid.scss
src/scss/ui/_grid.scss
+4
-0
未找到文件。
src/pages/_data/activity.yml
0 → 100644
浏览文件 @
871ec8b4
-
text
:
"
%p
commented
on
your
<strong>
\"
I'm
not
a
witch.
\"
</strong>
post."
-
text
:
"
It's
<strong>%p</strong>'s
birthday.
Wish
him
well!"
-
text
:
"
%p
posted
<strong>
\"
Well,
what
do
you
want?
\"
</strong>."
-
text
:
"
%p
created
a
new
project
<strong>Morning
alarm
clock</strong>."
-
text
:
"
%p
liked
your
photo."
-
text
:
"
%p
registered
new
client
as
<strong>%c</strong>."
-
text
:
"
%p
closed
a
new
deal
on
project
<strong>Pen
Pineapple
Apple
Pen</strong>."
-
text
:
"
%p
created
a
new
project
for
<strong>%c</strong>."
-
text
:
"
%p
change
status
of
<strong>Tabler
Icons</strong>
from
<strong>open</strong>
to
<strong>closed</strong>."
-
text
:
"
%p
liked
<strong>Tabler
UI
Kit</strong>."
-
text
:
"
%p
posted
new
video."
-
text
:
"
%p
and
3
others
followed
you."
-
text
:
"
%p
upload
3
new
photos
to
category
<strong>Inspirations</strong>."
-
text
:
"
%p
made
a
<strong>$10</strong>
donation."
-
text
:
"
%p
created
a
profile."
-
text
:
"
%p
hosted
the
event
<strong>Tabler
UI
Birthday</strong>."
-
text
:
"
%p
mentioned
you
on
<strong>Best
of
2020</strong>."
-
text
:
"
%p
sent
a
Review
Request
to
<strong>Amanda
Blake</strong>."
src/pages/_includes/cards/activity.html
0 → 100644
浏览文件 @
871ec8b4
<div
class=
"card"
style=
"height: calc(24rem + 10px)"
>
<div
class=
"card-body card-body-scrollable card-body-scrollable-shadow"
>
{% include parts/activity.html %}
</div>
</div>
\ No newline at end of file
src/pages/_includes/layout/homepage.html
浏览文件 @
871ec8b4
...
...
@@ -89,19 +89,32 @@
{% include cards/development-activity.html %}
</div>
<div
class=
"col-
sm-6 col-xl-3
"
>
{% include cards/
small-stats.html color="blue" icon="currency-dollar" count="132" subtitle="Sales" description="12 waiting payments"
%}
<div
class=
"col-
md-8
"
>
{% include cards/
activity.html
%}
</div>
<div
class=
"col-sm-6 col-xl-3"
>
{% include cards/small-stats.html color="green" icon="shopping-cart" count="78" subtitle="Orders" description="32 shipped" %}
</div>
<div
class=
"col-sm-6 col-xl-3"
>
{% include cards/small-stats.html chart-position="left" chart-type="pie" chart-data="56/100" chart-label="56%" color="red" count="1352" subtitle="Members" description="163 registered today" %}
</div>
<div
class=
"col-sm-6 col-xl-3"
>
{% include cards/small-stats.html color="yellow" chart-type="pie" chart-data="22/100" color="yellow" count="132" subtitle="Comments" description="16 waiting" %}
<div
class=
"col-md-4"
>
<div
class=
"row row-cards"
>
<div
class=
"col-12"
>
{% include cards/small-stats.html color="blue" icon="currency-dollar" count="132" subtitle="Sales" description="12 waiting payments" %}
</div>
<div
class=
"col-12"
>
{% include cards/small-stats.html color="green" icon="shopping-cart" count="78" subtitle="Orders" description="32 shipped" %}
</div>
<div
class=
"col-12"
>
{% include cards/small-stats.html color="yellow" icon="users" count="1352" subtitle="Members" description="163 registered today" %}
</div>
<div
class=
"col-12"
>
{% include cards/small-stats.html icon="brand-twitter" color="twitter" count="623" subtitle="Shares" description="16 today" %}
</div>
<div
class=
"col-12"
>
{% include cards/small-stats.html icon="brand-facebook" color="facebook" count="132" subtitle="Likes" description="21 today" %}
</div>
</div>
</div>
<div
class=
"col-md-12 col-lg-8"
>
{% include cards/most-visited-pages.html %}
</div>
...
...
src/pages/_includes/parts/activity.html
0 → 100644
浏览文件 @
871ec8b4
{% assign limit = include.limit | default: false %}
<div
class=
"divide-y-4"
>
{% for item in site.data.activity limit:limit %}
{% assign person = site.data.people[forloop.index] %}
<div>
<div
class=
"row"
>
<div
class=
"col-auto"
>
{% include ui/avatar.html person=person %}
</div>
<div
class=
"col"
>
<div
class=
"text-truncate"
>
{{ item.text | replace: '%p', person.full_name | replace: '%c', person.company }}
</div>
<div
class=
"text-muted"
>
2 days ago
</div>
</div>
{% if forloop.index
<
5
%}
<
div
class=
"col-auto align-self-center"
>
<div
class=
"badge bg-primary"
></div>
</div>
{% endif %}
</div>
</div>
{% endfor %}
</div>
\ No newline at end of file
src/pages/activity.html
0 → 100644
浏览文件 @
871ec8b4
---
title: Activity
page-header: Activity
---
<div
class=
"row"
>
<div
class=
"col-6"
>
<div
class=
"card"
>
<div
class=
"card-body"
>
{% include parts/activity.html %}
</div>
</div>
</div>
<div
class=
"col-6"
>
<div
class=
"card"
>
<div
class=
"card-body"
>
</div>
</div>
</div>
</div>
\ No newline at end of file
src/scss/_variables.scss
浏览文件 @
871ec8b4
...
...
@@ -216,9 +216,8 @@ $spacers: (
1
:
$spacer
/
4
,
2
:
$spacer
/
2
,
3
:
$spacer
,
4
:
$spacer
*
1
.5
,
5
:
$spacer
*
3
,
6
:
$spacer
*
4
.5
4
:
$spacer
*
2
,
5
:
$spacer
*
4
,
)
!
default
;
$negative-spacers
:
if
(
$enable-negative-margins
,
negativify-map
(
$spacers
)
,
null
)
!
default
;
...
...
src/scss/ui/_grid.scss
浏览文件 @
871ec8b4
.row
>
*
{
min-width
:
0
;
}
.col-separator
{
border-left
:
1px
solid
$border-color
;
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录