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.

36 lines
1.2 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>
3 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>
2 years ago
<div id="base-url" class="hidden">{{base_url}}</div>
3 years ago
<script type="module">
3 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')}}";
2 years ago
const { currentPage, baseUrl } = PadStore()
2 years ago
currentPage.value = document.querySelector('#current-page').textContent
2 years ago
baseUrl.value = document.querySelector('#base-url').textContent
3 years ago
createApp({
components: { PadForm, PadTable },
}).mount("#app");
</script>
</body>
</html>