You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
1.1 KiB
HTML

3 years ago
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="{{url_for('static', filename='css/style.css')}}" />
3 years ago
<script src="https://unpkg.com/vue@3"></script>
2 years ago
<title>Padliography</title>
3 years ago
</head>
<body>
<div id="app">
<h1 class="title">Padliography <span class="version">2.0</span></h1>
3 years ago
<pad-form></pad-form>
<pad-table></pad-table>
</div>
2 years ago
<div id="current-page" class="hidden">{{page}}</div>
3 years ago
<script type="module">
2 years ago
import PadForm from "{{url_for('static', filename='js/PadForm.js')}}";
import PadTable from "{{url_for('static', filename='js/PadTable.js')}}";
3 years ago
const { createApp } = Vue;
2 years ago
import PadStore from "{{url_for('static', filename='js/PadStore.js')}}";
const { currentPage } = PadStore()
currentPage.value = document.querySelector('#current-page').textContent
3 years ago
createApp({
components: { PadForm, PadTable },
}).mount("#app");
</script>
</body>
</html>