-
Notifications
You must be signed in to change notification settings - Fork 1
/
submit.html
135 lines (132 loc) · 4.36 KB
/
submit.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
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
<!DOCTYPE html>
<html lang="en" class="h-100">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="description" content="" />
<title>HatchThink | Tokenize Your IP</title>
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-giJF6kkoqNQ00vy+HMDP7azOuL0xtbfIcaT9wjKHr8RbDVddVHyTfAAsrekwKmP1"
crossorigin="anonymous"
/>
<link href="hatchthink.css" rel="stylesheet" />
</head>
<body class="d-flex h-100 text-center text-white bg-dark">
<div class="cover-container d-flex w-100 h-100 p-3 mx-auto flex-column">
<!-- -->
<header class="mb-auto">
<div>
<h3 class="float-md-start mb-0">HatchThink</h3>
<nav class="nav nav-masthead justify-content-center float-md-end">
<a class="nav-link" href="index.html">Home</a>
<a class="nav-link active" aria-current="page" href="submit.html"
>Submit</a
>
<a class="nav-link" href="collab.html">Collaborate</a>
<a class="nav-link" href="search.html">Search</a>
<a class="nav-link" href="invest.html">Invest</a>
<a class="nav-link" href="#">About</a>
</nav>
</div>
</header>
<!-- -->
<main class="px-3">
<form>
<div class="row">
<h1>Submit Your Idea</h1>
<hr />
<br />
<div class="col">
<input id="dapp-pinata-api-key" placeholder="Pinata API Key" />
<input
id="dapp-pinata-secret-api-key"
placeholder="Pinata Secret API Key"
type="password"
/>
</div>
</div>
<br />
<!-- TODO: Define Form Requirements -->
<!-- TODO: Add a button to add sub-elements -->
<div class="row">
<div class="col">
<input id="dapp-copyright-name" placeholder="Work name..." />
<input
id="dapp-copyright-description"
placeholder="Description..."
/>
</div>
</div>
<br />
<div class="row">
<div class="col">
<input
id="dapp-copyright-image"
placeholder="Image/Video/etc."
type="file"
/>
</div>
<div class="col">
<label>
<input id="dapp-opensource-toggle" type="checkbox" />
<span>Check to Open Source</span>
</label>
</div>
<div class="col">
<button
class="button"
id="dapp-copyright"
href="#"
onclick="dApp.copyrightWork()"
>
Submit Idea
</button>
</div>
</div>
</form>
<br />
<small>
Note: Pinata requests are done locally via your browser.<br />
Your keys are not shared with any party except Pinata.
</small>
<hr />
<br />
<br />
<div class="row">
<div class="col">
<h5>Open Source Material</h5>
<ul id="dapp-opensource" class="collapsible"></ul>
</div>
<div class="col">
<h5>Proprietary Copyrights</h5>
<ul id="dapp-copyrights" class="collapsible"></ul>
</div>
</div>
</main>
<!-- -->
<footer class="mt-auto text-white-50 fs-6">
<p>
<small>
tmplt by
<a href="https://twitter.com/mdo" class="text-white">@mdo</a>
</small>
</p>
</footer>
</div>
<!-- -->
<script
src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"
integrity="sha256-U/cHDMTIHCeMcvehBv1xQ052bPSbJtbuiw4QA9cTKz0="
crossorigin="anonymous"
></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="dapp.js"></script>
<script
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/web3.min.js"
integrity="sha256-ZjUHyLZZWkQPbWfRjTSmGtfcTSOermVT6f/CvJW2RY4="
crossorigin="anonymous"
></script>
</body>
</html>