Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Dashboards
Tabler
提交
94519737
T
Tabler
项目概览
Dashboards
/
Tabler
10 个月 前同步成功
通知
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,体验更适合开发者的 AI 搜索 >>
未验证
提交
94519737
编写于
12月 27, 2019
作者:
P
Paweł Kuna
提交者:
GitHub
12月 27, 2019
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #416 from tabler/dev-doc-datatables
Dev doc datatables
上级
62fd5ab8
491228f2
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
88 addition
and
49 deletion
+88
-49
dist/css/tabler.css.map
dist/css/tabler.css.map
+0
-0
pages/_data/menu.yml
pages/_data/menu.yml
+3
-0
pages/_includes/cards/invoices.html
pages/_includes/cards/invoices.html
+80
-49
pages/datatables.html
pages/datatables.html
+5
-0
未找到文件。
dist/css/tabler.css.map
浏览文件 @
94519737
此差异由.gitattributes 抑制。
pages/_data/menu.yml
浏览文件 @
94519737
...
...
@@ -52,6 +52,9 @@ base:
cards
:
url
:
cards.html
title
:
Cards
datatables
:
url
:
datatables.html
title
:
Data Tables
calendar
:
title
:
Calendar
url
:
calendar.html
...
...
pages/_includes/cards/invoices.html
浏览文件 @
94519737
<div
class=
"card"
>
<div
class=
"card-header"
>
<h3
class=
"card-title"
>
Invoices
</h3>
</div>
<div
class=
"table-responsive"
>
<table
class=
"table card-table table-vcenter text-nowrap datatable overflow-hidden"
>
<thead>
<div
class=
"card-header"
>
<h3
class=
"card-title"
>
Invoices
</h3>
</div>
<div
class=
"card-body d-flex justify-content-between flex-nowrap table-responsive border-bottom text-nowrap overflow-hidden"
>
<div
class=
"mb-0"
>
Show
<div
class=
"mx-2 d-inline-block"
style=
"width: 4rem;"
>
<input
type=
"text"
class=
"form-control"
value=
"8"
>
</div>
entries
</div>
<div
class=
"mb-0 ml-4"
>
Serach:
<div
class=
"ml-2 d-inline-block"
style=
"width: 10rem;"
>
<input
type=
"text"
class=
"form-control"
>
</div>
</div>
</div>
<div
class=
"table-responsive"
>
<table
class=
"table card-table table-vcenter text-nowrap datatable"
>
<thead>
<tr>
<th
class=
"w-1p"
><input
class=
"form-check-input m-0 align-middle"
type=
"checkbox"
></th>
<th
class=
"w-1p"
>
No. {% include_cached ui/icon.html icon="chevron-up" class="icon-sm text-dark icon-thick" %}
</th>
<th>
Invoice Subject {% include_cached ui/icon.html icon="code" class="icon-sm" %}
</th>
<th>
Client {% include_cached ui/icon.html icon="code" class="icon-sm" %}
</th>
<th>
VAT No. {% include_cached ui/icon.html icon="code" class="icon-sm" %}
</th>
<th>
Created {% include_cached ui/icon.html icon="code" class="icon-sm" %}
</th>
<th>
Status {% include_cached ui/icon.html icon="code" class="icon-sm" %}
</th>
<th>
Price {% include_cached ui/icon.html icon="code" class="icon-sm" %}
</th>
<th></th>
<th></th>
</tr>
</thead>
<tbody>
{% for invoice in site.data.invoices limit: 8 %}
<tr>
<th
class=
"w-1p"
><input
class=
"form-check-input m-0 align-middle"
type=
"checkbox"
></th>
<th
class=
"w-1p"
>
No.
</th>
<th>
Invoice Subject
</th>
<th>
Client
</th>
<th>
VAT No.
</th>
<th>
Created
</th>
<th>
Status
</th>
<th>
Price
</th>
<th></th>
<td><input
class=
"form-check-input m-0 align-middle"
type=
"checkbox"
></td>
<td><span
class=
"text-muted"
>
00{{ forloop.index | plus: 1400 }}
</span></td>
<td><a
href=
"invoice.html"
class=
"text-reset"
>
{{ invoice.name }}
</a></td>
<td>
{% include ui/flag.html flag=invoice.country %}
{{ invoice.client }}
</td>
<td>
{{ invoice.vat-no }}
</td>
<td>
{{ invoice.date }}
</td>
<td>
<span
class=
"status-icon bg-{{ invoice.status }}"
></span>
{{ invoice.status-name }}
</td>
<td>
{{ invoice.price }}
</td>
<td
class=
"text-right"
>
<button
class=
"btn btn-secondary btn-sm align-text-top"
>
Manage
</button>
<span
class=
"dropdown ml-1"
>
<button
class=
"btn btn-secondary btn-sm dropdown-toggle align-text-top"
data-toggle=
"dropdown"
>
Actions
</button>
{% include ui/dropdown-menu.html %}
</span>
</td>
<td
style=
"padding-right: 1rem;"
>
{% include_cached ui/icon.html icon="edit" class="icon-sm float-right" %}
</td>
</tr>
</thead>
<tbody>
{% for invoice in site.data.invoices limit: 5 %}
<tr>
<td><input
class=
"form-check-input m-0 align-middle"
type=
"checkbox"
></td>
<td><span
class=
"text-muted"
>
00{{ forloop.index | plus: 1400 }}
</span></td>
<td><a
href=
"invoice.html"
class=
"text-reset"
>
{{ invoice.name }}
</a></td>
<td>
{% include ui/flag.html flag=invoice.country %}
{{ invoice.client }}
</td>
<td>
{{ invoice.vat-no }}
</td>
<td>
{{ invoice.date }}
</td>
<td>
<span
class=
"status-icon bg-{{ invoice.status }}"
></span>
{{ invoice.status-name }}
</td>
<td>
{{ invoice.price }}
</td>
<td
class=
"text-right"
>
<span
class=
"dropdown"
>
<button
class=
"btn btn-secondary dropdown-toggle"
data-toggle=
"dropdown"
>
Actions
</button>
{% include_cached ui/dropdown-menu.html %}
</span>
</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endfor %}
</tbody>
</table>
</div>
<div
class=
"card-body d-flex justify-content-between flex-nowrap table-responsive border-bottom text-nowrap"
>
<div
class=
"mb-0 d-flex align-items-center"
>
<p
class=
"mb-0 align-middle"
>
Showing
<span>
1
</span>
to
<span>
8
</span>
of
<span>
16
</span>
entries
</p>
</div>
<div
class=
"mb-0 ml-4"
>
<a
href=
"#"
class=
"btn btn-secondary disabled"
>
Previous
</a><a
href=
"#"
class=
"btn btn-primary ml-2"
>
1
</a><a
href=
"#"
class=
"btn btn-secondary ml-2"
>
2
</a><a
href=
"#"
class=
"btn btn-secondary ml-2 font-weight-bold text-secondary"
>
Next
</a>
</div>
</div>
</div>
</div>
pages/datatables.html
0 → 100644
浏览文件 @
94519737
---
title: Data Tables
---
{% include cards/invoices.html %}
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录