Add views and begin database
This commit is contained in:
parent
348545949a
commit
a15db5fb31
68 changed files with 709 additions and 90 deletions
19
src/app/views/upload/index.zmpl
Normal file
19
src/app/views/upload/index.zmpl
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<html>
|
||||
<body>
|
||||
@partial partials/header
|
||||
<div>
|
||||
<span>Upload Last.fm or Spotify history file here (in json format).</span>
|
||||
</div>
|
||||
<form action="/" enctype="multipart/form-data" method="POST">
|
||||
<label>Filename</label>
|
||||
<input type="text" name="description" />
|
||||
<label>File</label>
|
||||
<input type="file" name="upload" />
|
||||
<input type="submit" value="Submit" />
|
||||
<fieldset>
|
||||
<input type="radio" name="t" label="Last.fm">Last.fm</input>
|
||||
<input type="radio" name="t" label="Spotify">Spotify</input>
|
||||
</fieldset>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue