From 9c367e7d35cc0b0c48f677268559d789f9e73af5 Mon Sep 17 00:00:00 2001 From: Alex Ling Date: Thu, 4 Jun 2020 05:36:39 +0000 Subject: [PATCH] Format HTML files with html-beautify --- src/views/admin.ecr | 2 +- src/views/download-manager.ecr | 42 +++---- src/views/download.ecr | 130 ++++++++++----------- src/views/index.ecr | 66 +++++------ src/views/layout.ecr | 134 ++++++++++----------- src/views/login.ecr | 69 +++++------ src/views/message.ecr | 2 +- src/views/reader.ecr | 114 +++++++++--------- src/views/title.ecr | 208 ++++++++++++++++----------------- src/views/user-edit.ecr | 20 +--- src/views/user.ecr | 22 ++-- 11 files changed, 404 insertions(+), 405 deletions(-) diff --git a/src/views/admin.ecr b/src/views/admin.ecr index 59c6c7a..9700fe8 100644 --- a/src/views/admin.ecr +++ b/src/views/admin.ecr @@ -15,4 +15,4 @@ <% content_for "script" do %> -<% end %> +<% end %> \ No newline at end of file diff --git a/src/views/download-manager.ecr b/src/views/download-manager.ecr index 0786ec7..e188438 100644 --- a/src/views/download-manager.ecr +++ b/src/views/download-manager.ecr @@ -1,32 +1,32 @@
-
- - - - -
-
- -
+
+ + + + +
+
+ +
- - - - - - - - - - + + + + + + + + + +
ChapterMangaProgressTimeStatusActions
ChapterMangaProgressTimeStatusActions
<% content_for "script" do %> -<% end %> +<% end %> \ No newline at end of file diff --git a/src/views/download.ecr b/src/views/download.ecr index 71f750e..d11c864 100644 --- a/src/views/download.ecr +++ b/src/views/download.ecr @@ -1,83 +1,83 @@

Download from MangaDex

-
- -
-
- - -
+
+ +
+
+ + +
- - - - - - - - - - - + + + + + + + + + + + <% content_for "script" do %> -<% end %> +<% end %> \ No newline at end of file diff --git a/src/views/index.ecr b/src/views/index.ecr index 8072968..51c9b55 100644 --- a/src/views/index.ecr +++ b/src/views/index.ecr @@ -1,43 +1,43 @@

Library

<%= titles.size %> titles found

-
- -
-
-
- -
-
+
+ +
+
+
+ +
+
<%- titles.each_with_index do |t, i| -%>
- -
-
- -
-
- <%- if t.entries.size > 0 -%> -
<%= (percentage[i] * 100).round(1) %>%
- <%- end -%> -

"><%= t.display_name %>

-

<%= t.size %> entries

-
+
+ +
+ <%- if t.entries.size > 0 -%> +
<%= (percentage[i] * 100).round(1) %>%
+ <%- end -%> +

"><%= t.display_name %>

+

<%= t.size %> entries

+
+
+ +
<%- end -%>
@@ -46,4 +46,4 @@ -<% end %> +<% end %> \ No newline at end of file diff --git a/src/views/layout.ecr b/src/views/layout.ecr index 5e5ed23..f0030ba 100644 --- a/src/views/layout.ecr +++ b/src/views/layout.ecr @@ -1,76 +1,78 @@ - - - - Mango - - - - - - - - - - -
-
-
-
- -
-
-
-
-
-
-
-
-
-
- - -
-
-
    -
  • -
  • Logout
  • + + + + Mango + + + + + + + + + + + +
    +
    +
    +
    +
    -
    -
    -
    -
    -
    - <%= content %> +
    +
    +
    +
    +
    +
    +
    + + +
    +
    +
    - - - +
    +
    +
    +
    +
    +
    + <%= content %> +
    +
    + + + - <%= yield_content "script" %> - - + <%= yield_content "script" %> + + + \ No newline at end of file diff --git a/src/views/login.ecr b/src/views/login.ecr index 0d07a79..b4ef4a9 100644 --- a/src/views/login.ecr +++ b/src/views/login.ecr @@ -1,43 +1,46 @@ + - - - Mango - - - - - - + + + Mango + + + + + + + -
    -
    -
    -
    -
    -
    -

    Log In

    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    +
    +
    +
    +
    +
    +
    +

    Log In

    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    - - - +
    + + + - + + \ No newline at end of file diff --git a/src/views/message.ecr b/src/views/message.ecr index 1a5b8d8..7546751 100644 --- a/src/views/message.ecr +++ b/src/views/message.ecr @@ -1 +1 @@ -

    <%= message %>

    +

    <%= message %>

    \ No newline at end of file diff --git a/src/views/reader.ecr b/src/views/reader.ecr index b24b153..f402b39 100644 --- a/src/views/reader.ecr +++ b/src/views/reader.ecr @@ -1,68 +1,70 @@ - - - - Mango - - - - - - - -
    -
    - <%- urls.each_with_index do |url, i| -%> - - <%- end -%> - <%- if next_url -%> - - <%- end -%> -
    - <%- if next_entry_url -%> - - <%- else -%> - + + + + Mango + + + + + + + + +
    +
    + <%- urls.each_with_index do |url, i| -%> + + <%- end -%> + <%- if next_url -%> + <%- end -%>
    + <%- if next_entry_url -%> + + <%- else -%> + + <%- end -%> +
    - + -