rack-push-notification 0.2.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +1 -1
- data/Gemfile.lock +12 -50
- data/README.md +0 -15
- data/lib/rack/push-notification.rb +15 -9
- data/lib/rack/push-notification/migrations/001_base_schema.rb +4 -4
- data/lib/rack/push-notification/migrations/002_add_full_text_search.rb +9 -16
- data/lib/rack/push-notification/{device.rb → models/device.rb} +7 -10
- data/rack-push-notification-0.3.0.gem +0 -0
- data/rack-push-notification-0.3.1.gem +0 -0
- data/rack-push-notification.gemspec +3 -11
- metadata +47 -144
- data/lib/rack/push-notification/admin.rb +0 -140
- data/lib/rack/push-notification/assets/images/wallpaper-clown-fish.jpg +0 -0
- data/lib/rack/push-notification/assets/javascripts/application.coffee +0 -28
- data/lib/rack/push-notification/assets/javascripts/collections/devices.coffee +0 -29
- data/lib/rack/push-notification/assets/javascripts/models/device.coffee +0 -2
- data/lib/rack/push-notification/assets/javascripts/routers/root.coffee +0 -30
- data/lib/rack/push-notification/assets/javascripts/rpn.coffee +0 -14
- data/lib/rack/push-notification/assets/javascripts/templates/_devices.jst.eco +0 -23
- data/lib/rack/push-notification/assets/javascripts/templates/_preview.jst.eco +0 -24
- data/lib/rack/push-notification/assets/javascripts/templates/compose.jst.eco +0 -46
- data/lib/rack/push-notification/assets/javascripts/templates/devices.jst.eco +0 -12
- data/lib/rack/push-notification/assets/javascripts/templates/pagination.jst.eco +0 -12
- data/lib/rack/push-notification/assets/javascripts/vendor/backbone.js +0 -1431
- data/lib/rack/push-notification/assets/javascripts/vendor/backbone.paginator.js +0 -833
- data/lib/rack/push-notification/assets/javascripts/vendor/codemirror.javascript.js +0 -411
- data/lib/rack/push-notification/assets/javascripts/vendor/codemirror.js +0 -3047
- data/lib/rack/push-notification/assets/javascripts/vendor/date.js +0 -104
- data/lib/rack/push-notification/assets/javascripts/vendor/jquery.js +0 -9404
- data/lib/rack/push-notification/assets/javascripts/vendor/underscore.js +0 -1059
- data/lib/rack/push-notification/assets/javascripts/views/compose.coffee +0 -120
- data/lib/rack/push-notification/assets/javascripts/views/devices.coffee +0 -23
- data/lib/rack/push-notification/assets/javascripts/views/pagination.coffee +0 -29
- data/lib/rack/push-notification/assets/stylesheets/_codemirror.sass +0 -219
- data/lib/rack/push-notification/assets/stylesheets/_preview.sass +0 -148
- data/lib/rack/push-notification/assets/stylesheets/screen.sass +0 -108
- data/lib/rack/push-notification/assets/views/index.haml +0 -26
- data/lib/rack/push-notification/version.rb +0 -5
@@ -1,108 +0,0 @@
|
|
1
|
-
@import "compass"
|
2
|
-
|
3
|
-
$btnPrimaryBackground: #f00
|
4
|
-
@import "bootstrap"
|
5
|
-
|
6
|
-
@mixin helvetica-font-stack
|
7
|
-
font-family: "Helvetica Neue", Helvetica, Arial, Geneva, sans-serif
|
8
|
-
|
9
|
-
@mixin meslo-font-stack
|
10
|
-
font-family: "Meslo", Menlo, Monaco, monospace
|
11
|
-
|
12
|
-
@import "./codemirror"
|
13
|
-
@import "./preview"
|
14
|
-
|
15
|
-
html body
|
16
|
-
font-family: "Helvetica Neue", "Helvetica", sans-serif
|
17
|
-
-webkit-text-stroke: 1px transparent
|
18
|
-
-webkit-background-clip: padding-box
|
19
|
-
|
20
|
-
& > header
|
21
|
-
@extend .navbar
|
22
|
-
@extend .navbar-static-top
|
23
|
-
|
24
|
-
nav
|
25
|
-
@extend .navbar-inner
|
26
|
-
|
27
|
-
|
28
|
-
ul
|
29
|
-
@extend .nav
|
30
|
-
|
31
|
-
[role="main"]
|
32
|
-
& > header
|
33
|
-
@extend .page-header
|
34
|
-
|
35
|
-
aside
|
36
|
-
float: right
|
37
|
-
|
38
|
-
section
|
39
|
-
@extend .row
|
40
|
-
|
41
|
-
& > .alert
|
42
|
-
width: 95%
|
43
|
-
margin-top: 1em
|
44
|
-
|
45
|
-
.alert
|
46
|
-
clear: both
|
47
|
-
|
48
|
-
form#compose
|
49
|
-
+clearfix
|
50
|
-
|
51
|
-
fieldset
|
52
|
-
@extend .span7
|
53
|
-
float: left
|
54
|
-
|
55
|
-
ol
|
56
|
-
list-style: none
|
57
|
-
padding: 0
|
58
|
-
margin: 0
|
59
|
-
|
60
|
-
li
|
61
|
-
@extend .control-group
|
62
|
-
|
63
|
-
input[type="radio"], label
|
64
|
-
display: inline-block
|
65
|
-
|
66
|
-
input[type="radio"]
|
67
|
-
margin-right: 0.5em
|
68
|
-
margin-top: -5px
|
69
|
-
|
70
|
-
label
|
71
|
-
@extend .control-label
|
72
|
-
|
73
|
-
textarea
|
74
|
-
display: block
|
75
|
-
margin-left: 1.5em
|
76
|
-
width: 530px
|
77
|
-
font-size: 0.9em
|
78
|
-
|
79
|
-
hr
|
80
|
-
clear: both
|
81
|
-
width: 100%
|
82
|
-
margin-top: 5em
|
83
|
-
|
84
|
-
button
|
85
|
-
@extend .btn
|
86
|
-
@extend .btn-large
|
87
|
-
float: right
|
88
|
-
|
89
|
-
table
|
90
|
-
@extend .table
|
91
|
-
@extend .table-bordered
|
92
|
-
@extend .table-hover
|
93
|
-
|
94
|
-
caption
|
95
|
-
span
|
96
|
-
float: left
|
97
|
-
display: block
|
98
|
-
position: relative
|
99
|
-
top: -20px
|
100
|
-
|
101
|
-
form.filter
|
102
|
-
@extend .form-search
|
103
|
-
float: right
|
104
|
-
margin-bottom: 0
|
105
|
-
|
106
|
-
input[type="text"]
|
107
|
-
@extend .input-medium
|
108
|
-
@extend .search-query
|
@@ -1,26 +0,0 @@
|
|
1
|
-
!!! 5
|
2
|
-
%html{lang: "en"}
|
3
|
-
%head
|
4
|
-
%meta{charset: "utf-8"}
|
5
|
-
%meta{:'http-equiv' => "X-UA-Compatible", content: "IE=edge,chrome=1"}
|
6
|
-
%title Rack::PushNotification Admin Console
|
7
|
-
%link{rel: "shortcut icon", href: "/favicon.ico", type: "image/x-icon"}
|
8
|
-
%link{rel: "license", href: "http://opensource.org/licenses/MIT", :title => "MIT License"}
|
9
|
-
%link{rel: "description", href: "Push Notifications"}
|
10
|
-
%link{rel: "stylesheet", href: "/stylesheets/screen.css", type: 'text/css', media: "screen", charset: "utf-8"}
|
11
|
-
|
12
|
-
%body
|
13
|
-
%header
|
14
|
-
%nav
|
15
|
-
.container
|
16
|
-
%a.brand{href: "/"} Rack::PushNotification
|
17
|
-
|
18
|
-
%ul
|
19
|
-
%li.devices
|
20
|
-
%a{href: "/"} Devices
|
21
|
-
%li.compose
|
22
|
-
%a{href: "/compose"} Compose
|
23
|
-
|
24
|
-
.container{role: "main"}
|
25
|
-
|
26
|
-
%script{type: "text/javascript", src: "/javascripts/application.js" }
|