New module 'Views'

This commit is contained in:
Manuel Cillero 2017-07-27 00:23:00 +02:00
parent 31c0889471
commit 740f7d7f30
353 changed files with 44217 additions and 0 deletions

View file

@ -0,0 +1,20 @@
The <strong>grid</strong> style will display each row of your view within a grid. You may customize the number of columns, though it defaults to 4. A grid looks like this:
<table width="100%">
<tr><td>row 1</td><td>row 2</td><td>row 3</td><td>row 4</td></tr>
<tr><td>row 5</td><td>row 6</td><td>row 7</td><td>row 8</td></tr>
<tr><td>row 9</td><td>row 10</td><td>row 11</td><td>row 12</td></tr>
<tr><td>row 13</td><td>row 14</td><td>row 15</td><td>row 16</td></tr>
</table>
The above uses the 'horizontal' alignment, where rows are added into the grid from left to right.
With a vertical alignment, rows will be placed from top to bottom, like this:
<table width="100%">
<tr><td>row 1</td><td>row 5</td><td>row 9</td><td>row 13</td></tr>
<tr><td>row 2</td><td>row 6</td><td>row 10</td><td>row 14</td></tr>
<tr><td>row 3</td><td>row 7</td><td>row 11</td><td>row 15</td></tr>
<tr><td>row 4</td><td>row 8</td><td>row 12</td><td>row 16</td></tr>
</table>
This style uses a <a href="topic:views/style-row">row style</a> to determine what each row will look like.