device_tracker 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.rspec +1 -1
- data/lib/device_tracker/controllers/users_controller.rb +1 -0
- data/lib/device_tracker/helpers/application_helper.rb +1 -0
- data/lib/device_tracker/version.rb +1 -1
- data/lib/device_tracker/views/_header.erb +1 -1
- data/lib/device_tracker/views/index.erb +5 -3
- data/lib/device_tracker/views/users/new.erb +5 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4850393de565e8f9fb48c1e33b946774ec5a8c7a
|
|
4
|
+
data.tar.gz: 6e4bb8cf4786264e0476e4e9c283c42e8c7aa2d9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3d9221444eca2bb21f207f8ce96dc7abff668302fd2b6fa307b8d4ff4cb82292024d05a5e45f63b135fddcebc22071efba80c526122c71cfae234e76b3c70d99
|
|
7
|
+
data.tar.gz: 0d5d58f76f567f45014ada49b59d68229f582fae350b50251e890dfd8b10dabd213c348041cec18d6e20bba75529efa2d10880e9c4612400f3225eb969724305
|
data/.rspec
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
--color
|
|
2
|
-
--format
|
|
2
|
+
--format NyanCatFormatter
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
<meta name="msapplication-config" content="/favicon/browserconfig.xml">
|
|
27
27
|
<meta name="theme-color" content="#ffffff">
|
|
28
28
|
|
|
29
|
-
<title><%= @title || "Home" %> | BBC Device Tracker
|
|
29
|
+
<title><%= @title || "Home" %> | BBC Device Tracker</title>
|
|
30
30
|
|
|
31
31
|
<link rel="stylesheet" href="https://bootswatch.com/flatly/bootstrap.min.css">
|
|
32
32
|
<link rel="stylesheet" href="/css/custom.css">
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
<div class="jumbotron">
|
|
2
2
|
<div class="container">
|
|
3
3
|
<h1>Device Tracker</h1>
|
|
4
|
-
<p>Welcome to the BBC Sport
|
|
5
|
-
the use of devices
|
|
6
|
-
<p><a class="btn btn-primary
|
|
4
|
+
<p>Welcome to the BBC Sport <b>Device Tracker</b>. The aim of this application is to monitor
|
|
5
|
+
the use of devices and to hopefully stop them going walkies!</p>
|
|
6
|
+
<p><a class="btn btn-primary" href="/devices" role="button">Checkout a Device</a></p>
|
|
7
7
|
</div>
|
|
8
8
|
</div>
|
|
9
9
|
|
|
10
|
+
<% unless @devices.empty? %>
|
|
10
11
|
<table class="table table-hover">
|
|
11
12
|
<thead>
|
|
12
13
|
<tr>
|
|
@@ -25,6 +26,7 @@
|
|
|
25
26
|
<% end %>
|
|
26
27
|
</tbody>
|
|
27
28
|
</table>
|
|
29
|
+
<% end %>
|
|
28
30
|
|
|
29
31
|
<script type="text/javascript">
|
|
30
32
|
$(document).ready(function() {
|