caboose-cms 0.9.215 → 0.9.216
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d7c1bfef2f29928298054378eba2753a3e98127166b7fd69fadabb15463869ac
|
4
|
+
data.tar.gz: ffe5124a84b06873f893ec83d1665b642a2fa8a7b6ecaabc540a78a6611c2636
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8aa16c7998249164f24d245a765a42cd03b59d8c93ef9e6af5ae295b2413f98a7249632c531089453706394941ddba7abe88b77ade6ff548eba4dc760fdd1f34
|
7
|
+
data.tar.gz: f58c132f13d9ea4f82ad456321e18739f47ddf83638d76c2ceb3c8ee0cd819d159bb227e732f6a9085cb5ec3772c59e56de20180b240654aa548c105b715c2b6
|
@@ -47,6 +47,20 @@
|
|
47
47
|
font-style: normal;
|
48
48
|
color: #282828;
|
49
49
|
}
|
50
|
+
&.cb {
|
51
|
+
margin-top: 15px;
|
52
|
+
text-align: right;
|
53
|
+
label {
|
54
|
+
display: inline-block;
|
55
|
+
font-size: 14px;
|
56
|
+
margin: 0 5px 0 0;
|
57
|
+
}
|
58
|
+
input[type="checkbox"] {
|
59
|
+
width: auto;
|
60
|
+
display: inline-block;
|
61
|
+
margin: 0;
|
62
|
+
}
|
63
|
+
}
|
50
64
|
}
|
51
65
|
input[type="text"], input[type="password"], input[type="email"] {
|
52
66
|
display: block;
|
@@ -35,7 +35,7 @@ module Caboose
|
|
35
35
|
if login_resp.error
|
36
36
|
resp.error = login_resp.error
|
37
37
|
else
|
38
|
-
remember = params[:remember] && (params[:remember] == 1 || params[:remember] == "1")
|
38
|
+
remember = params[:remember] && (params[:remember] == 1 || params[:remember] == "1" || params[:remember] == 'on')
|
39
39
|
login_user(login_resp.user, remember)
|
40
40
|
resp.redirect = Caboose.plugin_hook('login_success', return_url, login_resp.user)
|
41
41
|
resp.modal = false
|
@@ -14,7 +14,7 @@
|
|
14
14
|
</style>
|
15
15
|
|
16
16
|
<p>
|
17
|
-
<a class="caboose-btn" href='#' onclick="$('#search_form').toggle(400, function() { modal.autosize(); });">Show/hide search form</a>
|
17
|
+
<a class="caboose-btn" href='#' onclick="$('#search_form').toggle(400, function() { modal.autosize(); });return false;">Show/hide search form</a>
|
18
18
|
<a class="caboose-btn" href='/admin/invoices/new'>New Manual Invoice</a>
|
19
19
|
<a class="caboose-btn" href='/admin/invoices/print-pending' target='_blank'>Print Pending Invoices</a>
|
20
20
|
<a class="caboose-btn" href='/admin/invoices/summary-report' target='_blank'>Summary Report</a>
|
@@ -16,6 +16,10 @@
|
|
16
16
|
<a href="/register?return_url=<%= @return_url %>">Create an account</a>
|
17
17
|
<% end %>
|
18
18
|
<a href="/login/forgot-password?return_url=<%= @return_url %>">Forgot your password?</a>
|
19
|
+
<div class="field cb">
|
20
|
+
<label for="remember">Remember me</label>
|
21
|
+
<input type="checkbox" checked="true" id="remember" name="remember" />
|
22
|
+
</div>
|
19
23
|
</div>
|
20
24
|
<input type="submit" class="btn" id="caboose-login-btn" value="Login" onclick="caboose_user_login();return false;" />
|
21
25
|
</form>
|
data/lib/caboose/version.rb
CHANGED