-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
63 lines (61 loc) · 1.98 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" href="https://glitch.com/favicon.ico" />
<title>Solid Movie Picker</title>
<link rel="stylesheet" href="/style.css" />
</head>
<body>
<main>
<section data-simply-field="isLoggedIn" data-simply-content="template">
<template data-simply-template="false">
<button data-simply-command="signin">
Sign In
</button>
</template>
<template data-simply-template="true"></template>
</section>
<form data-simply-command="suggestMovie">
<input type="text" name="url" placeholder="url" />
<button>Load Movies</button>
<progress
data-simply-field="progress"
data-simply-transformer="progress"
data-simply-content="fixed"
max="10"
value="0"
></progress>
</form>
<section
data-simply-field="suggestedMovie"
data-simply-content="template"
data-simply-default-template="movie"
data-simply-default-value="nomovie"
>
<template data-simply-template="nomovie"></template>
<template data-simply-template="movie">
<h1 data-simply-field="suggestedMovie.name">title</h1>
</template>
</section>
</main>
<footer class="footer">
<div class="links"></div>
<a
class="btn--remix"
target="_top"
href="https://glitch.com/edit/#!/remix/simply-solid-movies"
>
<img
src="https://cdn.glitch.com/605e2a51-d45f-4d87-a285-9410ad350515%2FLogo_Color.svg?v=1618199565140"
alt=""
/>
Remix on Glitch
</a>
</footer>
<script src="https://unpkg.com/simplyview/dist/simply.everything.js"></script>
<script src="/script.js" type="module"></script>
<script src="https://canary.simplyedit.io/1/simply-edit.js"></script>
</body>
</html>