-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathpage-tables.html
157 lines (114 loc) · 3.01 KB
/
page-tables.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
---
layout: default
title: Tables
permalink: /tables/
is_searchable: true
---
<section class="sui-row-with-sidenav">
<!-- Navigation -->
<div class="sui-sidenav" role="navigation">
<ul class="sui-vertical-tabs">
<li class="sui-vertical-tab current">
<a href="#" role="button" data-tab="preview">Preview</a>
</li>
<li class="sui-vertical-tab">
<a href="#" role="button" data-tab="documentation">Documentation</a>
</li>
</ul>
</div>
<!-- SECTION: Preview -->
<div class="sui-box" data-tab="preview">
<div class="sui-box-header">
<h2 class="sui-box-title">Preview</h2>
</div>
<div class="sui-box-body">
<p>Add <code>sui-table</code> class to style correctly your table element.</p>
<table class="sui-table">
<thead>
<tr>
<th>Title A</th>
<th>Title B</th>
<th>Title C</th>
</tr>
</thead>
<tbody>
<tr>
<td class="sui-table-item-title">Row Title</td>
<td>Row content...</td>
<td><input type="text" class="sui-form-control" /></td>
</tr>
<tr>
<td class="sui-table-item-title">Row Title</td>
<td>Row content...</td>
<td><input type="text" class="sui-form-control" /></td>
</tr>
<tr>
<td class="sui-table-item-title">Row Title</td>
<td>Row content...</td>
<td><input type="text" class="sui-form-control" /></td>
</tr>
</tbody>
<tfoot>
<tr>
<td colspan="3" style="text-align: right;">
<button class="sui-button sui-button-blue">Save Changes</button>
</td>
</tr>
</tfoot>
</table>
</div>
</div>
<!-- SECTION: Documentation -->
<div class="sui-box" data-tab="documentation" style="display: none;">
<div class="sui-box-header">
<h2 class="sui-box-title">Documentation</h2>
</div>
<div class="sui-box-body">
<!-- ROW: Specifications -->
<div
id="showcase-specs"
utilities="false"
utilities-page="{{ site.baseurl }}/utilities/"
monochrome="true"
rtl-lang="false"
></div>
<!-- ROW: Markup -->
<div class="sui-box-settings-row">
<div class="sui-box-settings-col-1">
<h3 class="sui-settings-label">Markup</h3>
</div>
<div class="sui-box-settings-col-2">
<div class="demo-code-block">
<pre class="sui-code-snippet html">
<table class="sui-table">
<thead>
<tr>
<th>Title A</th>
<th>Title B</th>
<th>Title C</th>
</tr>
</thead>
<tbody>
<tr>
<td class="sui-table-item-title">Row Title</td>
<td>Row content...</td>
<td><input type="text" class="sui-form-control" /></td>
</tr>
</tbody>
<tfoot>
<tr colspan="3">
<td>
<button class="sui-button sui-button-blue">
Save Changes
</button>
</td>
</tr>
</tfoot>
</table>
</pre>
</div>
</div>
</div>
</div>
</div>
</section>