Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Dashboards
Tabler
提交
5c738dc5
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,发现更多精彩内容 >>
提交
5c738dc5
编写于
2月 07, 2020
作者:
C
codecalm
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
homepage fixes
上级
077ffaeb
变更
8
显示空白变更内容
内联
并排
Showing
8 changed file
with
24 addition
and
15 deletion
+24
-15
pages/_includes/cards/most-visited-pages.html
pages/_includes/cards/most-visited-pages.html
+12
-7
pages/_includes/cards/small-stats.html
pages/_includes/cards/small-stats.html
+2
-2
pages/_includes/cards/tasks.html
pages/_includes/cards/tasks.html
+1
-1
pages/_includes/ui/sparkline.html
pages/_includes/ui/sparkline.html
+1
-1
scss/_tabler-vendors.scss
scss/_tabler-vendors.scss
+1
-1
scss/ui/_cards.scss
scss/ui/_cards.scss
+3
-3
scss/vendor/_pace.scss
scss/vendor/_pace.scss
+0
-0
scss/vendor/_peity.scss
scss/vendor/_peity.scss
+4
-0
未找到文件。
pages/_includes/cards/most-visited-pages.html
浏览文件 @
5c738dc5
...
...
@@ -4,22 +4,27 @@
</div>
<div
class=
"table-responsive"
>
<table
class=
"table card-table table-vcenter"
>
<thead>
<tr>
<th
colspan=
"2"
>
Page name
</th>
<th>
Page name
</th>
<th>
Visitors
</th>
<th>
Unique page visits
</th>
<th
colspan=
"2"
>
Bounce rate
</th>
</tr>
</thead>
{% for page in site.data.pages %}
<tr>
<td>
{{ page.uri }}
</td>
<td><a
href=
"#"
class=
"text-muted"
>
{% include ui/icon.html icon="link" %}
</a></td>
<td>
{{ page.visitors | format_number }}
</td>
<td>
{{ page.unique | format_number }}
</td>
<td>
{{ page.bounce-rate }}
</td>
<td>
{{ page.uri }}
<a
href=
"#"
class=
"link-secondary ml-2"
>
{% include ui/icon.html icon="link" %}
</a>
</td>
<td
class=
"text-muted"
>
{{ page.visitors | format_number }}
</td>
<td
class=
"text-muted"
>
{{ page.unique | format_number }}
</td>
<td
class=
"text-muted"
>
{{ page.bounce-rate }}
</td>
<td
class=
"text-right"
>
{% include ui/sparkline.html
data="4,3,6,5,4,5,4,6,7,6,5,7,8,7,8,9,8,9,10" wide=true
%}
{% include ui/sparkline.html
type="line" data="4,3,6,5,4,5,4,6,7,6,5,7,8,7,8,9,8,9,10"
%}
</td>
</tr>
{% endfor %}
...
...
pages/_includes/cards/small-stats.html
浏览文件 @
5c738dc5
{% assign chart-type = include.chart-type | default: 'line' %}
{% assign chart-position = include.chart-position | default: 'right' %}
<div
class=
"card"
>
<div
class=
"card-body
p-3
d-flex align-items-center"
>
<div
class=
"card
card-sm
"
>
<div
class=
"card-body d-flex align-items-center"
>
{% if include.icon %}
<span
class=
"{% if include.color %}bg-{{ include.color }} text-white{% endif %} stamp mr-3"
>
{% include ui/icon.html icon=include.icon %}
</span>
{% elsif include.person-id %}
...
...
pages/_includes/cards/tasks.html
浏览文件 @
5c738dc5
...
...
@@ -27,7 +27,7 @@
</td>
<td
class=
"text-nowrap"
>
<a
href=
"#"
class=
"text-muted"
>
% include ui/icon.html icon="message-square" %} {{ forloop.index | random_number: 0, 12 }}
</a>
{
% include ui/icon.html icon="message-square" %} {{ forloop.index | random_number: 0, 12 }}
</a>
</td>
<td>
{% include ui/avatar.html person-id=forloop.index size="sm" %}
...
...
pages/_includes/ui/sparkline.html
浏览文件 @
5c738dc5
{% assign type = include.type %}
{% assign type = include.type
| default: 'bar'
%}
{% assign id = 0 | random_id %}
{% assign color = include.color | default: 'blue' %}
...
...
scss/_tabler-vendors.scss
浏览文件 @
5c738dc5
@import
"vendor/p
ace
"
;
@import
"vendor/p
eity
"
;
@import
"vendor/selectize"
;
@import
"vendor/jqvmap"
;
@import
"vendor/apexcharts"
;
...
...
scss/ui/_cards.scss
浏览文件 @
5c738dc5
...
...
@@ -190,18 +190,18 @@
}
.card-sm
>
&
{
padding
:
map-get
(
$spacers
,
3
)
;
padding
:
.75rem
;
}
.card-md
>
&
{
@include
media-breakpoint-up
(
md
)
{
padding
:
map-get
(
$spacers
,
5
)
;
padding
:
1
.5rem
;
}
}
.card-lg
>
&
{
@include
media-breakpoint-up
(
md
)
{
padding
:
map-get
(
$spacers
,
6
)
;
padding
:
3rem
;
}
}
...
...
scss/vendor/_pace.scss
已删除
100644 → 0
浏览文件 @
077ffaeb
scss/vendor/_peity.scss
0 → 100644
浏览文件 @
5c738dc5
.peity
{
stroke-linejoin
:
round
;
stroke-linecap
:
round
;
}
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录