-
Notifications
You must be signed in to change notification settings - Fork 13
/
index.html
45 lines (39 loc) · 1.38 KB
/
index.html
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
<!DOCTYPE html>
<html lang="en" class="index">
<head>
<meta charset="UTF-8">
<title>Mavo Tests</title>
<link rel="stylesheet" href="https://get.mavo.io/mavo.css" />
<link rel="stylesheet" href="style.css" />
</head>
<body mv-app="tests" mv-source="https://api.github.com/repos/mavoweb/test/contents" mv-mode="read">
<section>
<div class="mv-bar mv-ui mv-compact mv-tiny"></div>
<h1>Mavo Tests</h1>
<section>
<ul>
<li>
<label>
<input type="checkbox" property="selectAll" mv-action="set(toRun, selectAll)"
indeterminate="[0 < count(toRun) < count(file.name)]"
checked="[count(toRun) = count(file.name)]">
Select/unselect all
</label>
</li>
<li property="file" mv-multiple mv-if="ends(name, '.html') and name != 'index.html'" class="[if(name = selected, 'selected')]">
<input type="checkbox" property="toRun">
<meta property="id" content="[to(name, '.html')]">
<a target="test" property="name" mv-action="set(selected, name)">[id]</a>
<a href="[name]" class="new-tab" title="Open in new Tab" target="_blank">↗️</a>
</li>
</ul>
<button mv-action="Test.runSelected(condense(name where toRun))">Run selected</button>
</section>
</section>
<div id="iframes"></div>
<iframe name="test" src="[first(name)]"></iframe>
<meta property="selected" />
<script src="https://get.mavo.io/mavo.js"></script>
<script src="test.js"></script>
</body>
</html>