You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1130 lines
27 KiB

  1. ---
  2. layout : 'default'
  3. css : 'table'
  4. element : 'table'
  5. elementType : 'collection'
  6. title : 'Table'
  7. description : 'A table displays a collections of data grouped into rows'
  8. type : 'UI Collection'
  9. themes : ['Default', 'Classic']
  10. ---
  11. <link rel="stylesheet/less" type="text/css" href="/build/less/definitions/collections/table.less" />
  12. <script src="/javascript/table.js"></script>
  13. <%- @partial('header') %>
  14. <div class="main container">
  15. <h2 class="ui dividing header">Types</h2>
  16. <div class="example">
  17. <h4 class="ui header">Table</h4>
  18. <p>A standard table</p>
  19. <div class="ui ignored positive icon message">
  20. <i class="mobile icon"></i>
  21. <div class="content">
  22. <h3 class="header">Responsive Element</h3>
  23. <p>Tables are designed to be responsive. Table cells will stack when a mobile viewport size is reached.</p>
  24. </div>
  25. </div>
  26. <table class="ui table">
  27. <thead>
  28. <tr>
  29. <th>Name</th>
  30. <th>Registration Date</th>
  31. <th>E-mail address</th>
  32. <th>Premium Plan</th>
  33. </tr>
  34. </thead>
  35. <tbody>
  36. <tr>
  37. <td>John Lilki</td>
  38. <td>September 14, 2013</td>
  39. <td>jhlilk22@yahoo.com</td>
  40. <td>No</td>
  41. </tr>
  42. <tr>
  43. <td>Jamie Harington</td>
  44. <td>January 11, 2014</td>
  45. <td>jamieharingonton@yahoo.com</td>
  46. <td>Yes</td>
  47. </tr>
  48. <tr>
  49. <td>Jill Lewis</td>
  50. <td>May 11, 2014</td>
  51. <td>jilsewris22@yahoo.com</td>
  52. <td>Yes</td>
  53. </tr>
  54. </tbody>
  55. </table>
  56. </div>
  57. <div class="another example">
  58. <div class="ui top attached header">Git Repository</div>
  59. <table class="ui bottom attached celled striped table">
  60. <tbody>
  61. <tr>
  62. <td class="collapsing disabled">
  63. <i class="folder icon"></i> node_modules
  64. </td>
  65. <td>Initial commit</td>
  66. <td class="right aligned collapsing">10 hours ago</td>
  67. </tr>
  68. <tr>
  69. <td>
  70. <i class="folder icon"></i> test
  71. </td>
  72. <td>Initial commit</td>
  73. <td class="right aligned">10 hours ago</td>
  74. </tr>
  75. <tr>
  76. <td>
  77. <i class="folder icon"></i> build
  78. </td>
  79. <td>Initial commit</td>
  80. <td class="right aligned">10 hours ago</td>
  81. </tr>
  82. <tr>
  83. <td>
  84. <i class="file outline icon"></i> package.json
  85. </td>
  86. <td>Initial commit</td>
  87. <td class="right aligned">10 hours ago</td>
  88. </tr>
  89. <tr>
  90. <td>
  91. <i class="file outline icon"></i> Gruntfile.js
  92. </td>
  93. <td>Initial commit</td>
  94. <td class="right aligned">10 hours ago</td>
  95. </tr>
  96. </tbody>
  97. </table>
  98. </div>
  99. <div class="example">
  100. <h4 class="ui header">Definition</h4>
  101. <p>A table may be formatted to emphasize a first column that defines a rows content</p>
  102. <table class="ui definition table">
  103. <thead>
  104. <th></th>
  105. <th>Arguments</th>
  106. <th>Description</th>
  107. </thead>
  108. <tbody>
  109. <tr>
  110. <td>reset rating</td>
  111. <td>None</td>
  112. <td>Resets rating to default value</td>
  113. </tr>
  114. <tr>
  115. <td>set rating</td>
  116. <td>rating (integer)</td>
  117. <td>Sets the current star rating to specified value</td>
  118. </tr>
  119. </table>
  120. </div>
  121. <div class="another example">
  122. <table class="ui compact celled definition table">
  123. <thead>
  124. <tr>
  125. <th></th>
  126. <th>Name</th>
  127. <th>Registration Date</th>
  128. <th>E-mail address</th>
  129. <th>Premium Plan</th>
  130. </tr>
  131. </thead>
  132. <tbody>
  133. <tr>
  134. <td class="collapsing">
  135. <div class="ui fitted slider checkbox">
  136. <input type="checkbox"> <label></label>
  137. </div>
  138. </td>
  139. <td>John Lilki</td>
  140. <td>September 14, 2013</td>
  141. <td>jhlilk22@yahoo.com</td>
  142. <td>No</td>
  143. </tr>
  144. <tr>
  145. <td class="collapsing">
  146. <div class="ui fitted slider checkbox">
  147. <input type="checkbox"> <label></label>
  148. </div>
  149. </td>
  150. <td>Jamie Harington</td>
  151. <td>January 11, 2014</td>
  152. <td>jamieharingonton@yahoo.com</td>
  153. <td>Yes</td>
  154. </tr>
  155. <tr>
  156. <td class="collapsing">
  157. <div class="ui fitted slider checkbox">
  158. <input type="checkbox"> <label></label>
  159. </div>
  160. </td>
  161. <td>Jill Lewis</td>
  162. <td>May 11, 2014</td>
  163. <td>jilsewris22@yahoo.com</td>
  164. <td>Yes</td>
  165. </tr>
  166. </tbody>
  167. <tfoot class="full-width">
  168. <tr>
  169. <th></th>
  170. <th colspan="4">
  171. <div class="ui right floated small primary labeled icon button">
  172. <i class="user icon"></i> Add User
  173. </div>
  174. <div class="ui small button">
  175. Approve
  176. </div>
  177. <div class="ui small disabled button">
  178. Approve All
  179. </div>
  180. </th>
  181. </tr>
  182. </tfoot>
  183. </table>
  184. </div>
  185. <h2 class="ui dividing header">States</h2>
  186. <div class="example">
  187. <h4 class="ui header">Positive / Negative</h4>
  188. <p>A cell or row may let a user know whether a value is good or bad</p>
  189. <table class="ui table">
  190. <thead>
  191. <tr>
  192. <th>Name</th>
  193. <th>Status</th>
  194. <th>Notes</th>
  195. </tr>
  196. </thead>
  197. <tbody>
  198. <tr>
  199. <td>No Name Specified</td>
  200. <td>Unknown</td>
  201. <td class="negative">None</td>
  202. </tr>
  203. <tr class="positive">
  204. <td>Jimmy</td>
  205. <td><i class="icon checkmark"></i> Approved</td>
  206. <td>None</td>
  207. </tr>
  208. <tr>
  209. <td>Jamie</td>
  210. <td>Unknown</td>
  211. <td class="positive"><i class="icon close"></i> Requires call</td>
  212. </tr>
  213. <tr class="negative">
  214. <td>Jill</td>
  215. <td>Unknown</td>
  216. <td>None</td>
  217. </tr>
  218. </tbody>
  219. </table>
  220. </div>
  221. <h3 class="ui header">Cells</h3>
  222. <div class="example">
  223. <h4 class="ui header">Error</h4>
  224. <p>A cell or row may attention the user to an error or a negative value</p>
  225. <table class="ui table">
  226. <thead>
  227. <tr>
  228. <th>Name</th>
  229. <th>Status</th>
  230. <th>Notes</th>
  231. </tr>
  232. </thead>
  233. <tbody>
  234. <tr>
  235. <td>No Name Specified</td>
  236. <td>Approved</td>
  237. <td>None</td>
  238. </tr>
  239. <tr class="error">
  240. <td>Jimmy</td>
  241. <td>Cannot pull data</td>
  242. <td>None</td>
  243. </tr>
  244. <tr>
  245. <td>Jamie</td>
  246. <td>Approved</td>
  247. <td class="error"><i class="attention icon"></i> Classified</td>
  248. </tr>
  249. <tr>
  250. <td>Jill</td>
  251. <td>Approved</td>
  252. <td>None</td>
  253. </tr>
  254. </tbody>
  255. </table>
  256. </div>
  257. <div class="example">
  258. <h4 class="ui header">Warning</h4>
  259. <p>A cell or row may warn a user</p>
  260. <table class="ui table">
  261. <thead>
  262. <tr>
  263. <th>Name</th>
  264. <th>Status</th>
  265. <th>Notes</th>
  266. </tr>
  267. </thead>
  268. <tbody>
  269. <tr>
  270. <td>No Name Specified</td>
  271. <td>Unknown</td>
  272. <td>None</td>
  273. </tr>
  274. <tr class="warning">
  275. <td>Jimmy</td>
  276. <td><i class="attention icon"></i> Requires Action</td>
  277. <td>None</td>
  278. </tr>
  279. <tr>
  280. <td>Jamie</td>
  281. <td>Unknown</td>
  282. <td class="warning"><i class="attention icon"></i> Hostile</td>
  283. </tr>
  284. <tr>
  285. <td>Jill</td>
  286. <td>Unknown</td>
  287. <td>None</td>
  288. </tr>
  289. </tbody>
  290. </table>
  291. </div>
  292. <div class="example">
  293. <h4 class="ui header">Active</h4>
  294. <p>A cell or row can be active or selected by a user</p>
  295. <table class="ui table">
  296. <thead>
  297. <tr>
  298. <th>Name</th>
  299. <th>Status</th>
  300. <th>Notes</th>
  301. </tr>
  302. </thead>
  303. <tbody>
  304. <tr>
  305. <td>Jamie</td>
  306. <td>Approved</td>
  307. <td>Requires call</td>
  308. </tr>
  309. <tr class="active">
  310. <td>John</td>
  311. <td>Selected</td>
  312. <td>None</td>
  313. </tr>
  314. <tr>
  315. <td>Jamie</td>
  316. <td>Approved</td>
  317. <td>Requires call</td>
  318. </tr>
  319. <tr>
  320. <td class="active">Jill</td>
  321. <td>Approved</td>
  322. <td>None</td>
  323. </tr>
  324. </tbody>
  325. </table>
  326. </div>
  327. <div class="example">
  328. <h4 class="ui header">Disabled</h4>
  329. <p>A cell can be disabled</p>
  330. <table class="ui table">
  331. <thead>
  332. <tr>
  333. <th>Name</th>
  334. <th>Status</th>
  335. <th>Notes</th>
  336. </tr>
  337. </thead>
  338. <tbody>
  339. <tr class="disabled">
  340. <td>Jamie</td>
  341. <td>Approved</td>
  342. <td>Requires call</td>
  343. </tr>
  344. <tr>
  345. <td>John</td>
  346. <td>Selected</td>
  347. <td>None</td>
  348. </tr>
  349. <tr>
  350. <td>Jamie</td>
  351. <td>Approved</td>
  352. <td>Requires call</td>
  353. </tr>
  354. <tr>
  355. <td class="disabled">Jill</td>
  356. <td>Approved</td>
  357. <td>None</td>
  358. </tr>
  359. </tbody>
  360. </table>
  361. </div>
  362. <h2 class="ui dividing header">Variations</h2>
  363. <div class="example">
  364. <h4 class="ui header">Text Alignment</h4>
  365. <p>A table header, row, or cell can adjust its text alignment</p>
  366. <table class="ui striped table">
  367. <thead>
  368. <tr>
  369. <th>Name</th>
  370. <th>Status</th>
  371. <th class="right aligned">Notes</th>
  372. </tr>
  373. </thead>
  374. <tbody>
  375. <tr class="center aligned">
  376. <td>John</td>
  377. <td>Approved</td>
  378. <td class="right aligned">None</td>
  379. </tr>
  380. <tr>
  381. <td>Jamie</td>
  382. <td>Approved</td>
  383. <td class="right aligned">Requires call</td>
  384. </tr>
  385. <tr>
  386. <td>Jill</td>
  387. <td>Denied</td>
  388. <td class="right aligned">None</td>
  389. </tr>
  390. </tbody>
  391. </table>
  392. </div>
  393. <div class="example">
  394. <h4 class="ui header">Striped</h4>
  395. <p>A table can stripe alternate rows of content with a darker color to increase contrast</p>
  396. <table class="ui striped table">
  397. <thead>
  398. <tr>
  399. <th>Name</th>
  400. <th>Status</th>
  401. <th>Notes</th>
  402. </tr>
  403. </thead>
  404. <tbody>
  405. <tr>
  406. <td>John</td>
  407. <td>Approved</td>
  408. <td>None</td>
  409. </tr>
  410. <tr>
  411. <td>Jamie</td>
  412. <td>Approved</td>
  413. <td>Requires call</td>
  414. </tr>
  415. <tr>
  416. <td>Jill</td>
  417. <td>Denied</td>
  418. <td>None</td>
  419. </tr>
  420. </tbody>
  421. <tfoot>
  422. <th>3 People</th>
  423. <th>2 Approved</th>
  424. <th></th>
  425. </tfoot>
  426. </table>
  427. </div>
  428. <div class="example">
  429. <h4 class="ui header">Celled</h4>
  430. <p>A table may be divided each row into separate cells</p>
  431. <table class="ui celled table">
  432. <thead>
  433. <tr>
  434. <th>Name</th>
  435. <th>Status</th>
  436. <th>Notes</th>
  437. </tr>
  438. </thead>
  439. <tbody>
  440. <tr>
  441. <td>John</td>
  442. <td>Approved</td>
  443. <td>None</td>
  444. </tr>
  445. <tr>
  446. <td>Jamie</td>
  447. <td>Approved</td>
  448. <td>Requires call</td>
  449. </tr>
  450. <tr>
  451. <td>Jill</td>
  452. <td>Denied</td>
  453. <td>None</td>
  454. </tr>
  455. </tbody>
  456. <tfoot>
  457. <th>3 People</th>
  458. <th>2 Approved</th>
  459. <th></th>
  460. </tfoot>
  461. </table>
  462. </div>
  463. <div class="example">
  464. <h4 class="ui header">Basic</h4>
  465. <p>A table can reduce its complexity to increase readability.</p>
  466. <table class="ui basic table">
  467. <thead>
  468. <tr>
  469. <th>Name</th>
  470. <th>Status</th>
  471. <th>Notes</th>
  472. </tr>
  473. </thead>
  474. <tbody>
  475. <tr>
  476. <td>John</td>
  477. <td>Approved</td>
  478. <td>None</td>
  479. </tr>
  480. <tr>
  481. <td>Jamie</td>
  482. <td>Approved</td>
  483. <td>Requires call</td>
  484. </tr>
  485. <tr>
  486. <td>Jill</td>
  487. <td>Denied</td>
  488. <td>None</td>
  489. </tr>
  490. </tbody>
  491. </table>
  492. </div>
  493. <div class="another example">
  494. <table class="ui very basic table">
  495. <thead>
  496. <tr>
  497. <th>Name</th>
  498. <th>Status</th>
  499. <th>Notes</th>
  500. </tr>
  501. </thead>
  502. <tbody>
  503. <tr>
  504. <td>John</td>
  505. <td>Approved</td>
  506. <td>None</td>
  507. </tr>
  508. <tr>
  509. <td>Jamie</td>
  510. <td>Approved</td>
  511. <td>Requires call</td>
  512. </tr>
  513. <tr>
  514. <td>Jill</td>
  515. <td>Denied</td>
  516. <td>None</td>
  517. </tr>
  518. </tbody>
  519. </table>
  520. </div>
  521. <div class="example">
  522. <h4 class="ui header">Collapsing Cell</h4>
  523. <p>A cell can be collapsing so that it only uses as much space as required</p>
  524. <div class="ui ignored warning icon message">
  525. <i class="warning icon"></i>
  526. <div class="content">
  527. To ensure icons don't wrap to a seperate line you must either specify collapsing on the widest row in the collapsing column, or on all rows
  528. </div>
  529. </div>
  530. <table class="ui table">
  531. <tbody>
  532. <tr>
  533. <td class="collapsing disabled">
  534. <i class="folder icon"></i> node_modules
  535. </td>
  536. <td>Initial commit</td>
  537. <td>10 hours ago</td>
  538. </tr>
  539. <tr>
  540. <td>
  541. <i class="folder icon"></i> test
  542. </td>
  543. <td>Initial commit</td>
  544. <td>10 hours ago</td>
  545. </tr>
  546. <tr>
  547. <td>
  548. <i class="folder icon"></i> build
  549. </td>
  550. <td>Initial commit</td>
  551. <td>10 hours ago</td>
  552. </tr>
  553. </tbody>
  554. </table>
  555. </div>
  556. <div class="example">
  557. <h4 class="ui header">Even Width</h4>
  558. <p>A table can specify its column count to divide its content evenly</p>
  559. <table class="ui five column table">
  560. <thead>
  561. <th>Name</th>
  562. <th>Status</th>
  563. <th>Age</th>
  564. <th>Gender</th>
  565. <th>Notes</th>
  566. </thead>
  567. <tbody>
  568. <tr>
  569. <td>John</td>
  570. <td>Approved</td>
  571. <td>22</td>
  572. <td>Male</td>
  573. <td>None</td>
  574. </tr>
  575. <tr>
  576. <td>Jamie</td>
  577. <td>Approved</td>
  578. <td>32</td>
  579. <td>Male</td>
  580. <td>Requires call</td>
  581. </tr>
  582. <tr>
  583. <td>Jill</td>
  584. <td>Denied</td>
  585. <td>22</td>
  586. <td>Female</td>
  587. <td>None</td>
  588. </tr>
  589. </tbody>
  590. <tfoot>
  591. <th>3 People</th>
  592. <th>2 Approved</th>
  593. <th></th>
  594. <th></th>
  595. <th></th>
  596. </tfoot>
  597. </table>
  598. </div>
  599. <div class="example">
  600. <h4 class="ui header">Column Width</h4>
  601. <p>A table can specify the width of individual columns independently.</p>
  602. <div class="ui ignored info message">Tables use a 16 column grid. This should be the total width of all elements in a column</div>
  603. <table class="ui table">
  604. <thead>
  605. <th class="ten wide">Name</th>
  606. <th class="six wide">Status</th>
  607. </thead>
  608. <tbody>
  609. <tr>
  610. <td>John</td>
  611. <td>Approved</td>
  612. </tr>
  613. <tr>
  614. <td>Jamie</td>
  615. <td>Approved</td>
  616. </tr>
  617. <tr>
  618. <td>Jill</td>
  619. <td>Denied</td>
  620. </tr>
  621. </tbody>
  622. <tfoot>
  623. <th>3 People</th>
  624. <th>2 Approved</th>
  625. </tfoot>
  626. </table>
  627. </div>
  628. <div class="example">
  629. <h4 class="ui header">Collapsing</h4>
  630. <p>By default tables take the size of their container. A collapsing takes up only as much space as its rows.</p>
  631. <table class="ui collapsing table">
  632. <thead>
  633. <tr>
  634. <th>Name</th>
  635. <th>Status</th>
  636. <th>Notes</th>
  637. </tr>
  638. </thead>
  639. <tbody>
  640. <tr>
  641. <td>John</td>
  642. <td>Approved</td>
  643. <td>None</td>
  644. </tr>
  645. <tr>
  646. <td>Jamie</td>
  647. <td>Approved</td>
  648. <td>Requires call</td>
  649. </tr>
  650. <tr>
  651. <td>Jill</td>
  652. <td>Denied</td>
  653. <td>None</td>
  654. </tr>
  655. </tbody>
  656. <tfoot>
  657. <th>3 People</th>
  658. <th>2 Approved</th>
  659. <th></th>
  660. </tfoot>
  661. </table>
  662. </div>
  663. <div class="example">
  664. <h4 class="ui header">Colored</h4>
  665. <p>A table can be given a color to distinguish it from other tables.</p>
  666. <table class="ui blue table">
  667. <thead>
  668. <tr>
  669. <th>Name</th>
  670. <th>Status</th>
  671. <th>Notes</th>
  672. </tr>
  673. </thead>
  674. <tbody>
  675. <tr>
  676. <td>John</td>
  677. <td>Approved</td>
  678. <td>None</td>
  679. </tr>
  680. <tr>
  681. <td>Jamie</td>
  682. <td>Approved</td>
  683. <td>Requires call</td>
  684. </tr>
  685. <tr>
  686. <td>Jill</td>
  687. <td>Denied</td>
  688. <td>None</td>
  689. </tr>
  690. </tbody>
  691. <tfoot>
  692. <th>3 People</th>
  693. <th>2 Approved</th>
  694. <th></th>
  695. </tfoot>
  696. </table>
  697. </div>
  698. <div class="example">
  699. <h4 class="ui header">Inverted</h4>
  700. <p>A tables colors can be inverted</p>
  701. <table class="ui inverted table">
  702. <thead>
  703. <tr>
  704. <th>Name</th>
  705. <th>Status</th>
  706. <th>Notes</th>
  707. </tr>
  708. </thead>
  709. <tbody>
  710. <tr>
  711. <td>John</td>
  712. <td>Approved</td>
  713. <td>None</td>
  714. </tr>
  715. <tr>
  716. <td>Jamie</td>
  717. <td>Approved</td>
  718. <td>Requires call</td>
  719. </tr>
  720. <tr>
  721. <td>Jill</td>
  722. <td>Denied</td>
  723. <td>None</td>
  724. </tr>
  725. </tbody>
  726. <tfoot>
  727. <th>3 People</th>
  728. <th>2 Approved</th>
  729. <th></th>
  730. </tfoot>
  731. </table>
  732. </div>
  733. <div class="another example">
  734. <table class="ui inverted red table">
  735. <thead>
  736. <tr>
  737. <th>Name</th>
  738. <th>Status</th>
  739. <th>Notes</th>
  740. </tr>
  741. </thead>
  742. <tbody>
  743. <tr>
  744. <td>John</td>
  745. <td>Approved</td>
  746. <td>None</td>
  747. </tr>
  748. <tr>
  749. <td>Jamie</td>
  750. <td>Approved</td>
  751. <td>Requires call</td>
  752. </tr>
  753. <tr>
  754. <td>Jill</td>
  755. <td>Denied</td>
  756. <td>None</td>
  757. </tr>
  758. </tbody>
  759. <tfoot>
  760. <th>3 People</th>
  761. <th>2 Approved</th>
  762. <th></th>
  763. </tfoot>
  764. </table>
  765. </div>
  766. <div class="example">
  767. <h4 class="ui header">Sortable</h4>
  768. <p>A table may allow a user to sort contents by clicking on a table header.</p>
  769. <div class="ui warning message">Adding a classname of <code>ascending</code> or <code>descending</code> to the <code>th</code> will show the user the direction of sort. This example uses a modified version of the kylefox's <a href="https://github.com/kylefox/jquery-tablesort">tablesort plugin</a> to provide the proper class names.
  770. </div>
  771. <table class="ui sortable table">
  772. <thead>
  773. <tr>
  774. <th>Name</th>
  775. <th>Status</th>
  776. <th>Notes</th>
  777. </tr>
  778. </thead>
  779. <tbody>
  780. <tr>
  781. <td>John</td>
  782. <td>No Action</td>
  783. <td>None</td>
  784. </tr>
  785. <tr>
  786. <td>Jamie</td>
  787. <td class="positive">Approved</td>
  788. <td class="warning">Requires call</td>
  789. </tr>
  790. <tr>
  791. <td>Jill</td>
  792. <td class="negative">Denied</td>
  793. <td>None</td>
  794. </tr>
  795. </tbody>
  796. <tfoot>
  797. <th>3 People</th>
  798. <th>2 Approved</th>
  799. <th></th>
  800. </tfoot>
  801. </table>
  802. </div>
  803. <div class="example">
  804. <h4 class="ui header">Full-Width Header / Footer </h4>
  805. <p>A definition table can have a full width header or footer, filling in the gap left by the first column</p>
  806. <table class="ui compact celled definition table">
  807. <thead class="full-width">
  808. <tr>
  809. <th></th>
  810. <th>Name</th>
  811. <th>Registration Date</th>
  812. <th>E-mail address</th>
  813. <th>Premium Plan</th>
  814. </tr>
  815. </thead>
  816. <tbody>
  817. <tr>
  818. <td class="collapsing">
  819. <div class="ui fitted slider checkbox">
  820. <input type="checkbox"> <label></label>
  821. </div>
  822. </td>
  823. <td>John Lilki</td>
  824. <td>September 14, 2013</td>
  825. <td>jhlilk22@yahoo.com</td>
  826. <td>No</td>
  827. </tr>
  828. <tr>
  829. <td class="collapsing">
  830. <div class="ui fitted slider checkbox">
  831. <input type="checkbox"> <label></label>
  832. </div>
  833. </td>
  834. <td>Jamie Harington</td>
  835. <td>January 11, 2014</td>
  836. <td>jamieharingonton@yahoo.com</td>
  837. <td>Yes</td>
  838. </tr>
  839. <tr>
  840. <td class="collapsing">
  841. <div class="ui fitted slider checkbox">
  842. <input type="checkbox"> <label></label>
  843. </div>
  844. </td>
  845. <td>Jill Lewis</td>
  846. <td>May 11, 2014</td>
  847. <td>jilsewris22@yahoo.com</td>
  848. <td>Yes</td>
  849. </tr>
  850. </tbody>
  851. <tfoot class="full-width">
  852. <tr>
  853. <th></th>
  854. <th colspan="4">
  855. <div class="ui right floated small primary labeled icon button">
  856. <i class="user icon"></i> Add User
  857. </div>
  858. <div class="ui small button">
  859. Approve
  860. </div>
  861. <div class="ui small disabled button">
  862. Approve All
  863. </div>
  864. </th>
  865. </tr>
  866. </tfoot>
  867. </table>
  868. </div>
  869. <div class="example">
  870. <h4 class="ui header">Padded</h4>
  871. <p>A table may sometimes need to be more padded for legibility</p>
  872. <table class="ui padded table">
  873. <thead>
  874. <tr>
  875. <th>Name</th>
  876. <th>Status</th>
  877. <th>Notes</th>
  878. </tr>
  879. </thead>
  880. <tbody>
  881. <tr>
  882. <td>John</td>
  883. <td>Approved</td>
  884. <td>He is a very nice guy and I enjoyed talking to him on the telephone. I hope we get to talk again.</td>
  885. </tr>
  886. <tr>
  887. <td>Jamie</td>
  888. <td>Approved</td>
  889. <td>Jamie was not interested in purchasing our product.</td>
  890. </tr>
  891. </tbody>
  892. </table>
  893. </div>
  894. <div class="another example">
  895. <table class="ui very padded table">
  896. <thead>
  897. <tr>
  898. <th>Name</th>
  899. <th>Status</th>
  900. <th>Notes</th>
  901. </tr>
  902. </thead>
  903. <tbody>
  904. <tr>
  905. <td>John</td>
  906. <td>Approved</td>
  907. <td>He is a very nice guy and I enjoyed talking to him on the telephone. I hope we get to talk again.</td>
  908. </tr>
  909. <tr>
  910. <td>Jamie</td>
  911. <td>Approved</td>
  912. <td>Jamie was not interested in purchasing our product.</td>
  913. </tr>
  914. </tbody>
  915. </table>
  916. </div>
  917. <div class="example">
  918. <h4 class="ui header">Compact</h4>
  919. <p>A table may sometimes need to be more compact to make more rows visible at a time</p>
  920. <table class="ui compact table">
  921. <thead>
  922. <tr>
  923. <th>Name</th>
  924. <th>Status</th>
  925. <th>Notes</th>
  926. </tr>
  927. </thead>
  928. <tbody>
  929. <tr>
  930. <td>John</td>
  931. <td>Approved</td>
  932. <td>None</td>
  933. </tr>
  934. <tr>
  935. <td>Jamie</td>
  936. <td>Approved</td>
  937. <td>Requires call</td>
  938. </tr>
  939. <tr>
  940. <td>John</td>
  941. <td>Approved</td>
  942. <td>None</td>
  943. </tr>
  944. <tr>
  945. <td>Jamie</td>
  946. <td>Approved</td>
  947. <td>Requires call</td>
  948. </tr>
  949. <tr>
  950. <td>John</td>
  951. <td>Approved</td>
  952. <td>None</td>
  953. </tr>
  954. <tr>
  955. <td>Jamie</td>
  956. <td>Approved</td>
  957. <td>Requires call</td>
  958. </tr>
  959. <tr>
  960. <td>John</td>
  961. <td>Approved</td>
  962. <td>None</td>
  963. </tr>
  964. <tr>
  965. <td>Jamie</td>
  966. <td>Approved</td>
  967. <td>Requires call</td>
  968. </tr>
  969. </tbody>
  970. </table>
  971. </div>
  972. <div class="another example">
  973. <table class="ui very compact table">
  974. <thead>
  975. <th>Name</th>
  976. <th>Status</th>
  977. <th>Another Status</th>
  978. <th>Notes</th>
  979. </thead>
  980. <tbody>
  981. <tr>
  982. <td>John</td>
  983. <td>Approved</td>
  984. <td>Approved</td>
  985. <td>None</td>
  986. </tr>
  987. <tr>
  988. <td>Jamie</td>
  989. <td>Approved</td>
  990. <td>Approved</td>
  991. <td>Requires call</td>
  992. </tr>
  993. <tr>
  994. <td>John</td>
  995. <td>Approved</td>
  996. <td>None</td>
  997. </tr>
  998. <tr>
  999. <td>Jamie</td>
  1000. <td>Approved</td>
  1001. <td>Approved</td>
  1002. <td>Requires call</td>
  1003. </tr>
  1004. <tr>
  1005. <td>John</td>
  1006. <td>Approved</td>
  1007. <td>Approved</td>
  1008. <td>None</td>
  1009. </tr>
  1010. <tr>
  1011. <td>Jamie</td>
  1012. <td>Approved</td>
  1013. <td>Approved</td>
  1014. <td>Requires call</td>
  1015. </tr>
  1016. <tr>
  1017. <td>John</td>
  1018. <td>Approved</td>
  1019. <td>Approved</td>
  1020. <td>None</td>
  1021. </tr>
  1022. <tr>
  1023. <td>Jamie</td>
  1024. <td>Approved</td>
  1025. <td>Approved</td>
  1026. <td>Requires call</td>
  1027. </tr>
  1028. </tbody>
  1029. </table>
  1030. </div>
  1031. <div class="example">
  1032. <h4 class="ui header">Size</h4>
  1033. <p>A table can also be small or large</p>
  1034. <table class="ui small table">
  1035. <thead>
  1036. <tr>
  1037. <th>Name</th>
  1038. <th>Status</th>
  1039. <th>Notes</th>
  1040. </tr>
  1041. </thead>
  1042. <tbody>
  1043. <tr>
  1044. <td>John</td>
  1045. <td>Approved</td>
  1046. <td>None</td>
  1047. </tr>
  1048. <tr>
  1049. <td>Jamie</td>
  1050. <td>Approved</td>
  1051. <td>Requires call</td>
  1052. </tr>
  1053. <tr>
  1054. <td>Jill</td>
  1055. <td>Denied</td>
  1056. <td>None</td>
  1057. </tr>
  1058. </tbody>
  1059. <tfoot>
  1060. <th>3 People</th>
  1061. <th>2 Approved</th>
  1062. <th></th>
  1063. </tfoot>
  1064. </table>
  1065. </div>
  1066. <div class="another example">
  1067. <table class="ui large table">
  1068. <thead>
  1069. <tr>
  1070. <th>Name</th>
  1071. <th>Status</th>
  1072. <th>Notes</th>
  1073. </tr>
  1074. </thead>
  1075. <tbody>
  1076. <tr>
  1077. <td>John</td>
  1078. <td>Approved</td>
  1079. <td>None</td>
  1080. </tr>
  1081. <tr>
  1082. <td>Jamie</td>
  1083. <td>Approved</td>
  1084. <td>Requires call</td>
  1085. </tr>
  1086. <tr>
  1087. <td>Jill</td>
  1088. <td>Denied</td>
  1089. <td>None</td>
  1090. </tr>
  1091. </tbody>
  1092. <tfoot>
  1093. <th>3 People</th>
  1094. <th>2 Approved</th>
  1095. <th></th>
  1096. </tfoot>
  1097. </table>
  1098. </div>
  1099. </div>