diff --git a/lib/livebook_web/templates/auth/index.html.eex b/lib/livebook_web/templates/auth/index.html.eex deleted file mode 100644 index 364c5ab1c..000000000 --- a/lib/livebook_web/templates/auth/index.html.eex +++ /dev/null @@ -1,40 +0,0 @@ -
-
- "> - " height="128" width="128" alt="livebook" /> - -
- Authentication required -
- -
- <%= if @auth_mode == :password do %> - Type password to access the Livebook. - <% else %> - Please check out the console for authentication URL - or type the token directly here. - <% end %> -
-
-
- - <%= if @auth_mode == :password do %> -
"> - - <% else %> -
"> - - <% end %> - <%= for error <- @errors || [] do %> - - <% end %> -
- - -
-
-
diff --git a/lib/livebook_web/templates/auth/index.html.heex b/lib/livebook_web/templates/auth/index.html.heex new file mode 100644 index 000000000..669de10f0 --- /dev/null +++ b/lib/livebook_web/templates/auth/index.html.heex @@ -0,0 +1,47 @@ +
+
+ + livebook + +
+ Authentication required +
+ +
+ <%= if @auth_mode == :password do %> + Type password to access the Livebook. + <% else %> + Please check out the console for authentication URL + or type the token directly here. + <% end %> +
+
+
+ +
+ <%= if @auth_mode == :password do %> + + <% else %> + + <% end %> + <%= for error <- @errors || [] do %> + + <% end %> +
+ +
+
+
+
diff --git a/lib/livebook_web/templates/error/404.html.eex b/lib/livebook_web/templates/error/404.html.eex deleted file mode 100644 index eb9e45354..000000000 --- a/lib/livebook_web/templates/error/404.html.eex +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - - " /> - " /> - <%= @status %> - Livebook - "/> - - -
- -
- - diff --git a/lib/livebook_web/templates/error/404.html.heex b/lib/livebook_web/templates/error/404.html.heex new file mode 100644 index 000000000..ddcf2c6d8 --- /dev/null +++ b/lib/livebook_web/templates/error/404.html.heex @@ -0,0 +1,29 @@ + + + + + + + + + <%= @status %> - Livebook + + + +
+
+ + livebook + +
+ No Numbats here! +
+
+
+ + diff --git a/lib/livebook_web/templates/error/500.html.eex b/lib/livebook_web/templates/error/500.html.eex deleted file mode 100644 index 09077c915..000000000 --- a/lib/livebook_web/templates/error/500.html.eex +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - " /> - " /> - <%= @status %> - Livebook - "/> - - -
-
- "> - " height="128" width="128" alt="livebook" /> - -
- Something went wrong. -
-
- Check out the console for logs for more information. -
-
-
- - diff --git a/lib/livebook_web/templates/error/500.html.heex b/lib/livebook_web/templates/error/500.html.heex new file mode 100644 index 000000000..3bbbac5af --- /dev/null +++ b/lib/livebook_web/templates/error/500.html.heex @@ -0,0 +1,32 @@ + + + + + + + + + <%= @status %> - Livebook + + + +
+
+ + livebook + +
+ Something went wrong. +
+
+ Check out the console for logs for more information. +
+
+
+ +