From 3cc70db82bb3ff2254758acd0eea94d4200e4aa8 Mon Sep 17 00:00:00 2001 From: Samantaz Fox Date: Thu, 24 Feb 2022 04:38:29 +0100 Subject: [PATCH] user: Add menu to 'data_control.ecr' --- src/invidious/views/user/data_control.ecr | 98 +++++++++++++---------- 1 file changed, 55 insertions(+), 43 deletions(-) diff --git a/src/invidious/views/user/data_control.ecr b/src/invidious/views/user/data_control.ecr index 74ccc06c..e7234467 100644 --- a/src/invidious/views/user/data_control.ecr +++ b/src/invidious/views/user/data_control.ecr @@ -1,58 +1,70 @@ <% content_for "header" do %> <%= translate(locale, "Import and Export Data") %> - Invidious + <% end %> -
-
-
- <%= translate(locale, "Import") %> +
+
+ <%= Invidious::Frontend::UserMenu.make_menu(env, :import_export) %> +
-
- - -
+
+
- + +
+ <%= translate(locale, "Import") %> -
- - -
+
+ + +
-
- - -
+ -
- - -
+
+ + +
-
- -
+
+ + +
- <%= translate(locale, "Export") %> +
+ + +
- +
+ +
- + <%= translate(locale, "Export") %> + + + + + + +
+ + +
+
- -
-