Skip to content

Commit aae2149

Browse files
committed
Merge branch 'master' of github.com:indentlabs/notebook
2 parents e2009b5 + 8ff57a6 commit aae2149

File tree

7 files changed

+20
-28
lines changed

7 files changed

+20
-28
lines changed

app/assets/stylesheets/fixes.scss

-11
This file was deleted.

app/views/devise/registrations/new.html.erb

+3-3
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@
6060
%>
6161

6262
<div class="field">
63-
<%= f.check_box :email_updates %>
6463
<%= f.label :email_updates do %>
65-
We're always working to improve Notebook.ai. Please leave this box checked if you'd like to receive occasional updates about
66-
what's new.
64+
<%= f.check_box :email_updates %>
65+
<span>We're always working to improve Notebook.ai. Please leave this box checked if you'd like to receive occasional updates about
66+
what's new.</span>
6767
<% end %>
6868
</div>
6969

app/views/devise/registrations/panes/_preferences.html.erb

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
<div class="card-content">
33
<h4>Your Notebook.ai design</h4>
44
<div class="field">
5-
<%= f.check_box :fluid_preference %>
65
<%= f.label :fluid_preference do %>
7-
I want to use <strong>full-width</strong> Notebook.ai. Great for small screens, but not so much for very large ones.
6+
<%= f.check_box :fluid_preference %>
7+
<span>I want to use <strong>full-width</strong> Notebook.ai. Great for small screens, but not so much for very large ones.</span>
88
<% end %>
99
</div>
1010
</div>
@@ -14,9 +14,9 @@
1414
<div class="card-content">
1515
<h4>Email preferences</h4>
1616
<div class="field">
17-
<%= f.check_box :email_updates %>
1817
<%= f.label :email_updates do %>
19-
I want to receive occasional updates by email about new Notebook.ai features.
18+
<%= f.check_box :email_updates %>
19+
<span>I want to receive occasional updates by email about new Notebook.ai features.</span>
2020
<% end %>
2121
</div>
2222
</div>

app/views/devise/sessions/_form.html.erb

+9-5
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,21 @@
1313
</div>
1414

1515
<div class="actions center">
16+
<div class="col s6">
1617
<% if devise_mapping.rememberable? -%>
17-
<span class="field" style="margin-right: 30px;">
18+
<%= f.label :remember_me do %>
1819
<%= f.check_box :remember_me %>
19-
<%= f.label :remember_me %>
20-
</span>
20+
<span>Remember me</span>
21+
<% end %>
2122
<% end -%>
22-
<%= f.submit "Log in", class: 'btn blue' %>
23+
</div>
24+
<div class="col s6">
25+
<%= f.submit "Log in", class: 'btn blue' %>
26+
</div>
2327

2428
<p class="center">
2529
<br />
2630
<%= render "devise/shared/links" %>
2731
</p>
2832
</div>
29-
<% end %>
33+
<% end %>

app/views/layouts/_common_head.html.erb

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
<%= csrf_meta_tags %>
33

44
<%= stylesheet_link_tag 'application' %>
5-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0-beta/css/materialize.min.css">
5+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css">
66
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.css" integrity="sha256-rByPlHULObEjJ6XQxW/flG2r+22R5dKiAoef+aXWfik=" crossorigin="anonymous" />
77
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
88

99
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js" integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8=" crossorigin="anonymous"></script>
1010
<script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js" integrity="sha256-KM512VNnjElC30ehFwehXjx1YCHPiQkOPmqnrWtpccM=" crossorigin="anonymous"></script>
1111
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-ujs/1.2.2/rails.min.js" integrity="sha256-BbyWhCn0G+F6xbWJ2pcI5LnnpsnpSzyjJNVtl7ABp+M=" crossorigin="anonymous"></script>
12-
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0-beta/js/materialize.min.js"></script>
12+
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"></script>
1313
<script src="https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.16.6/lodash.min.js" integrity="sha256-BWnUqM2wJJk2qUy9kUxldWF2drzn2awHUNcmMy87bDQ=" crossorigin="anonymous"></script>
1414

1515
<script type="text/javascript" src="https://js.stripe.com/v2/"></script>

app/views/layouts/forum.html.erb

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
<html lang="en">
33
<head>
44
<%= stylesheet_link_tag 'application' %>
5-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0-beta/css/materialize.min.css">
5+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css">
66
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.css" integrity="sha256-rByPlHULObEjJ6XQxW/flG2r+22R5dKiAoef+aXWfik=" crossorigin="anonymous" />
77
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
88

99
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js" integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8=" crossorigin="anonymous"></script>
1010
<script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js" integrity="sha256-KM512VNnjElC30ehFwehXjx1YCHPiQkOPmqnrWtpccM=" crossorigin="anonymous"></script>
1111
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-ujs/1.2.2/rails.min.js" integrity="sha256-BbyWhCn0G+F6xbWJ2pcI5LnnpsnpSzyjJNVtl7ABp+M=" crossorigin="anonymous"></script>
12-
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0-beta/js/materialize.min.js"></script>
12+
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"></script>
1313
<script src="https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.16.6/lodash.min.js" integrity="sha256-BWnUqM2wJJk2qUy9kUxldWF2drzn2awHUNcmMy87bDQ=" crossorigin="anonymous"></script>
1414

1515
<%= render 'layouts/favicon' %>

db/schema.rb

-1
Original file line numberDiff line numberDiff line change
@@ -1989,7 +1989,6 @@
19891989
t.datetime "updated_at", null: false
19901990
t.index ["messageboard_id"], name: "index_thredded_posts_on_messageboard_id"
19911991
t.index ["moderation_state", "updated_at"], name: "index_thredded_posts_for_display"
1992-
t.index ["postable_id"], name: "index_thredded_posts_on_postable_id"
19931992
t.index ["postable_id"], name: "index_thredded_posts_on_postable_id_and_postable_type"
19941993
t.index ["user_id"], name: "index_thredded_posts_on_user_id"
19951994
end

0 commit comments

Comments
 (0)