/
index.php
57 lines (49 loc) · 2.05 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
<!DOCTYPE html>
<head>
<title>TopDesk exporter</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link type="text/css" href="/static/css/bulma.min.css" rel="stylesheet" />
<style type="text/css">
.divider {
height: 40px;
}
</style>
</head>
<body class="has-background-info">
<section class="hero is-info is-large has-text-centered">
<div class="hero-body">
<div class="container">
<h1 class="title">
TopDesk Exporter
</h1>
<h2 class="subtitle">
Just hit the button and sit back.
</h2>
</div>
<div class="divider"> </div>
<div class="container">
<button id="exportButton" class="button is-primary">Start export</button>
</div>
<div id="statusDivider" class="is-hidden divider"> </div>
<div class="is-hidden container" id="statusContainer">
<pre id="statusText">Fetching ticket list, this may take a while..</pre>
<br />
<progress id="statusProgress" class="progress is-small is-primary" max="100">15%</progress>
</div>
<div class="divider"> </div>
<div class="container">
<p>Make sure you have read the README.md file</p>
</div>
</div>
</section>
<footer class="footer has-background-info">
<div class="content has-text-centered">
<p>
<strong>Topdesk exporter</strong> by <a href="https://jorinvermeulen.com">Jorin Vermeulen</a>
</p>
</div>
</footer>
<script type="text/javascript" src="/static/js/jquery.js"></script>
<script type="text/javascript" src="/static/js/script.js"></script>
</body>
</html>