From beabccbb79c8f21fa3a4cead4ba370776c936ab7 Mon Sep 17 00:00:00 2001 From: Yannick Date: Wed, 8 Apr 2020 20:40:06 +0200 Subject: [PATCH] Add fontawesome icons --- app/assets/stylesheets/application.css.scss | 6 +- app/views/forms/index.html.erb | 112 +++++++++----------- app/views/layouts/application.html.erb | 2 + 3 files changed, 56 insertions(+), 64 deletions(-) diff --git a/app/assets/stylesheets/application.css.scss b/app/assets/stylesheets/application.css.scss index 0ac9955..4e958d3 100644 --- a/app/assets/stylesheets/application.css.scss +++ b/app/assets/stylesheets/application.css.scss @@ -28,4 +28,8 @@ $primary: $blue; $green: #007932; // hsl(141, 53%, 53%); $footer-background-color: $light; -@import 'bulma/bulma'; \ No newline at end of file +@import 'bulma/bulma'; + +.card-height{ + min-height: 200px; +} \ No newline at end of file diff --git a/app/views/forms/index.html.erb b/app/views/forms/index.html.erb index 3d12c10..71688b7 100644 --- a/app/views/forms/index.html.erb +++ b/app/views/forms/index.html.erb @@ -1,66 +1,52 @@ - - - - - -
-
-
-
-
- -
-
- - -
-
-
-
-
-

Form Title

- +
+
+
+
+
+
+
+ <%= link_to new_form_url do %> + + <% end %> +
+
+
-
-
- Placeholder image -
+ + <% @forms.each do |form| %> +
+
+
+
+
+ +

<%= link_to form.title, form_url(form) %>

+ +
+
+
+ +
+
+ +
+ +
+
+
Submissions
+

42

+ +
+
+
Last Submission
+

06.04.2020

+
+ +
+
+
- + <% end %>
- -
-
-

Submissions

-

42

- -
-
-

Form Title

-

06.04.2020

-
- -
-
-
-
- - -
-
- -
-
-
- - - -
- -
-
-<% @forms.each do |form| %> -<%= link_to form.title, form_url(form) %> -<% end %> \ No newline at end of file +
+
\ No newline at end of file diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index d2e6710..a3f2f45 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -11,5 +11,7 @@ <%= yield %> + +