|
7 | 7 | window.dataLayer = window.dataLayer || [];
|
8 | 8 | function gtag(){dataLayer.push(arguments);}
|
9 | 9 | gtag('js', new Date());
|
10 |
| - |
11 | 10 | gtag('config', 'UA-58453303-6');
|
12 | 11 | </script>
|
13 |
| - |
14 |
| - <base href="{{ site.baseurl }}/"></base> |
| 12 | + <base href="{{ site.baseurl }}"></base> |
15 | 13 | <meta charset="utf-8">
|
16 | 14 | <meta http-equiv="X-UA-Compatible" content="IE=edge">
|
17 | 15 | <meta name="viewport" content="width=device-width, initial-scale=1">
|
18 | 16 | <title>JavaScript Powered Forms and Form.io SDK</title>
|
19 |
| - <link href="{{ site.baseurl }}/app/syntax.css" rel="stylesheet"> |
20 |
| - <link href="{{ site.baseurl }}/app/main.css" rel="stylesheet"> |
21 |
| - <link href="{{ site.baseurl }}/app/fontawesome/css/font-awesome.min.css" rel="stylesheet"> |
| 17 | + <link rel="apple-touch-icon" sizes="180x180" href="{{ site.baseurl }}app/favicon/apple-touch-icon.png"> |
| 18 | + <link rel="icon" type="image/png" sizes="32x32" href="{{ site.baseurl }}app/favicon/favicon-32x32.png"> |
| 19 | + <link rel="icon" type="image/png" sizes="16x16" href="{{ site.baseurl }}app/favicon/favicon-16x16.png"> |
| 20 | + <link rel="manifest" href="{{ site.baseurl }}app/favicon/site.webmanifest"> |
| 21 | + <link href="{{ site.baseurl }}app/syntax.css" rel="stylesheet"> |
| 22 | + <link href="{{ site.baseurl }}app/main.css" rel="stylesheet"> |
| 23 | + <link href="{{ site.baseurl }}app/bootstrap/css/bootstrap.min.css" rel="stylesheet"> |
| 24 | + <link href="{{ site.baseurl }}app/bootstrap-icons/font/bootstrap-icons.css" rel="stylesheet"> |
22 | 25 | {% if page.template %}
|
23 |
| - <link href="https://bootswatch.com/4/{{ page.template }}/bootstrap.min.css" rel="stylesheet"> |
| 26 | + <link href="{{ site.baseurl }}app/bootswatch/dist/{{ page.template }}/bootstrap.min.css" rel="stylesheet"> |
24 | 27 | {% endif %}
|
25 | 28 | {% if page.template == nil %}
|
26 |
| - <link href="https://bootswatch.com/4/cosmo/bootstrap.min.css" rel="stylesheet"> |
| 29 | + <link href="{{ site.baseurl }}app/bootswatch/dist/spacelab/bootstrap.min.css" rel="stylesheet"> |
27 | 30 | {% endif %}
|
28 | 31 | {% if page.noFormio == nil %}
|
29 |
| - <link href="{{ site.baseurl }}/dist/formio.full.min.css" rel="stylesheet"> |
| 32 | + <link href="{{ site.baseurl }}dist/formio.full.min.css" rel="stylesheet"> |
30 | 33 | {% endif %}
|
31 | 34 | <script src="https://cdn.form.io/ace/ace.js"></script>
|
32 |
| - <script src="{{ site.baseurl }}/app/jquery/jquery.slim.min.js"></script> |
33 |
| - <script src="{{ site.baseurl }}/app/bootstrap/js/bootstrap.min.js"></script> |
| 35 | + <script src="{{ site.baseurl }}app/bootstrap/js/bootstrap.min.js"></script> |
34 | 36 | {% if page.noFormio == nil %}
|
35 |
| - <script src="{{ site.baseurl }}/dist/formio.full.js"></script> |
| 37 | + <script src="{{ site.baseurl }}dist/formio.full.js"></script> |
36 | 38 | {% endif %}
|
37 | 39 | {% if page.contrib %}
|
38 |
| - <script src="{{ site.baseurl }}/dist/formio.contrib.min.js"></script> |
| 40 | + <script src="{{ site.baseurl }}dist/formio.contrib.min.js"></script> |
39 | 41 | {% endif %}
|
40 |
| - <script type="text/javascript"> |
41 |
| - window.onload = function() { |
42 |
| - if (Formio) { |
43 |
| - Formio.icons = 'fontawesome'; |
44 |
| - document.getElementById('renderer-version').innerHTML = Formio.version; |
45 |
| - } |
46 |
| - }; |
47 |
| - </script> |
48 | 42 | </head>
|
49 | 43 | <body>
|
50 | 44 | <a href="https://github.com/formio/formio.js"><img style="position: absolute; top: 0; right: 0; border: 0;z-index:3000;" src="https://camo.githubusercontent.com/e7bbb0521b397edbd5fe43e7f760759336b5e05f/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f677265656e5f3030373230302e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_green_007200.png"></a>
|
51 |
| -<nav class="navbar navbar-expand-lg navbar-light bg-light mb-4"> |
| 45 | +<nav class="navbar navbar-expand-lg navbar-light bg-light mb-4 p-0"> |
52 | 46 | <div class="container">
|
53 |
| - <a class="navbar-brand" href="#"> |
54 |
| - <img height="25px;" style="display: inline;" alt="Form.io" src="https://help.form.io/assets/formio-logo.png"> | JavaScript SDK Library |
| 47 | + <a class="navbar-brand p-0" href="#"> |
| 48 | + <svg width="150px" id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 324 115.2"><defs><style>.cls-1{fill:#373a36;}.cls-2{fill:#69b342;}</style></defs><polygon class="cls-1" points="95.53 37.72 127.07 37.72 127.07 45.67 105.07 45.67 105.07 56.68 125.68 56.68 125.68 64.64 105.07 64.64 105.07 82.62 95.53 82.62 95.53 37.72"/><path class="cls-1" d="M139.14,65.76c0,6.49,2.81,10.34,7.34,10.34s7.15-3.85,7.15-10.28c0-7-2.6-10.39-7.29-10.39-4.35,0-7.2,3.21-7.2,10.33m24-.06c0,10.2-6.14,17.7-16.89,17.7-10.52,0-16.67-7.46-16.67-17.52,0-10.4,6.34-17.75,17.11-17.75,10,0,16.45,7,16.45,17.57"/><path class="cls-1" d="M167,58.06c0-3.35,0-6.33-.07-9.15h9.22c.12.75.24,4.1.24,5.92,1.5-3.85,5.12-6.67,10.89-6.7V57c-6.82-.18-10.89,1.64-10.89,10.88v14.7H167Z"/><path class="cls-1" d="M192.81,57.6c0-2.92,0-5.8-.06-8.69h9c.12.82.31,2.7.36,4a10.6,10.6,0,0,1,9.43-4.8c4.88,0,7.56,2.51,8.76,5.13,2-2.76,4.91-5.13,10.45-5.13,5.92,0,10.76,3.61,10.76,12.38V82.62h-9.17v-21c0-3-1.11-6-4.95-6-4,0-5.56,2.56-5.56,7.73V82.62H212.6V62c0-3.49-.87-6.31-4.88-6.31-3.81,0-5.63,2.33-5.63,8.11V82.62h-9.28Z"/><rect class="cls-1" x="247.55" y="71.18" width="10.09" height="11.44"/><path class="cls-1" d="M263.73,48.91h9.39V82.62h-9.39Zm0-13.83h9.39V43.4h-9.39Z"/><path class="cls-1" d="M289.11,65.76c0,6.49,2.8,10.34,7.33,10.34s7.16-3.85,7.16-10.28c0-7-2.61-10.39-7.29-10.39-4.36,0-7.2,3.21-7.2,10.33m24-.06c0,10.2-6.15,17.7-16.89,17.7-10.53,0-16.67-7.46-16.67-17.52,0-10.4,6.33-17.75,17.11-17.75,10,0,16.45,7,16.45,17.57"/><polygon class="cls-1" points="45.38 65.99 54.91 56.55 46.72 48.42 37.2 57.85 45.38 65.99"/><polygon class="cls-1" points="10.87 57.41 46.43 92.97 54.38 85.01 26.7 57.32 53.92 30.1 46.05 22.23 10.87 57.41"/><polygon class="cls-2" points="59.37 35.48 51.42 43.43 65.73 57.75 51.45 72.03 59.37 80.03 81.63 57.76 81.6 57.73 81.61 57.71 59.37 35.48"/></svg> |
55 | 49 | </a>
|
56 |
| - <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavAltMarkup" aria-controls="navbarNavAltMarkup" aria-expanded="false" aria-label="Toggle navigation"> |
| 50 | + <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-target="#navbarNavAltMarkup" aria-controls="navbarNavAltMarkup" aria-expanded="false" aria-label="Toggle navigation"> |
57 | 51 | <span class="navbar-toggler-icon"></span>
|
58 | 52 | </button>
|
59 | 53 | <div class="collapse navbar-collapse" id="navbarNavAltMarkup">
|
60 |
| - <ul class="navbar-nav nav-fill mr-auto"> |
61 |
| - <li class="nav-item {% if page.section == 'home' %}active bg-white border{% endif %}"><a class="nav-link" href="{{ site.baseurl }}"><i class="fa fa-home"></i></a></li> |
62 |
| - <li class="nav-item {% if page.section == 'builder' %}active bg-white border{% endif %}"><a class="nav-link" href="app/builder.html"><i class="fa fa-th-list"></i> Form Builder</a></li> |
63 |
| - <li class="nav-item {% if page.section == 'sandbox' %}active bg-white border{% endif %}"><a class="nav-link" href="app/sandbox.html"><i class="fa fa-cube"></i> Sandbox</a></li> |
64 |
| - <li class="nav-item {% if page.section == 'examples' %}active bg-white border{% endif %}"><a class="nav-link" href="app/examples"><i class="fa fa-check-square-o"></i> Examples</a></li> |
65 |
| - <li class="nav-item"><a class="nav-link" target="_blank" href="https://github.com/formio/formio.js/wiki"><i class="fa fa-book"></i> Documentation</a></li> |
66 |
| - <li class="nav-item {% if page.section == 'sdk'%}active bg-white border{% endif %}"><a class="nav-link" href="app/sdk"><i class="fa fa-list-alt"></i> SDK</a></li> |
| 54 | + <ul class="navbar-nav nav-fill me-auto"> |
| 55 | + <li class="nav-item {% if page.section == 'home' %}active bg-white border{% endif %}"><a class="text-dark nav-link p-3" href="{{ site.baseurl }}"><i class="bi bi-house-fill"></i></a></li> |
| 56 | + <li class="nav-item {% if page.section == 'builder' %}active bg-white border{% endif %}"><a class="text-dark nav-link p-3" href="app/builder.html"><i class="bi bi-menu-button-wide"></i> Form Builder</a></li> |
| 57 | + <li class="nav-item {% if page.section == 'sandbox' %}active bg-white border{% endif %}"><a class="text-dark nav-link p-3" href="app/sandbox.html"><i class="bi bi-box"></i> Sandbox</a></li> |
| 58 | + <li class="nav-item {% if page.section == 'examples' %}active bg-white border{% endif %}"><a class="text-dark nav-link p-3" href="app/examples"><i class="bi bi-check-square"></i> Examples</a></li> |
| 59 | + <li class="nav-item"><a class="text-dark nav-link p-3" target="_blank" href="https://help.form.io/developers/form-renderer"><i class="bi bi-book"></i> Documentation</a></li> |
| 60 | + <li class="nav-item {% if page.section == 'sdk'%}active bg-white border{% endif %}"><a class="text-dark nav-link p-3" href="app/sdk"><i class="bi bi-window"></i> SDK</a></li> |
67 | 61 | </ul>
|
68 |
| - <ul class="navbar-nav"> |
| 62 | + <ul class="navbar-nav float-end"> |
69 | 63 | <li class="nav-item"><a class="github-button nav-link" href="https://github.com/formio/formio.js" data-size="large" data-show-count="true" aria-label="Star formio/formio.js on GitHub">Star</a></li>
|
70 | 64 | <li class="nav-item"><a class="github-button nav-link" href="https://github.com/formio/formio.js/fork" data-size="large" data-show-count="true" aria-label="Fork formio/formio.js on GitHub">Fork</a></li>
|
71 | 65 | </ul>
|
|
75 | 69 | <div class="{% if page.fluid %}container-fluid{% endif %}{% if page.fluid == nil %}container{% endif %}">
|
76 | 70 | {{ content }}
|
77 | 71 | </div>
|
78 |
| -<hr /> |
79 |
| -<div> |
80 |
| - <h4 class="text-center text-muted">powered by <img src="{{ site.baseurl }}/app/logo.png" class="mr-2" style="height: 1.2em;" /></h4> |
81 |
| - <p class="text-center text-muted mb-0" style="font-size: 0.8em">Copyright © Form.io LLC 2021. All rights reserved</p> |
| 72 | +<div class="container"> |
| 73 | + <footer class="py-3 my-4"> |
| 74 | + <h4 class="align-center text-center text-muted">powered by <svg width="150px" id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 324 115.2"><defs><style>.cls-1{fill:#373a36;}.cls-2{fill:#69b342;}</style></defs><polygon class="cls-1" points="95.53 37.72 127.07 37.72 127.07 45.67 105.07 45.67 105.07 56.68 125.68 56.68 125.68 64.64 105.07 64.64 105.07 82.62 95.53 82.62 95.53 37.72"/><path class="cls-1" d="M139.14,65.76c0,6.49,2.81,10.34,7.34,10.34s7.15-3.85,7.15-10.28c0-7-2.6-10.39-7.29-10.39-4.35,0-7.2,3.21-7.2,10.33m24-.06c0,10.2-6.14,17.7-16.89,17.7-10.52,0-16.67-7.46-16.67-17.52,0-10.4,6.34-17.75,17.11-17.75,10,0,16.45,7,16.45,17.57"/><path class="cls-1" d="M167,58.06c0-3.35,0-6.33-.07-9.15h9.22c.12.75.24,4.1.24,5.92,1.5-3.85,5.12-6.67,10.89-6.7V57c-6.82-.18-10.89,1.64-10.89,10.88v14.7H167Z"/><path class="cls-1" d="M192.81,57.6c0-2.92,0-5.8-.06-8.69h9c.12.82.31,2.7.36,4a10.6,10.6,0,0,1,9.43-4.8c4.88,0,7.56,2.51,8.76,5.13,2-2.76,4.91-5.13,10.45-5.13,5.92,0,10.76,3.61,10.76,12.38V82.62h-9.17v-21c0-3-1.11-6-4.95-6-4,0-5.56,2.56-5.56,7.73V82.62H212.6V62c0-3.49-.87-6.31-4.88-6.31-3.81,0-5.63,2.33-5.63,8.11V82.62h-9.28Z"/><rect class="cls-1" x="247.55" y="71.18" width="10.09" height="11.44"/><path class="cls-1" d="M263.73,48.91h9.39V82.62h-9.39Zm0-13.83h9.39V43.4h-9.39Z"/><path class="cls-1" d="M289.11,65.76c0,6.49,2.8,10.34,7.33,10.34s7.16-3.85,7.16-10.28c0-7-2.61-10.39-7.29-10.39-4.36,0-7.2,3.21-7.2,10.33m24-.06c0,10.2-6.15,17.7-16.89,17.7-10.53,0-16.67-7.46-16.67-17.52,0-10.4,6.33-17.75,17.11-17.75,10,0,16.45,7,16.45,17.57"/><polygon class="cls-1" points="45.38 65.99 54.91 56.55 46.72 48.42 37.2 57.85 45.38 65.99"/><polygon class="cls-1" points="10.87 57.41 46.43 92.97 54.38 85.01 26.7 57.32 53.92 30.1 46.05 22.23 10.87 57.41"/><polygon class="cls-2" points="59.37 35.48 51.42 43.43 65.73 57.75 51.45 72.03 59.37 80.03 81.63 57.76 81.6 57.73 81.61 57.71 59.37 35.48"/></svg></h4> |
| 75 | + <p class="text-center text-muted mb-0" style="font-size: 0.8em">Copyright © Form.io LLC <span id="year"></span>. All rights reserved</p> |
| 76 | + <p class="text-center text-muted mb-0" style="font-size: 0.8em">Renderer v<span id="renderer-version"></span></p> |
| 77 | + <script async defer src="https://buttons.github.io/buttons.js"></script> |
| 78 | + <script type="text/javascript"> |
| 79 | + document.getElementById('year').innerText = (new Date()).getFullYear(); |
| 80 | + document.getElementById('renderer-version').innerHTML = Formio.version; |
| 81 | + </script> |
| 82 | + </footer> |
82 | 83 | </div>
|
83 |
| -<p class="text-center text-muted mb-0" style="font-size: 0.8em">Renderer v<span id="renderer-version"></span></p> |
84 |
| -<script async defer src="https://buttons.github.io/buttons.js"></script> |
85 | 84 | </body>
|
86 | 85 | </html>
|
0 commit comments