app.js:38150 [Vue warn]: Error compiling template:
Templates should only be responsible for mapping the state to the UI. Avoid placing tags with side-effects in your templates, such as <script>, as they will not be parsed.
40 |
41 | <main class="py-4">
42 | <script type="text/javascript">
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
43 | function loadCSS(filename) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
44 | var file = document.createElement("link");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
45 | file.setAttribute("rel", "stylesheet");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
46 | file.setAttribute("type", "text/css");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
47 | file.setAttribute("href", filename);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
48 |
|
49 | if (typeof file !== "undefined"){
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
50 | document.getElementsByTagName("head")[0].appendChild(file)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
51 | }
| ^^^^^^^^^
52 | }
| ^^^^^
53 | loadCSS("
https://cdn.datatables.net/v/bs4/dt-1.10.18/r-2.2.2/datatables.min.css");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
54 | loadCSS("
https://cdnjs.cloudflare.com/ajax/libs/summernote/0.8.12/summernote-bs4.css");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
55 | loadCSS("
https://use.fontawesome.com/releases/v5.10.1/css/solid.css");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
56 | loadCSS("
https://use.fontawesome.com/releases/v5.10.1/css/fontawesome.css");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
57 | loadCSS("
https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.48.4/codemirror.min.css");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
58 | loadCSS("
https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.48.4/theme/monokai.min.css");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
59 | </script>
| ^^^^^^^^^^^^^^^^^^^^^
60 | <div class="container">
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
61 | <div class="card mb-3">
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
62 | <div class="card-body">
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
63 | <nav>
| ^^^^^^^^^^^^^^^^^^^^^
64 | <ul class="nav nav-pills">
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
65 | <li role="presentation" class="nav-item">
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
66 | <a class="nav-link active" href="
http://127.0.0.1:8000/tickets">Active Tickets
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
67 | <span class="badge badge-pill badge-secondary ">
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
68 | 41 </span>
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
69 | </a>
| ^^^^^^^^^^^^^^^^
70 | </li>
| ^^^^^^^^^^^^^
71 | <li role="presentation" class="nav-item">
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
72 | <a class="nav-link " href="
http://127.0.0.1:8000/tickets/complete">Completed Tickets
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
73 | <span class="badge badge-pill badge-secondary">
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
74 | 0 </span>
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
75 |