templates/ui-grid.html.twig line 1

Open in your IDE?
  1. {{ include('partials/main.html.twig') }}
  2.     <head>
  3.         
  4.         {{ include('partials/title-meta.html.twig', {title: 'Grid'}) }}
  5.         {{ include('partials/head-css.html.twig') }}
  6.     </head>
  7.     {{ include('partials/body.html.twig') }}
  8.         <!-- Begin page -->
  9.         <div id="layout-wrapper">
  10.             {{ include('partials/menu.html.twig') }}
  11.             <!-- ============================================================== -->
  12.             <!-- Start right Content here -->
  13.             <!-- ============================================================== -->
  14.             <div class="main-content">
  15.                 <div class="page-content">
  16.                     <div class="container-fluid">
  17.                         {{ include('partials/page-title.html.twig', {pagetitle: 'Components', title: 'Grid'}) }}
  18.                         <div class="row">
  19.                             <div class="col-12">
  20.                                 <div class="card">
  21.                                     <div class="card-header">
  22.                                         <h4 class="card-title">Grid Options</h4>
  23.                                         <p class="card-title-desc">See how aspects of the Bootstrap grid
  24.                                             system work across multiple devices with a handy table.</p>
  25.                                     </div><!-- end card header -->
  26.                                     <div class="card-body">
  27.                                         <div class="table-responsive">
  28.                                             <table class="table table-bordered table-striped table-nowrap mb-0">
  29.                                                 <thead>
  30.                                                     <tr>
  31.                                                         <th scope="col"></th>
  32.                                                         <th scope="col" class="text-center">
  33.                                                           xs<br>
  34.                                                           <span class="fw-normal">&lt;576px</span>
  35.                                                         </th>
  36.                                                         <th scope="col" class="text-center">
  37.                                                           sm<br>
  38.                                                           <span class="fw-normal">≥576px</span>
  39.                                                         </th>
  40.                                                         <th scope="col" class="text-center">
  41.                                                           md<br>
  42.                                                           <span class="fw-normal">≥768px</span>
  43.                                                         </th>
  44.                                                         <th scope="col" class="text-center">
  45.                                                           lg<br>
  46.                                                           <span class="fw-normal">≥992px</span>
  47.                                                         </th>
  48.                                                         <th scope="col" class="text-center">
  49.                                                           xl<br>
  50.                                                           <span class="fw-normal">≥1200px</span>
  51.                                                         </th>
  52.                                                         <th scope="col" class="text-center">
  53.                                                           xxl<br>
  54.                                                           <span class="fw-normal">≥1400px</span>
  55.                                                         </th>
  56.                                                       </tr>
  57.                                                 </thead>
  58.                                                 <tbody>
  59.                                                 <tr>
  60.                                                     <th class="text-nowrap" scope="row">Grid behavior</th>
  61.                                                     <td>Horizontal at all times</td>
  62.                                                     <td colspan="5">Collapsed to start, horizontal above breakpoints</td>
  63.                                                 </tr>
  64.                                                 <tr>
  65.                                                     <th class="text-nowrap" scope="row">Max container width</th>
  66.                                                     <td>None (auto)</td>
  67.                                                     <td>540px</td>
  68.                                                     <td>720px</td>
  69.                                                     <td>960px</td>
  70.                                                     <td>1140px</td>
  71.                                                     <td>1320px</td>
  72.                                                 </tr>
  73.                                                 <tr>
  74.                                                     <th class="text-nowrap" scope="row">Class prefix</th>
  75.                                                     <td><code>.col-</code></td>
  76.                                                     <td><code>.col-sm-</code></td>
  77.                                                     <td><code>.col-md-</code></td>
  78.                                                     <td><code>.col-lg-</code></td>
  79.                                                     <td><code>.col-xl-</code></td>
  80.                                                     <td><code>.col-xxl-</code></td>
  81.                                                 </tr>
  82.                                                 <tr>
  83.                                                     <th class="text-nowrap" scope="row"># of columns</th>
  84.                                                     <td colspan="6">12</td>
  85.                                                 </tr>
  86.                                                 <tr>
  87.                                                     <th class="text-nowrap" scope="row">Gutter width</th>
  88.                                                     <td colspan="6">24px (12px on each side of a column)</td>
  89.                                                 </tr>
  90.                                                 <tr>
  91.                                                     <th class="text-nowrap" scope="row">Custom gutters</th>
  92.                                                     <td colspan="6">Yes</td>
  93.                                                 </tr>
  94.                                                 <tr>
  95.                                                     <th class="text-nowrap" scope="row">Nestable</th>
  96.                                                     <td colspan="6">Yes</td>
  97.                                                 </tr>
  98.                                                 <tr>
  99.                                                     <th class="text-nowrap" scope="row">Offsets</th>
  100.                                                     <td colspan="6">Yes</td>
  101.                                                 </tr>
  102.                                                 <tr>
  103.                                                     <th class="text-nowrap" scope="row">Column ordering</th>
  104.                                                     <td colspan="6">Yes</td>
  105.                                                 </tr>
  106.                                                 </tbody>
  107.                                             </table>
  108.                                         </div>
  109.                                     </div><!-- end card body -->
  110.                                 </div><!-- end card -->
  111.                             </div> <!-- end col -->
  112.                         </div> <!-- end row -->
  113.                         <div class="row">
  114.                             <div class="col-12">
  115.                                 <div class="card">
  116.                                     <div class="card-header">
  117.                                         <h4 class="card-title">Grid Example</h4>
  118.                                         <p class="card-title-desc">Use flexbox alignment utilities to vertically and horizontally align columns</p>
  119.                                     </div><!-- end card header -->
  120.                                     <div class="card-body">
  121.                                         <div class="grid-structure">
  122.                                             <div class="row">
  123.                                                 <div class="col-lg-12">
  124.                                                     <div class="grid-container">
  125.                                                         <code>col-lg-12</code>
  126.                                                     </div>
  127.                                                 </div>
  128.                                             </div>
  129.                                             <div class="row">
  130.                                                 <div class="col-lg-11">
  131.                                                     <div class="grid-container">
  132.                                                         <code>col-lg-11</code>
  133.                                                     </div>
  134.                                                 </div>
  135.                                                 <div class="col-lg-1">
  136.                                                     <div class="grid-container">
  137.                                                         <code>col-lg-1</code>
  138.                                                     </div>
  139.                                                 </div>
  140.                                             </div>
  141.                                             <div class="row">
  142.                                                 <div class="col-lg-10">
  143.                                                     <div class="grid-container">
  144.                                                         <code>col-lg-10</code>
  145.                                                     </div>
  146.                                                 </div>
  147.                                                 <div class="col-lg-2">
  148.                                                     <div class="grid-container">
  149.                                                         <code>col-lg-2</code>
  150.                                                     </div>
  151.                                                 </div>
  152.                                             </div>
  153.                                             <div class="row">
  154.                                                 <div class="col-lg-9">
  155.                                                     <div class="grid-container">
  156.                                                         <code>col-lg-9</code>
  157.                                                     </div>
  158.                                                 </div>
  159.                                                 <div class="col-lg-3">
  160.                                                     <div class="grid-container">
  161.                                                         <code>col-lg-3</code>
  162.                                                     </div>
  163.                                                 </div>
  164.                                             </div>
  165.                                             <div class="row">
  166.                                                 <div class="col-lg-8">
  167.                                                     <div class="grid-container">
  168.                                                         <code>col-lg-8</code>
  169.                                                     </div>
  170.                                                 </div>
  171.                                                 <div class="col-lg-4">
  172.                                                     <div class="grid-container">
  173.                                                         <code>col-lg-4</code>
  174.                                                     </div>
  175.                                                 </div>
  176.                                             </div>
  177.                                             <div class="row">
  178.                                                 <div class="col-lg-7">
  179.                                                     <div class="grid-container">
  180.                                                         <code>col-lg-7</code>
  181.                                                     </div>
  182.                                                 </div>
  183.                                                 <div class="col-lg-5">
  184.                                                     <div class="grid-container">
  185.                                                         <code>col-lg-5</code>
  186.                                                     </div>
  187.                                                 </div>
  188.                                             </div>
  189.                                             <div class="row">
  190.                                                 <div class="col-lg-6">
  191.                                                     <div class="grid-container">
  192.                                                         <code>col-lg-6</code>
  193.                                                     </div>
  194.                                                 </div>
  195.                                                 <div class="col-lg-6">
  196.                                                     <div class="grid-container">
  197.                                                         <code>col-lg-6</code>
  198.                                                     </div>
  199.                                                 </div>
  200.                                             </div>
  201.                                             <div class="row">
  202.                                                 <div class="col-lg-5">
  203.                                                     <div class="grid-container">
  204.                                                         <code>col-lg-5</code>
  205.                                                     </div>
  206.                                                 </div>
  207.                                                 <div class="col-lg-7">
  208.                                                     <div class="grid-container">
  209.                                                         <code>col-lg-7</code>
  210.                                                     </div>
  211.                                                 </div>
  212.                                             </div>
  213.                                             <div class="row">
  214.                                                 <div class="col-lg-4">
  215.                                                     <div class="grid-container">
  216.                                                         <code>col-lg-4</code>
  217.                                                     </div>
  218.                                                 </div>
  219.                                                 <div class="col-lg-8">
  220.                                                     <div class="grid-container">
  221.                                                         <code>col-lg-8</code>
  222.                                                     </div>
  223.                                                 </div>
  224.                                             </div>
  225.                                             <div class="row">
  226.                                                 <div class="col-lg-3">
  227.                                                     <div class="grid-container">
  228.                                                         <code>col-lg-3</code>
  229.                                                     </div>
  230.                                                 </div>
  231.                                                 <div class="col-lg-9">
  232.                                                     <div class="grid-container">
  233.                                                         <code>col-lg-9</code>
  234.                                                     </div>
  235.                                                 </div>
  236.                                             </div>
  237.                                             <div class="row">
  238.                                                 <div class="col-lg-2">
  239.                                                     <div class="grid-container">
  240.                                                         <code>col-lg-2</code>
  241.                                                     </div>
  242.                                                 </div>
  243.                                                 <div class="col-lg-10">
  244.                                                     <div class="grid-container">
  245.                                                         <code>col-lg-10</code>
  246.                                                     </div>
  247.                                                 </div>
  248.                                             </div>
  249.                                             <div class="row">
  250.                                                 <div class="col-lg-1">
  251.                                                     <div class="grid-container">
  252.                                                         <code>col-lg-1</code>
  253.                                                     </div>
  254.                                                 </div>
  255.                                                 <div class="col-lg-11">
  256.                                                     <div class="grid-container">
  257.                                                         <code>col-lg-11</code>
  258.                                                     </div>
  259.                                                 </div>
  260.                                             </div>
  261.                                             <div class="row">
  262.                                                 <div class="col-lg-2">
  263.                                                     <div class="grid-container">
  264.                                                         <code>col-lg-2</code>
  265.                                                     </div>
  266.                                                 </div>
  267.                                                 <div class="col-lg-3">
  268.                                                     <div class="grid-container">
  269.                                                         <code>col-lg-3</code>
  270.                                                     </div>
  271.                                                 </div>
  272.                                                 <div class="col-lg-4">
  273.                                                     <div class="grid-container">
  274.                                                         <code>col-lg-4</code>
  275.                                                     </div>
  276.                                                 </div>
  277.                                                 <div class="col-lg-2">
  278.                                                     <div class="grid-container">
  279.                                                         <code>col-lg-2</code>
  280.                                                     </div>
  281.                                                 </div>
  282.                                                 <div class="col-lg-1">
  283.                                                     <div class="grid-container">
  284.                                                         <code>col-lg-1</code>
  285.                                                     </div>
  286.                                                 </div>
  287.                                             </div> <!-- end row -->
  288.                                         </div> <!-- grid-structure -->
  289.                                         
  290.                                     </div> <!-- end card-body-->
  291.                                 </div> <!-- end card-->
  292.                             </div> <!-- end col-->
  293.                         </div>
  294.                         <div class="row">
  295.                             <div class="col-lg-12">
  296.                                 <div class="card">
  297.                                     <div class="card-header">
  298.                                         <h4 class="card-title">Alignment</h4>
  299.                                         <p class="card-title-desc">Use flexbox alignment utilities to vertically and horizontally align columns</p>
  300.                                     </div><!-- end card header -->
  301.                                     <div class="card-body">
  302.                                         <div>
  303.                                             <h5 class="font-size-13 mb-3">Vertical alignment (align-items-start)</h5>
  304.                                             <div class="bg-soft-light p-3 text-center">
  305.                                                 <div class="row align-items-start" style="min-height: 6rem;">
  306.                                                     <div class="col-sm-4">
  307.                                                         <div class="grid-example">
  308.                                                             <code>col-sm-4</code>
  309.                                                         </div>
  310.                                                     </div>
  311.                                                     <div class="col-sm-4">
  312.                                                         <div class="grid-example mt-2 mt-sm-0">
  313.                                                             <code>col-sm-4</code>
  314.                                                         </div>
  315.                                                     </div>
  316.                                                     <div class="col-sm-4">
  317.                                                         <div class="grid-example mt-2 mt-sm-0">
  318.                                                             <code>col-sm-4</code>
  319.                                                         </div>
  320.                                                     </div>
  321.                                                 </div>
  322.                                             </div>
  323.                                         </div>
  324.                                         <div class="mt-4">
  325.                                             <h5 class="font-size-13 mb-2">Align Items Center</h5>
  326.                                             <div class="bg-soft-light p-3 text-center">
  327.                                                 <div class="row align-items-center" style="min-height: 6rem;">
  328.                                                     <div class="col-sm-4">
  329.                                                         <div class="grid-example">
  330.                                                             <code>col-sm-4</code>
  331.                                                         </div>
  332.                                                     </div>
  333.                                                     <div class="col-sm-4">
  334.                                                         <div class="grid-example mt-2 mt-sm-0">
  335.                                                             <code>col-sm-4</code>
  336.                                                         </div>
  337.                                                     </div>
  338.                                                     <div class="col-sm-4">
  339.                                                         <div class="grid-example mt-2 mt-sm-0">
  340.                                                             <code>col-sm-4</code>
  341.                                                         </div>
  342.                                                     </div>
  343.                                                 </div>
  344.                                             </div>
  345.                                         </div>
  346.                                         <div class="mt-4">
  347.                                             <h5 class="font-size-13 mb-2">Align Items End</h5>
  348.                                             <div class="bg-soft-light p-3 text-center">
  349.                                                 <div class="row align-items-end" style="min-height: 6rem;">
  350.                                                     <div class="col-sm-4">
  351.                                                         <div class="grid-example">
  352.                                                             <code>col-sm-4</code>
  353.                                                         </div>
  354.                                                     </div>
  355.                                                     <div class="col-sm-4">
  356.                                                         <div class="grid-example mt-2 mt-sm-0">
  357.                                                             <code>col-sm-4</code>
  358.                                                         </div>
  359.                                                     </div>
  360.                                                     <div class="col-sm-4">
  361.                                                         <div class="grid-example mt-2 mt-sm-0">
  362.                                                             <code>col-sm-4</code>
  363.                                                         </div>
  364.                                                     </div>
  365.                                                 </div>
  366.                                             </div>
  367.                                         </div>
  368.                                         <div class="mt-4">
  369.                                             <h5 class="font-size-13 mb-2">Align Self</h5>
  370.                                             <div class="bg-soft-light p-3 text-center">
  371.                                                 <div class="row" style="min-height: 9rem;">
  372.                                                     <div class="col-4 align-self-start">
  373.                                                         <div class="grid-example">
  374.                                                             <code>align-self-start</code>
  375.                                                         </div>
  376.                                                     </div>
  377.                                                     <div class="col-4 align-self-center">
  378.                                                         <div class="grid-example mt-2 mt-sm-0">
  379.                                                             <code>align-self-center</code>
  380.                                                         </div>
  381.                                                     </div>
  382.                                                     <div class="col-4 align-self-end">
  383.                                                         <div class="grid-example mt-2 mt-sm-0">
  384.                                                             <code>align-self-end</code>
  385.                                                         </div>
  386.                                                     </div>
  387.                                                 </div>
  388.                                             </div>
  389.                                         </div>
  390.                                         <div class="mt-4">  
  391.                                             <h5 class="font-size-13 mb-2">Horizontal Alignment</h5>
  392.                                             <div class="bg-soft-light p-3 text-center">
  393.                                                 <div class="row justify-content-start">
  394.                                                     <div class="col-4">
  395.                                                         <div class="grid-example">
  396.                                                             <code>justify-content-start</code>
  397.                                                         </div>
  398.                                                     </div>
  399.                                                 </div>
  400.                                                 <div class="row justify-content-center">
  401.                                                     <div class="col-4">
  402.                                                         <div class="grid-example mt-2 mt-sm-0">
  403.                                                             <code>justify-content-center</code>
  404.                                                         </div>
  405.                                                     </div>
  406.                                                 </div>
  407.                                                 <div class="row justify-content-end">
  408.                                                     <div class="col-4">
  409.                                                         <div class="grid-example mt-2 mt-sm-0">
  410.                                                             <code>justify-content-end</code>
  411.                                                         </div>
  412.                                                     </div>
  413.                                                 </div>
  414.                                             </div>
  415.                                         </div>
  416.                                     </div>
  417.                                     <!-- end card body -->
  418.                                 </div>
  419.                                 <!-- end card -->
  420.                             </div>
  421.                             <!-- end col -->
  422.                         </div>
  423.                         <!-- end row-->
  424.                         <div class="row">
  425.                             <div class="col-lg-12">
  426.                                 <div class="card">
  427.                                     <div class="card-header">
  428.                                         <h4 class="card-title">Stacks</h4>
  429.                                         <p class="card-title-desc">Shorthand helpers that build on top of our flexbox utilities to make component layout faster and easier than ever.</p>
  430.                                     </div><!-- end card header -->
  431.                                     <div class="card-body">
  432.                                         <div>
  433.                                             <h5 class="font-size-13 mb-3">Vertical Stacks (<code>.vstack</code>)</h5>
  434.                                             <div class="bg-soft-light p-3 text-center">
  435.                                                 <div class="vstack gap-3">
  436.                                                     <div class="grid-example">First item</div>
  437.                                                     <div class="grid-example">Second item</div>
  438.                                                     <div class="grid-example">Third item</div>
  439.                                                 </div>
  440.                                             </div>
  441.                                         </div>
  442.                                         <div class="mt-4">
  443.                                             <h5 class="font-size-13 mb-3">Horizontal Stacks (<code>.hstack</code>)</h5>
  444.                                             <div class="bg-soft-light p-3 text-center">
  445.                                                 <div class="hstack gap-3">
  446.                                                     <div class="grid-example">First item</div>
  447.                                                     <div class="grid-example">Second item</div>
  448.                                                     <div class="grid-example">Third item</div>
  449.                                                 </div>
  450.                                             </div>
  451.                                         </div>
  452.                                         <div class="mt-4">
  453.                                             <h5 class="font-size-13 mb-3">Horizontal Stacks (<code>.hstack</code>) with Vertical Rule (<code>.vr</code>)</h5>
  454.                                             <div class="bg-soft-light p-3 text-center">
  455.                                                 <div class="hstack gap-3">
  456.                                                     <div class="grid-example">First item</div>
  457.                                                     <div class="vr"></div>
  458.                                                     <div class="grid-example">Second item</div>
  459.                                                     <div class="vr"></div>
  460.                                                     <div class="grid-example">Third item</div>
  461.                                                 </div>
  462.                                             </div>
  463.                                         </div>
  464.                                     </div>
  465.                                     <!-- end card body -->
  466.                                 </div>
  467.                                 <!-- end card -->
  468.                                 
  469.                             </div>
  470.                             <!-- end col -->
  471.                         </div><!-- end row-->
  472.                         
  473.                     </div> <!-- container-fluid -->
  474.                 </div>
  475.                 <!-- End Page-content -->
  476.                 
  477.                 {{ include('partials/footer.html.twig') }}
  478.             </div>
  479.             <!-- end main content-->
  480.         </div>
  481.         <!-- END layout-wrapper -->
  482.         {{ include('partials/right-sidebar.html.twig') }}
  483.         {{ include('partials/vendor-scripts.html.twig') }}
  484.         <script src="/js/app.js"></script>
  485.     </body>
  486. </html>