2020-07-27 18:30:01 +05:30
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<br>
|
2020-08-24 19:01:56 +05:30
|
|
|
<div style="margin-bottom: 1em;" class="ui one column centered grid">
|
2020-07-27 18:30:01 +05:30
|
|
|
<h2 class="ui icon header">
|
|
|
|
<i class="settings icon"></i>
|
|
|
|
<div class="content">
|
|
|
|
Settings
|
|
|
|
<div class="sub header">Manage your settings.</div>
|
|
|
|
</div>
|
|
|
|
</h2>
|
|
|
|
</div>
|
2020-08-24 19:01:56 +05:30
|
|
|
|
|
|
|
|
|
|
|
<div class="ui one column centered grid" style="margin-bottom: 1.4em;">
|
|
|
|
<div class="ui icon message" style=" width: 55%;">
|
|
|
|
<i class="info circle icon"></i>
|
|
|
|
<div class="content">
|
|
|
|
<div class="header">
|
|
|
|
Imports can take up to 2 minutes.
|
|
|
|
</div>
|
2020-09-05 03:25:56 +05:30
|
|
|
<p>But you can still use Yotter.</p>
|
2020-08-24 19:01:56 +05:30
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-07-27 18:30:01 +05:30
|
|
|
|
|
|
|
<div class="ui one column centered grid">
|
|
|
|
<div class="ui relaxed divided list">
|
|
|
|
<div class="item">
|
|
|
|
<i class="large download middle aligned icon"></i>
|
|
|
|
<div class="content">
|
|
|
|
<a href="{{ url_for('export') }}" class="header">Export Data</a>
|
|
|
|
<div class="description">Export data into JSON file</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-08-24 16:04:17 +05:30
|
|
|
<div class="item">
|
|
|
|
<i class="large upload middle aligned icon"></i>
|
|
|
|
<div class="content">
|
|
|
|
<form action = "{{ url_for('importdata') }}" method = "POST" enctype = "multipart/form-data">
|
|
|
|
<input type = "file" name = "file"/>
|
|
|
|
<input type = "submit"/>
|
2020-09-04 18:12:35 +05:30
|
|
|
<br>
|
|
|
|
<label class="radio-inline">
|
|
|
|
<input type="radio" name="import_format" id="yotter" value="yotter" checked> Yotter
|
|
|
|
</label>
|
|
|
|
<label class="radio-inline">
|
|
|
|
<input type="radio" name="import_format" id="newpipe" value="newpipe"> NewPipe
|
|
|
|
</label>
|
2020-09-04 18:27:45 +05:30
|
|
|
<label class="radio-inline">
|
|
|
|
<input type="radio" name="import_format" id="youtube" value="youtube"> Youtube
|
|
|
|
</label>
|
2020-09-04 18:35:32 +05:30
|
|
|
<label class="radio-inline">
|
|
|
|
<input type="radio" name="import_format" id="freetube" value="freetube"> FreeTube
|
|
|
|
</label>
|
2020-09-04 18:12:35 +05:30
|
|
|
</form>
|
2020-09-04 18:27:45 +05:30
|
|
|
<div class="description">Import subscription data.</div>
|
2020-08-24 16:04:17 +05:30
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2020-07-27 18:30:01 +05:30
|
|
|
<div class="item">
|
|
|
|
<i class="large moon middle aligned icon"></i>
|
|
|
|
<div class="content">
|
|
|
|
<div class="ui slider checkbox">
|
|
|
|
<input type="checkbox" name="newsletter">
|
|
|
|
<label>Dark mode</label>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="item">
|
|
|
|
<i class="large weight middle aligned icon"></i>
|
|
|
|
<div class="content">
|
|
|
|
<div class="ui slider checkbox">
|
|
|
|
<input type="checkbox" name="newsletter">
|
|
|
|
<label>Disable images</label>
|
|
|
|
<div class="description">Show links instead</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|