Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
知鸟1号
tabler
提交
578419c3
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,发现更多精彩内容 >>
提交
578419c3
编写于
12月 20, 2019
作者:
C
codecalm
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
charts fixes
上级
004cf028
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
63 addition
and
71 deletion
+63
-71
pages/_data/charts.yml
pages/_data/charts.yml
+0
-30
pages/_data/colors.yml
pages/_data/colors.yml
+11
-0
pages/_includes/cards/gallery.html
pages/_includes/cards/gallery.html
+22
-0
pages/_includes/layout/page-title-actions.html
pages/_includes/layout/page-title-actions.html
+24
-17
pages/_includes/ui/form/input-icon.html
pages/_includes/ui/form/input-icon.html
+1
-1
pages/gallery.html
pages/gallery.html
+2
-20
scss/_debug.scss
scss/_debug.scss
+1
-1
scss/layout/_page.scss
scss/layout/_page.scss
+1
-1
scss/ui/_cards.scss
scss/ui/_cards.scss
+1
-1
未找到文件。
pages/_data/charts.yml
浏览文件 @
578419c3
...
@@ -76,7 +76,6 @@ total-sales:
...
@@ -76,7 +76,6 @@ total-sales:
type
:
donut
type
:
donut
demo
:
true
demo
:
true
sparkline
:
true
sparkline
:
true
name
:
Total sales
series
:
series
:
-
name
:
Direct
-
name
:
Direct
color
:
blue
color
:
blue
...
@@ -92,8 +91,6 @@ total-sales:
...
@@ -92,8 +91,6 @@ total-sales:
data
:
12
data
:
12
campaigns
:
campaigns
:
name
:
Campaigns
demo
:
true
type
:
radialBar
type
:
radialBar
sparkline
:
true
sparkline
:
true
series
:
series
:
...
@@ -108,7 +105,6 @@ campaigns:
...
@@ -108,7 +105,6 @@ campaigns:
data
:
18
data
:
18
tasks
:
tasks
:
name
:
Tasks
demo
:
true
demo
:
true
type
:
line
type
:
line
categories
:
[
'
M'
,
'
T'
,
'
W'
,
'
T'
,
'
F'
,
'
S'
,
'
S'
,
'
M'
,
'
T'
,
'
W'
,
'
T'
,
'
F'
,
'
S'
,
'
S'
,
'
M'
,
'
T'
,
'
W'
]
categories
:
[
'
M'
,
'
T'
,
'
W'
,
'
T'
,
'
F'
,
'
S'
,
'
S'
,
'
M'
,
'
T'
,
'
W'
,
'
T'
,
'
F'
,
'
S'
,
'
S'
,
'
M'
,
'
T'
,
'
W'
]
...
@@ -130,9 +126,6 @@ tasks:
...
@@ -130,9 +126,6 @@ tasks:
data
:
[
0
,
0
,
1
,
0
,
2
,
0
,
1
,
0
,
2
,
3
,
0
,
2
,
3
,
2
,
1
,
0
,
0
]
data
:
[
0
,
0
,
1
,
0
,
2
,
0
,
1
,
0
,
2
,
3
,
0
,
2
,
3
,
2
,
1
,
0
,
0
]
development-activity
:
development-activity
:
name
:
Development Activity
title
:
Development Activity
demo
:
true
type
:
area
type
:
area
groups
:
[
1
,
2
,
3
]
groups
:
[
1
,
2
,
3
]
hide-points
:
true
hide-points
:
true
...
@@ -146,8 +139,6 @@ development-activity:
...
@@ -146,8 +139,6 @@ development-activity:
data
:
[
3
,
5
,
4
,
6
,
7
,
5
,
6
,
8
,
24
,
7
,
12
,
5
,
6
,
3
,
8
,
4
,
14
,
30
,
17
,
19
,
15
,
14
,
25
,
32
,
40
,
55
,
60
,
48
,
52
,
70
]
data
:
[
3
,
5
,
4
,
6
,
7
,
5
,
6
,
8
,
24
,
7
,
12
,
5
,
6
,
3
,
8
,
4
,
14
,
30
,
17
,
19
,
15
,
14
,
25
,
32
,
40
,
55
,
60
,
48
,
52
,
70
]
line
:
line
:
name
:
Employment Growth
demo
:
true
type
:
line
type
:
line
show-grid
:
true
show-grid
:
true
categories
:
[
'
2013'
,
'
2014'
,
'
2015'
,
'
2016'
,
'
2017'
,
'
2018'
]
categories
:
[
'
2013'
,
'
2014'
,
'
2015'
,
'
2016'
,
'
2017'
,
'
2018'
]
...
@@ -163,7 +154,6 @@ line:
...
@@ -163,7 +154,6 @@ line:
data
:
[
17
,
18
,
21
,
20
,
30
,
29
]
data
:
[
17
,
18
,
21
,
20
,
30
,
29
]
line-stroke
:
line-stroke
:
name
:
Line chart
demo
:
true
demo
:
true
type
:
line
type
:
line
stroke-curve
:
straight
stroke-curve
:
straight
...
@@ -181,7 +171,6 @@ line-stroke:
...
@@ -181,7 +171,6 @@ line-stroke:
data
:
[
7
,
10
,
11
,
18
,
18
,
18
,
24
]
data
:
[
7
,
10
,
11
,
18
,
18
,
18
,
24
]
stepline
:
stepline
:
name
:
Stepline
demo
:
true
demo
:
true
type
:
line
type
:
line
stroke-curve
:
stepline
stroke-curve
:
stepline
...
@@ -192,7 +181,6 @@ stepline:
...
@@ -192,7 +181,6 @@ stepline:
data
:
[
34
,
44
,
54
,
21
,
12
,
43
,
33
,
23
,
66
,
66
,
58
]
data
:
[
34
,
44
,
54
,
21
,
12
,
43
,
33
,
23
,
66
,
66
,
58
]
temperature
:
temperature
:
name
:
Monthly Average Temperature
demo
:
true
demo
:
true
type
:
line
type
:
line
show-labels
:
true
show-labels
:
true
...
@@ -210,7 +198,6 @@ temperature:
...
@@ -210,7 +198,6 @@ temperature:
area
:
area
:
name
:
Lorem ipsum
demo
:
true
demo
:
true
type
:
area
type
:
area
categories
:
[
'
Jan'
,
'
Feb'
,
'
Mar'
,
'
Apr'
,
'
May'
,
'
Jun'
]
categories
:
[
'
Jan'
,
'
Feb'
,
'
Mar'
,
'
Apr'
,
'
May'
,
'
Jun'
]
...
@@ -224,7 +211,6 @@ area:
...
@@ -224,7 +211,6 @@ area:
area-spline
:
area-spline
:
name
:
Lorem ipsum
demo
:
true
demo
:
true
type
:
area
type
:
area
spline
:
true
spline
:
true
...
@@ -239,7 +225,6 @@ area-spline:
...
@@ -239,7 +225,6 @@ area-spline:
area-spline-stacked
:
area-spline-stacked
:
name
:
Lorem ipsum
demo
:
true
demo
:
true
type
:
area
type
:
area
spline
:
true
spline
:
true
...
@@ -255,7 +240,6 @@ area-spline-stacked:
...
@@ -255,7 +240,6 @@ area-spline-stacked:
spline
:
spline
:
name
:
Wind speed during two days
demo
:
true
demo
:
true
type
:
line
type
:
line
spline
:
true
spline
:
true
...
@@ -269,12 +253,7 @@ spline:
...
@@ -269,12 +253,7 @@ spline:
color
:
green
color
:
green
data
:
[
0
,
0
,
0.6
,
0.9
,
0.8
,
0.2
,
0
,
0
,
0
,
0.1
,
0.6
,
0.7
,
0.8
,
0.6
,
0.2
,
0
,
0.1
,
0.3
,
0.3
,
0
,
0.1
,
0
,
0
,
0
,
0.2
,
0.1
,
0
,
0.3
,
0
,
0.1
,
0.2
,
0.1
,
0.3
,
0.3
,
0
,
3.1
,
3.1
,
2.5
,
1.5
,
1.9
,
2.1
,
1
,
2.3
,
1.9
,
1.2
,
0.7
,
1.3
,
0.4
,
0.3
]
data
:
[
0
,
0
,
0.6
,
0.9
,
0.8
,
0.2
,
0
,
0
,
0
,
0.1
,
0.6
,
0.7
,
0.8
,
0.6
,
0.2
,
0
,
0.1
,
0.3
,
0.3
,
0
,
0.1
,
0
,
0
,
0
,
0.2
,
0.1
,
0
,
0.3
,
0
,
0.1
,
0.2
,
0.1
,
0.3
,
0.3
,
0
,
3.1
,
3.1
,
2.5
,
1.5
,
1.9
,
2.1
,
1
,
2.3
,
1.9
,
1.2
,
0.7
,
1.3
,
0.4
,
0.3
]
pie
:
pie
:
name
:
Lorem ipsum
demo
:
true
type
:
pie
type
:
pie
show-data-labels
:
true
show-data-labels
:
true
sparkline
:
true
sparkline
:
true
...
@@ -293,8 +272,6 @@ pie:
...
@@ -293,8 +272,6 @@ pie:
data
:
14
data
:
14
donut
:
donut
:
name
:
Lorem ipsum
demo
:
true
type
:
donut
type
:
donut
sparkline
:
true
sparkline
:
true
series
:
series
:
...
@@ -307,7 +284,6 @@ donut:
...
@@ -307,7 +284,6 @@ donut:
scatter
:
scatter
:
name
:
Lorem ipsum
demo
:
true
demo
:
true
type
:
scatter
type
:
scatter
categories
:
[
'
Jan'
,
'
Feb'
,
'
Mar'
,
'
Apr'
,
'
May'
,
'
Jun'
]
categories
:
[
'
Jan'
,
'
Feb'
,
'
Mar'
,
'
Apr'
,
'
May'
,
'
Jun'
]
...
@@ -321,7 +297,6 @@ scatter:
...
@@ -321,7 +297,6 @@ scatter:
combination
:
combination
:
name
:
Combination chart
demo
:
true
demo
:
true
type
:
bar
type
:
bar
types
:
types
:
...
@@ -347,7 +322,6 @@ revenue-bg:
...
@@ -347,7 +322,6 @@ revenue-bg:
type
:
area
type
:
area
days-labels-count
:
30
days-labels-count
:
30
sparkline
:
true
sparkline
:
true
demo
:
true
series
:
series
:
-
name
:
Profits
-
name
:
Profits
data
:
[
37
,
35
,
44
,
28
,
36
,
24
,
65
,
31
,
37
,
39
,
62
,
51
,
35
,
41
,
35
,
27
,
93
,
53
,
61
,
27
,
54
,
43
,
19
,
46
,
39
,
62
,
51
,
35
,
41
,
67
]
data
:
[
37
,
35
,
44
,
28
,
36
,
24
,
65
,
31
,
37
,
39
,
62
,
51
,
35
,
41
,
35
,
27
,
93
,
53
,
61
,
27
,
54
,
43
,
19
,
46
,
39
,
62
,
51
,
35
,
41
,
67
]
...
@@ -358,7 +332,6 @@ new-clients:
...
@@ -358,7 +332,6 @@ new-clients:
sparkline
:
true
sparkline
:
true
stroke-width
:
[
2
,
1
]
stroke-width
:
[
2
,
1
]
stroke-dash
:
[
0
,
3
]
stroke-dash
:
[
0
,
3
]
demo
:
true
series
:
series
:
-
name
:
May
-
name
:
May
color
:
blue
color
:
blue
...
@@ -371,7 +344,6 @@ active-users:
...
@@ -371,7 +344,6 @@ active-users:
type
:
bar
type
:
bar
days-labels-count
:
30
days-labels-count
:
30
sparkline
:
true
sparkline
:
true
demo
:
true
series
:
series
:
-
name
:
Profits
-
name
:
Profits
data
:
[
37
,
35
,
44
,
28
,
36
,
24
,
65
,
31
,
37
,
39
,
62
,
51
,
35
,
41
,
35
,
27
,
93
,
53
,
61
,
27
,
54
,
43
,
19
,
46
,
39
,
62
,
51
,
35
,
41
,
67
]
data
:
[
37
,
35
,
44
,
28
,
36
,
24
,
65
,
31
,
37
,
39
,
62
,
51
,
35
,
41
,
35
,
27
,
93
,
53
,
61
,
27
,
54
,
43
,
19
,
46
,
39
,
62
,
51
,
35
,
41
,
67
]
...
@@ -379,7 +351,6 @@ active-users:
...
@@ -379,7 +351,6 @@ active-users:
traffic-in
:
traffic-in
:
type
:
bar
type
:
bar
sparkline
:
true
sparkline
:
true
demo
:
true
color
:
green
color
:
green
series
:
series
:
-
name
:
Inbound
-
name
:
Inbound
...
@@ -387,7 +358,6 @@ traffic-in:
...
@@ -387,7 +358,6 @@ traffic-in:
traffic-out
:
traffic-out
:
type
:
bar
type
:
bar
demo
:
true
sparkline
:
true
sparkline
:
true
color
:
red
color
:
red
series
:
series
:
...
...
pages/_data/colors.yml
浏览文件 @
578419c3
...
@@ -97,6 +97,17 @@ green-700: '#387000'
...
@@ -97,6 +97,17 @@ green-700: '#387000'
green-800
:
'
#264a00'
green-800
:
'
#264a00'
green-900
:
'
#132500'
green-900
:
'
#132500'
lime
:
'
#7bd235'
lime-100
:
'
#e5f6d7'
lime-200
:
'
#caedae'
lime-300
:
'
#b0e486'
lime-400
:
'
#95db5d'
lime-500
:
'
#7bd235'
lime-600
:
'
#62a82a'
lime-700
:
'
#4a7e20'
lime-800
:
'
#315415'
lime-900
:
'
#192a0b'
teal
:
'
#2bcbba'
teal
:
'
#2bcbba'
teal-100
:
'
#d5f5f1'
teal-100
:
'
#d5f5f1'
teal-200
:
'
#aaeae3'
teal-200
:
'
#aaeae3'
...
...
pages/_includes/cards/gallery.html
0 → 100644
浏览文件 @
578419c3
<div
class=
"card card-sm"
>
<div
class=
"card-body"
>
<a
href=
"#"
class=
"mb-3 d-block"
><img
src=
"{{ site.base }}/img/photos/{{ photo.file }}"
class=
"rounded"
></a>
<div
class=
"d-flex align-items-center"
>
{% include ui/avatar.html person=include.person class="mr-3 rounded" %}
<div
class=
"leading-tight"
>
<div>
{{ include.person.full_name }}
</div>
<div
class=
"text-muted"
>
{{ forloop.index | random_date_ago: 10 | timeago }}
</div>
</div>
<div
class=
"ml-auto"
>
<a
href=
"#"
class=
"text-muted"
>
{% include_cached ui/icon.html icon="eye" %}
{{ forloop.index | random_number: 300, 600 }}
</a>
<a
href=
"#"
class=
"ml-3 text-muted"
>
{% include_cached ui/icon.html icon="heart" %}
{{ forloop.index | random_number: 20, 100 }}
</a>
</div>
</div>
</div>
</div>
\ No newline at end of file
pages/_includes/layout/page-title-actions.html
浏览文件 @
578419c3
...
@@ -2,23 +2,30 @@
...
@@ -2,23 +2,30 @@
<!-- Page title actions -->
<!-- Page title actions -->
<div
class=
"col-auto ml-auto d-print-none"
>
<div
class=
"col-auto ml-auto d-print-none"
>
{% if actions == 'users' %}
{% if actions == 'users' %}
<div
class=
"d-flex"
>
<div
class=
"d-flex"
>
<input
type=
"search"
class=
"form-control d-inline-block w-9 mr-3"
placeholder=
"Search user…"
/>
<input
type=
"search"
class=
"form-control d-inline-block w-9 mr-3"
placeholder=
"Search user…"
/>
{% include_cached ui/button.html text="New user" color="primary" icon="plus" %}
{% include_cached ui/button.html text="New user" color="primary" icon="plus" %}
</div>
</div>
{% elsif actions == 'calendar' %}
{% elsif actions == 'calendar' %}
<div
class=
"d-flex"
>
<div
class=
"d-flex"
>
{% include_cached ui/button.html text="Add event" color="primary" icon="plus" %}
{% include_cached ui/button.html text="Add event" color="primary" icon="plus" %}
</div>
</div>
{% elsif actions == 'breadcrumb' %}
{% elsif actions == 'photos' %}
<div
class=
"d-flex"
>
<div
class=
"d-flex"
>
{% include_cached ui/breadcrumb.html class="breadcrumb-alternate" %}
<div
class=
"mr-3"
>
</div>
{% include ui/form/input-icon.html %}
{% elsif actions == 'buttons' %}
</div>
<span
class=
"d-none d-sm-inline"
>
{% include_cached ui/button.html text="Add event" color="primary" icon="plus" %}
</div>
{% elsif actions == 'breadcrumb' %}
<div
class=
"d-flex"
>
{% include_cached ui/breadcrumb.html class="breadcrumb-alternate" %}
</div>
{% elsif actions == 'buttons' %}
<span
class=
"d-none d-sm-inline"
>
{% include_cached ui/button.html text="New view" color="secondary" icon="plus" %}
{% include_cached ui/button.html text="New view" color="secondary" icon="plus" %}
</span>
</span>
{% include_cached ui/button.html text="Create new report" color="primary" class="ml-3" %}
{% include_cached ui/button.html text="Create new report" color="primary" class="ml-3" %}
{% endif %}
{% endif %}
</div>
</div>
\ No newline at end of file
pages/_includes/ui/form/input-icon.html
浏览文件 @
578419c3
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
{{ addon }}
{{ addon }}
{% endif %}
{% endif %}
<input
type=
"text"
class=
"form-control{% if include.light %} form-control-light{% endif %}"
placeholder=
"{{ include.placeholder | default: 'Search
for
…' }}"
>
<input
type=
"text"
class=
"form-control{% if include.light %} form-control-light{% endif %}"
placeholder=
"{{ include.placeholder | default: 'Search…' }}"
>
{% unless include.prepend %}
{% unless include.prepend %}
{{ addon }}
{{ addon }}
...
...
pages/gallery.html
浏览文件 @
578419c3
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
title: Gallery
title: Gallery
page-title: Gallery
page-title: Gallery
page-title-description: 1-12 of 241 photos
page-title-description: 1-12 of 241 photos
page-title-actions: photos
done: true
done: true
menu: gallery
menu: gallery
---
---
...
@@ -12,26 +13,7 @@ menu: gallery
...
@@ -12,26 +13,7 @@ menu: gallery
{% if photo.horizontal %}
{% if photo.horizontal %}
{% assign person = site.data.people[forloop.index0] %}
{% assign person = site.data.people[forloop.index0] %}
<div
class=
"col-sm-6 col-lg-4"
>
<div
class=
"col-sm-6 col-lg-4"
>
<div
class=
"card p-3"
>
{% include cards/gallery.html person=person %}
<a
href=
"#"
class=
"mb-4"
><img
src=
"{{ site.base }}/img/photos/{{photo.file}}"
class=
"rounded"
></a>
<div
class=
"d-flex align-items-center leading-none"
>
{% include ui/avatar.html person=person class="mr-3" %}
<div>
<div>
{{ person.full_name }}
</div>
<small
class=
"text-muted"
>
{{ forloop.index | random_date_ago: 10 | timeago }}
</small>
</div>
<div
class=
"ml-auto"
>
<a
href=
"#"
class=
"text-muted"
>
{% include_cached ui/icon.html icon="eye" %}
{{ forloop.index | random_number: 300, 600 }}
</a>
<a
href=
"#"
class=
"ml-3 text-muted"
>
{% include_cached ui/icon.html icon="heart" %}
{{ forloop.index | random_number: 20, 100 }}
</a>
</div>
</div>
</div>
</div>
</div>
{% assign horizontal = horizontal | plus: 1 %}
{% assign horizontal = horizontal | plus: 1 %}
{% endif %}
{% endif %}
...
...
scss/_debug.scss
浏览文件 @
578419c3
$debug
:
false
;
$debug
:
false
;
@if
$debug
{
@if
$debug
{
$colors
:
(
"blue"
:
$blue
,
"azure"
:
$azure
,
"indigo"
:
$indigo
,
"purple"
:
$purple
,
"pink"
:
$pink
,
"red"
:
$red
,
"orange"
:
$orange
,
"yellow"
:
$yellow
,
"green"
:
$green
,
"teal"
:
$teal
,
"cyan"
:
$cyan
);
$colors
:
(
"blue"
:
$blue
,
"azure"
:
$azure
,
"indigo"
:
$indigo
,
"purple"
:
$purple
,
"pink"
:
$pink
,
"red"
:
$red
,
"orange"
:
$orange
,
"yellow"
:
$yellow
,
"
lime"
:
$lime
,
"
green"
:
$green
,
"teal"
:
$teal
,
"cyan"
:
$cyan
);
@each
$name
,
$color
in
$colors
{
@each
$name
,
$color
in
$colors
{
@debug
(
"
#{
$name
}
: '
#{
$color
}
'"
);
@debug
(
"
#{
$name
}
: '
#{
$color
}
'"
);
...
...
scss/layout/_page.scss
浏览文件 @
578419c3
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
min-height
:
2
.25rem
;
min-height
:
2
.25rem
;
margin
:
.25rem
0
1
.5rem
;
margin
:
.25rem
0
$card-spacer-y
;
>*
{
>*
{
flex
:
1
;
flex
:
1
;
...
...
scss/ui/_cards.scss
浏览文件 @
578419c3
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
.card-sm
{
.card-sm
{
.card-body
{
.card-body
{
padding
:
.75rem
;
padding
:
map-get
(
$spacers
,
3
)
;
}
}
}
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录