weight-recorder 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config.ru +4 -1
- data/lib/recorder/version.rb +1 -1
- data/lib/views/chart.haml +1 -1
- data/lib/views/index.haml +3 -3
- data/lib/views/layout.haml +5 -3
- 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: b88733b5ee4f822be87993fd7407a25f3fc87449
|
4
|
+
data.tar.gz: d7ff5f9977aa765b9f93c295feb353a3ce4c8c36
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 800d031ec59ff2c1c76a484d230d6673e2a6bab65f4a2c06afd036eda1e9ddcc412901220d7e1b77a4a6cad4ec5343d03a33bea6a15de7a15e1c9b8d6375ef34
|
7
|
+
data.tar.gz: fc47d8adc8935ca199cfc0e9edd000a628780875a735ba64dfef8c11d654df36af6ee72877343ee02c4f3b5737b435f76d5fa23440c3bc0dda949930028f79e5
|
data/config.ru
CHANGED
data/lib/recorder/version.rb
CHANGED
data/lib/views/chart.haml
CHANGED
data/lib/views/index.haml
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
%h1 Listing Data
|
2
2
|
|
3
3
|
%div
|
4
|
-
%a(
|
4
|
+
%a{href: uri('/data/new')} New
|
5
5
|
%div
|
6
|
-
%a(
|
6
|
+
%a{href: uri('/chart')} Chart
|
7
7
|
|
8
8
|
%table.table
|
9
9
|
%thead
|
@@ -23,7 +23,7 @@
|
|
23
23
|
%td= d.date
|
24
24
|
%td= d.created_at.strftime('%Y/%m/%d %H:%M')
|
25
25
|
%td
|
26
|
-
%a{href: "/data/#{d.id}/edit"} Edit
|
26
|
+
%a{href: uri("/data/#{d.id}/edit")} Edit
|
27
27
|
%td
|
28
28
|
%form.form-inline(method='post'){action: uri("/data/#{d.id}")}
|
29
29
|
%input(name='_method' type='hidden' value='delete')
|
data/lib/views/layout.haml
CHANGED
@@ -3,14 +3,16 @@
|
|
3
3
|
%head
|
4
4
|
%meta(charset='utf-8')
|
5
5
|
%title Recorder Application
|
6
|
-
|
6
|
+
/%link(href='/css/bootstrap.min.css' rel='stylesheet' type='text/css')
|
7
|
+
%link(rel='stylesheet' type='text/css'){href: uri('css/bootstrap.min.css')}
|
8
|
+
|
7
9
|
%script(src='http://www.google.com/jsapi')
|
8
|
-
%script(
|
10
|
+
%script{src: uri('chartkick.js')}
|
9
11
|
%body
|
10
12
|
%nav.navbar.navbar-default
|
11
13
|
.container-fluid
|
12
14
|
.navbar-header
|
13
|
-
%a.brand(
|
15
|
+
%a.brand{href: uri('/data')} Recorder Application
|
14
16
|
|
15
17
|
.container
|
16
18
|
!=yield
|