templates za delo z linki
parent
ce78dc767b
commit
e5739afbe7
|
@ -0,0 +1,5 @@
|
|||
{% extends 'link.html' %}
|
||||
|
||||
{% block link %}
|
||||
<p>Bad link</p>
|
||||
{% endblock %}
|
|
@ -6,10 +6,10 @@
|
|||
<main>
|
||||
<form method="post" enctype="multipart/form-data" action="/import_link/import">
|
||||
<ol>
|
||||
<li> <input placeholder="insert link" type="link" name="import_type"/></li>
|
||||
<li> <button name="import_type" type="submit" value="import_txt">.txt file list of links</button></li>
|
||||
<li> <button name="import_type" type="submit" value="import_twitter_bookmarks">import twitter bookmarks</button></li>
|
||||
<li> <button name="import_type" type="submit" value="import_raindrop_links">import links from raindrop.io</button></li>
|
||||
<li> <input placeholder="insert link" type="link" name="import_link"/></li>
|
||||
<li> <button name="import_txt" type="submit" value="import_txt">.txt file list of links</button></li>
|
||||
<li> <button name="import_twitter" type="submit" value="import_twitter_bookmarks">import twitter bookmarks</button></li>
|
||||
<li> <button name="import_raindrop" type="submit" value="import_raindrop_links">import links from raindrop.io</button></li>
|
||||
</ol>
|
||||
</form>
|
||||
</main>
|
||||
|
|
|
@ -4,8 +4,10 @@
|
|||
|
||||
{% block content %}
|
||||
<main>
|
||||
<form class="dropzone dropzone-form" method="post" enctype="multipart/form-data" action="/upload/uploader">
|
||||
<span id="dropzone-txt" class="dropzone-txt">Drop file here or click to upload.</span>
|
||||
<form class="dropzone dropzone-form" method="post" enctype="multipart/form-data" action="/import_link/import_txt">
|
||||
<span id="dropzone-txt" class="dropzone-txt">
|
||||
Drop .txt file here or click to upload
|
||||
(1 link per line pls). </span>
|
||||
<input class="dropzone-input" type="file" name="file" runat="server" accept=".txt" multiple >
|
||||
</form>
|
||||
</main>
|
||||
|
|
Loading…
Reference in New Issue