aboutsummaryrefslogtreecommitdiff
path: root/htmx/static/pico-1.5.11/docs/src/tables.html
diff options
context:
space:
mode:
authorMitchell Riedstra <mitch@riedstra.dev>2024-01-05 23:18:49 -0500
committerMitchell Riedstra <mitch@riedstra.dev>2024-01-05 23:18:49 -0500
commitbd5a00c61b355c857b5c99323592ca432dea5d0a (patch)
tree7e8ac7730527c1ad71e3fdac85840948fd23f45f /htmx/static/pico-1.5.11/docs/src/tables.html
parentc71b37eb23d4c8af7ab983de34c6da5be9363f3a (diff)
downloadpaste-bd5a00c61b355c857b5c99323592ca432dea5d0a.tar.gz
paste-bd5a00c61b355c857b5c99323592ca432dea5d0a.tar.xz
wip
Diffstat (limited to 'htmx/static/pico-1.5.11/docs/src/tables.html')
-rw-r--r--htmx/static/pico-1.5.11/docs/src/tables.html177
1 files changed, 177 insertions, 0 deletions
diff --git a/htmx/static/pico-1.5.11/docs/src/tables.html b/htmx/static/pico-1.5.11/docs/src/tables.html
new file mode 100644
index 0000000..d097f00
--- /dev/null
+++ b/htmx/static/pico-1.5.11/docs/src/tables.html
@@ -0,0 +1,177 @@
+<!doctype html>
+<html lang="en">
+ <head>
+ ${require('./_head.html')
+ title=`Tables`
+ description=`Default styles for tables without .classes`
+ canonical=`tables.html`
+ }
+ </head>
+
+ <body>
+ ${require('./_nav.html')}
+
+ <main class="container" id="docs">
+ ${require('./_sidebar.html') active=`tables-link`}
+
+ <div role="document">
+ <section id="tables">
+ <hgroup>
+ <h1>Tables</h1>
+ <h2>Default styles for tables without <code>.classes</code></h2>
+ </hgroup>
+ <figure>
+ <table>
+ <thead>
+ <tr>
+ <th scope="col">#</th>
+ <th scope="col">Heading</th>
+ <th scope="col">Heading</th>
+ <th scope="col">Heading</th>
+ <th scope="col">Heading</th>
+ <th scope="col">Heading</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <th scope="row">1</th>
+ <td>Cell</td>
+ <td>Cell</td>
+ <td>Cell</td>
+ <td>Cell</td>
+ <td>Cell</td>
+ </tr>
+ <tr>
+ <th scope="row">2</th>
+ <td>Cell</td>
+ <td>Cell</td>
+ <td>Cell</td>
+ <td>Cell</td>
+ <td>Cell</td>
+ </tr>
+ <tr>
+ <th scope="row">3</th>
+ <td>Cell</td>
+ <td>Cell</td>
+ <td>Cell</td>
+ <td>Cell</td>
+ <td>Cell</td>
+ </tr>
+ </tbody>
+ <tfoot>
+ <tr>
+ <th scope="row">#</th>
+ <td>Total</td>
+ <td>Total</td>
+ <td>Total</td>
+ <td>Total</td>
+ <td>Total</td>
+ </tr>
+ </tfoot>
+ </table>
+ </figure>
+
+<pre><code>&lt;<b>table</b>&gt;
+ &lt;<b>thead</b>&gt;
+ &lt;<b>tr</b>&gt;
+ &lt;<b>th</b> <i>scope</i>=<u>"col"</u>&gt;#&lt;/<b>th</b>&gt;
+ &lt;<b>th</b> <i>scope</i>=<u>"col"</u>&gt;Heading&lt;/<b>th</b>&gt;
+ &lt;<b>th</b> <i>scope</i>=<u>"col"</u>&gt;Heading&lt;/<b>th</b>&gt;
+ &lt;<b>th</b> <i>scope</i>=<u>"col"</u>&gt;Heading&lt;/<b>th</b>&gt;
+ &lt;<b>th</b> <i>scope</i>=<u>"col"</u>&gt;Heading&lt;/<b>th</b>&gt;
+ &lt;<b>th</b> <i>scope</i>=<u>"col"</u>&gt;Heading&lt;/<b>th</b>&gt;
+ &lt;/<b>tr</b>&gt;
+ &lt;/<b>thead</b>&gt;
+ &lt;<b>tbody</b>&gt;
+ &lt;<b>tr</b>&gt;
+ &lt;<b>th</b> <i>scope</i>=<u>"row"</u>>1&lt;/<b>th</b>&gt;
+ &lt;<b>td</b>>Cell&lt;/<b>td</b>&gt;
+ &lt;<b>td</b>>Cell&lt;/<b>td</b>&gt;
+ &lt;<b>td</b>>Cell&lt;/<b>td</b>&gt;
+ &lt;<b>td</b>>Cell&lt;/<b>td</b>&gt;
+ &lt;<b>td</b>>Cell&lt;/<b>td</b>&gt;
+ &lt;/<b>tr</b>&gt;
+ &lt;<b>tr</b>&gt;
+ &lt;<b>th</b> <i>scope</i>=<u>"row"</u>>1&lt;/<b>th</b>&gt;
+ &lt;<b>td</b>>Cell&lt;/<b>td</b>&gt;
+ &lt;<b>td</b>>Cell&lt;/<b>td</b>&gt;
+ &lt;<b>td</b>>Cell&lt;/<b>td</b>&gt;
+ &lt;<b>td</b>>Cell&lt;/<b>td</b>&gt;
+ &lt;<b>td</b>>Cell&lt;/<b>td</b>&gt;
+ &lt;/<b>tr</b>&gt;
+ &lt;<b>tr</b>&gt;
+ &lt;<b>th</b> <i>scope</i>=<u>"row"</u>>1&lt;/<b>th</b>&gt;
+ &lt;<b>td</b>>Cell&lt;/<b>td</b>&gt;
+ &lt;<b>td</b>>Cell&lt;/<b>td</b>&gt;
+ &lt;<b>td</b>>Cell&lt;/<b>td</b>&gt;
+ &lt;<b>td</b>>Cell&lt;/<b>td</b>&gt;
+ &lt;<b>td</b>>Cell&lt;/<b>td</b>&gt;
+ &lt;/<b>tr</b>&gt;
+ &lt;/<b>tbody</b>&gt;
+ &lt;<b>tfoot</b>&gt;
+ &lt;<b>tr</b>&gt;
+ &lt;<b>th</b> <i>scope</i>=<u>"col"</u>&gt;#&lt;/<b>th</b>&gt;
+ &lt;<b>td</b> <i>scope</i>=<u>"col"</u>&gt;Total&lt;/<b>td</b>&gt;
+ &lt;<b>td</b> <i>scope</i>=<u>"col"</u>&gt;Total&lt;/<b>td</b>&gt;
+ &lt;<b>td</b> <i>scope</i>=<u>"col"</u>&gt;Total&lt;/<b>td</b>&gt;
+ &lt;<b>td</b> <i>scope</i>=<u>"col"</u>&gt;Total&lt;/<b>td</b>&gt;
+ &lt;<b>td</b> <i>scope</i>=<u>"col"</u>&gt;Total&lt;/<b>td</b>&gt;
+ &lt;/<b>tr</b>&gt;
+ &lt;/<b>tfoot</b>&gt;
+&lt;/<b>table</b>&gt;</code></pre>
+
+ <p><code><i>role</i>=<u>"grid"</u></code> enable striped rows.</p>
+ <figure>
+ <table role="grid">
+ <thead>
+ <tr>
+ <th scope="col">#</th>
+ <th scope="col">Heading</th>
+ <th scope="col">Heading</th>
+ <th scope="col">Heading</th>
+ <th scope="col">Heading</th>
+ <th scope="col">Heading</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <th scope="row">1</th>
+ <td>Cell</td>
+ <td>Cell</td>
+ <td>Cell</td>
+ <td>Cell</td>
+ <td>Cell</td>
+ </tr>
+ <tr>
+ <th scope="row">2</th>
+ <td>Cell</td>
+ <td>Cell</td>
+ <td>Cell</td>
+ <td>Cell</td>
+ <td>Cell</td>
+ </tr>
+ <tr>
+ <th scope="row">3</th>
+ <td>Cell</td>
+ <td>Cell</td>
+ <td>Cell</td>
+ <td>Cell</td>
+ <td>Cell</td>
+ </tr>
+ </tbody>
+ </table>
+ </figure>
+
+<pre><code>&lt;<b>table</b> <i>role</i>=<u>"grid"</u>&gt;
+ <em>…</em>
+&lt;/<b>table</b>&gt;</code></pre>
+
+ </section>
+
+ ${require('./_footer.html')}
+
+ </div>
+ </main>
+ <script src="js/commons.min.js"></script>
+ </body>
+</html>