mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-04-11.git
synced 2024-08-15 00:43:26 +00:00
user: Add menu to 'data_control.ecr'
This commit is contained in:
parent
273cee8f9a
commit
3cc70db82b
1 changed files with 55 additions and 43 deletions
|
@ -1,8 +1,16 @@
|
|||
<% content_for "header" do %>
|
||||
<title><%= translate(locale, "Import and Export Data") %> - Invidious</title>
|
||||
<link rel="stylesheet" href="/css/user.css?v=<%= ASSET_COMMIT %>">
|
||||
<% end %>
|
||||
|
||||
<div class="h-box">
|
||||
<div class="h-box pure-g">
|
||||
<div class="pure-u-1 pure-u-md-1-5">
|
||||
<%= Invidious::Frontend::UserMenu.make_menu(env, :import_export) %>
|
||||
</div>
|
||||
|
||||
<div class="pure-u-1 pure-u-md-4-5">
|
||||
<div class="user-tab">
|
||||
|
||||
<form class="pure-form pure-form-aligned" enctype="multipart/form-data" action="/data_control?referer=<%= URI.encode_www_form(referer) %>" method="post">
|
||||
<fieldset>
|
||||
<legend><%= translate(locale, "Import") %></legend>
|
||||
|
@ -55,4 +63,8 @@
|
|||
</div>
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue