-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
106 lines (85 loc) · 4.93 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<?php
session_start();
require 'api/include/Functions.inc.php';
$_token = uuidv4();
$_SESSION['_token'] = $_token;
?>
<!DOCTYPE html>
<html lang="fr">
<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">
<meta name="_token" content="<?= $_token ?>">
<title>Kontabl</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/cdn/beer.min.css" integrity="sha256-lYnQDpcf+FFMWvFyNlfYM5Zis7/ENdFurMo6UK58k4E=" crossorigin="anonymous">
<link rel="stylesheet" href="/assets/app.css?v=<?= md5_file('./assets/app.css') ?>">
<link rel="icon" href="/img/favicon.png" type="image/png">
<style>
body {
--primary: #006d3a;
--on-primary: #ffffff;
--primary-container: #99f6b4;
--on-primary-container: #00210c;
--secondary: #4f6353;
--on-secondary: #ffffff;
--secondary-container: #d1e8d3;
--on-secondary-container: #0c1f12;
--tertiary: #3a646f;
--on-tertiary: #ffffff;
--tertiary-container: #beeaf6;
--on-tertiary-container: #001f26;
--error: #ba1b1b;
--error-container: #ffdad4;
--on-error: #ffffff;
--on-error-container: #410001;
--background: #fbfdf7;
--on-background: #1a1c1a;
--surface: #fbfdf7;
--on-surface: #1a1c1a;
--surface-variant: #dde5db;
--on-surface-variant: #414941;
--outline: #707970;
--inverse-on-surface: #f0f1ec;
--inverse-surface: #2e312e;
--inverse-primary: #7dda9a;
--shadow: #000000;
}
</style>
</head>
<body x-data="main" x-init="$router.config({ mode: 'hash' })">
<!-- Header -->
<nav class="left m l hide-print">
<a href="/#/" :class="hash == '#/' ? 'active' : ''"><i>search</i>Rechercher</a>
<a href="/#/merchants" :class="hash == '#/merchants' ? 'active' : ''"><i>person</i>Marchands</a>
<a href="/#/settings" :class="hash == '#/settings' ? 'active' : ''"><i>settings</i>Réglages</a>
</nav>
<nav class="bottom s hide-print">
<a href="/#/" :class="hash == '#/' ? 'active' : ''"><i>search</i>Rechercher</a>
<a href="/#/merchants" :class="hash == '#/merchants' ? 'active' : ''"><i>person</i>Marchands</a>
<a href="/#/settings" :class="hash == '#/settings' ? 'active' : ''"><i>settings</i>Réglages</a>
</nav>
<template x-route="/" template="/pages/search.html"></template>
<template x-route="/login" template="/pages/login.html"></template>
<template x-route="/results" template="/pages/results.html"></template>
<template x-route="/graphs" template="/pages/graphs.html"></template>
<template x-route="/merchant" template="/pages/merchants.html"></template>
<template x-route="/merchants" template="/pages/merchants.html"></template>
<template x-route="/accept-merchant" template="/pages/accept_merchant.html"></template>
<template x-route="/delete-merchant" template="/pages/delete_merchant.html"></template>
<template x-route="/settings" template="/pages/settings.html"></template>
<script src="https://cdn.jsdelivr.net/npm/@shaun/[email protected]/dist/cdn.min.js" integrity="sha256-Wtqusj1IzuvR9tsDJTMPNZJKGOGTq4i3Fg75WMdupS8=" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/cdn/beer.min.js" integrity="sha256-xzR/l8vcDeDcQ5fylcz9H0gl3JE31ho4nddII0gSMYw=" crossorigin="anonymous"></script>
<script src="/assets/app.js?v=<?= md5_file('./assets/app.js') ?>"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/cdn.min.js" integrity="sha256-6GXzaY8Bwd7jFZRPj4zcj0SZnnb37LkkvkthlOdYSwg=" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/highcharts.js" integrity="sha256-TNuOEzzC/7kcr+gSjQriz55hZqrcWq1d1rALfEXj51w=" crossorigin="anonymous"></script>
<script src="https://code.highcharts.com/modules/heatmap.js"></script>
<script src="https://code.highcharts.com/modules/treemap.js"></script>
<script src="https://code.highcharts.com/highcharts-more.js"></script>
<script src="https://code.highcharts.com/modules/solid-gauge.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/modules/exporting.js" integrity="sha256-6cXCKCEbp8pKmzW/yTM+2BO70rhH1MYnqBksQYraMN4=" crossorigin="anonymous"></script>
<script src="https://code.highcharts.com/modules/export-data.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/modules/accessibility.js" integrity="sha256-9aA/NBPNmcqEKb6Wn5HJdKz4wOAYpuryXRbsNx87NtI=" crossorigin="anonymous"></script>
<script src="https://challenges.cloudflare.com/turnstile/v0/api.js?render=explicit&onload=onloadTurnstileCallback" async defer></script>
</body>
</html>