qedproject 0.0.5 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/qedproject +13 -2
- data/lib/qedproject/helpers.rb +21 -0
- data/lib/qedproject/libraries/base.rb +23 -5
- data/lib/qedproject/libraries/jquerymobile.rb +24 -0
- data/lib/qedproject/libraries/jquerytmpl.rb +1 -0
- data/lib/qedproject/libraries/skeleton.rb +3 -1
- data/lib/qedproject/plugins.rb +12 -0
- data/lib/qedproject/project.rb +57 -50
- data/lib/qedproject/version.rb +1 -1
- data/lib/qedproject.rb +4 -0
- data/templates/assets.yml +2 -2
- data/templates/sampleSpec.coffee +3 -0
- data/vendor/jquerymobile/ajax-loader.png +0 -0
- data/vendor/jquerymobile/icon-search-black.png +0 -0
- data/vendor/jquerymobile/icons-18-black.png +0 -0
- data/vendor/jquerymobile/icons-18-white.png +0 -0
- data/vendor/jquerymobile/icons-36-black.png +0 -0
- data/vendor/jquerymobile/icons-36-white.png +0 -0
- data/vendor/jquerymobile/jquery.mobile-1.0b2.css +1640 -0
- data/vendor/jquerymobile/jquery.mobile-1.0b2.js +6259 -0
- data/vendor/jquerymobile/templates/index.html +97 -0
- metadata +15 -4
@@ -0,0 +1,97 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
6
|
+
<title>Project</title>
|
7
|
+
<% if @project.jammit -%>
|
8
|
+
<link rel="stylesheet" href="assets/app.css">
|
9
|
+
<% else -%>
|
10
|
+
<% @project.css_assets.each do |css| -%>
|
11
|
+
<link rel="stylesheet" href="stylesheets/<%=css %>">
|
12
|
+
<% end -%>
|
13
|
+
<% end -%>
|
14
|
+
<% if @project.jammit -%>
|
15
|
+
<script src="assets/app.js"></script>
|
16
|
+
<% else -%>
|
17
|
+
<% @project.js_assets.each do |js| -%>
|
18
|
+
<script src="javascripts/<%=js %>"></script>
|
19
|
+
<% end -%>
|
20
|
+
<% end -%>
|
21
|
+
</head>
|
22
|
+
|
23
|
+
<body>
|
24
|
+
<div data-role="page" id="main">
|
25
|
+
<div data-role="header">
|
26
|
+
<h1>Main</h1>
|
27
|
+
</div><!-- /header -->
|
28
|
+
<div data-role="content">
|
29
|
+
<p>
|
30
|
+
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor
|
31
|
+
incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud
|
32
|
+
exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute
|
33
|
+
irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
|
34
|
+
pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia
|
35
|
+
deserunt mollit anim id est laborum.
|
36
|
+
</p>
|
37
|
+
<p><a href="#about" data-role="button">About Us</a></p>
|
38
|
+
<p><a href="#dialog"data-role="button" data-rel="dialog" data-transition="pop">Dialog</a></p>
|
39
|
+
|
40
|
+
</div>
|
41
|
+
<div data-role="footer" data-theme="d">
|
42
|
+
<h4>Footer</h4>
|
43
|
+
</div><!-- /footer -->
|
44
|
+
|
45
|
+
</div>
|
46
|
+
|
47
|
+
|
48
|
+
<div data-role="page" id="about" data-theme="a">
|
49
|
+
|
50
|
+
<div data-role="header">
|
51
|
+
<h1>About Us</h1>
|
52
|
+
</div><!-- /header -->
|
53
|
+
<div data-role="content">
|
54
|
+
<p>
|
55
|
+
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor
|
56
|
+
incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud
|
57
|
+
exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute
|
58
|
+
irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
|
59
|
+
pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia
|
60
|
+
deserunt mollit anim id est laborum.
|
61
|
+
</p>
|
62
|
+
</div>
|
63
|
+
<div data-role="footer" data-theme="d">
|
64
|
+
<h4>Footer</h4>
|
65
|
+
</div><!-- /footer -->
|
66
|
+
|
67
|
+
</div>
|
68
|
+
|
69
|
+
<!-- Start of third page: #popup -->
|
70
|
+
<div data-role="page" id="dialog">
|
71
|
+
|
72
|
+
<div data-role="header" data-theme="e">
|
73
|
+
<h1>Dialog</h1>
|
74
|
+
</div><!-- /header -->
|
75
|
+
|
76
|
+
<div data-role="content" data-theme="d">
|
77
|
+
<h2>Dialog</h2>
|
78
|
+
<p>
|
79
|
+
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor
|
80
|
+
incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud
|
81
|
+
exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure
|
82
|
+
dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
|
83
|
+
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit
|
84
|
+
anim id est laborum.
|
85
|
+
</p>
|
86
|
+
<p><a href="#main" data-rel="back" data-role="button" data-inline="true" data-icon="back">Back to "Main"</a></p>
|
87
|
+
</div><!-- /content -->
|
88
|
+
|
89
|
+
<div data-role="footer">
|
90
|
+
<h4>Page Footer</h4>
|
91
|
+
</div><!-- /footer -->
|
92
|
+
</div><!-- /page popup -->
|
93
|
+
|
94
|
+
|
95
|
+
</body>
|
96
|
+
|
97
|
+
</html>
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: qedproject
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 15
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 8
|
10
|
+
version: 0.0.8
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Brian P. Hogan
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-09-
|
18
|
+
date: 2011-09-07 00:00:00 -05:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -147,10 +147,12 @@ files:
|
|
147
147
|
- lib/qedproject/helpers.rb
|
148
148
|
- lib/qedproject/libraries/base.rb
|
149
149
|
- lib/qedproject/libraries/jquery.rb
|
150
|
+
- lib/qedproject/libraries/jquerymobile.rb
|
150
151
|
- lib/qedproject/libraries/backbone.rb
|
151
152
|
- lib/qedproject/libraries/knockout.rb
|
152
153
|
- lib/qedproject/libraries/jquerytmpl.rb
|
153
154
|
- lib/qedproject/libraries/skeleton.rb
|
155
|
+
- lib/qedproject/plugins.rb
|
154
156
|
- vendor/backbone/VERSION
|
155
157
|
- vendor/backbone/backbone-min.js
|
156
158
|
- vendor/backbone/json2.js
|
@@ -174,6 +176,15 @@ files:
|
|
174
176
|
- vendor/jasmine/lib/jasmine-1.0.2/jasmine-html.js
|
175
177
|
- vendor/jasmine/lib/jasmine-1.0.2/jasmine.css
|
176
178
|
- vendor/jasmine/lib/jasmine-1.0.2/jasmine.js
|
179
|
+
- vendor/jquerymobile/jquery.mobile-1.0b2.css
|
180
|
+
- vendor/jquerymobile/jquery.mobile-1.0b2.js
|
181
|
+
- vendor/jquerymobile/ajax-loader.png
|
182
|
+
- vendor/jquerymobile/icons-18-black.png
|
183
|
+
- vendor/jquerymobile/icons-18-white.png
|
184
|
+
- vendor/jquerymobile/icons-36-black.png
|
185
|
+
- vendor/jquerymobile/icons-36-white.png
|
186
|
+
- vendor/jquerymobile/icon-search-black.png
|
187
|
+
- vendor/jquerymobile/templates/index.html
|
177
188
|
- templates/assets.yml
|
178
189
|
- templates/Guardfile
|
179
190
|
- templates/sampleSpec.coffee
|