subduino 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (267) hide show
  1. data/VERSION +1 -1
  2. data/bin/subduino +18 -5
  3. data/duino/Makefile +2 -3
  4. data/duino/duino.pde +97 -66
  5. data/lib/subduino/ard_io.rb +33 -14
  6. data/lib/subduino/ard_ps.rb +47 -24
  7. data/lib/subduino/os.rb +49 -0
  8. data/lib/subduino/parse/bool.rb +1 -1
  9. data/lib/subduino/parse/energy.rb +18 -0
  10. data/lib/subduino/parse/flow.rb +13 -0
  11. data/lib/subduino/parse/lux.rb +1 -1
  12. data/lib/subduino/parse/presence.rb +9 -0
  13. data/lib/subduino/parse/pressure.rb +13 -0
  14. data/lib/subduino/parse/temp.rb +1 -1
  15. data/lib/subduino/parse.rb +3 -3
  16. data/lib/subduino/scaffold/Makefile +72 -73
  17. data/lib/subduino/scaffold/scaffold.pde +77 -0
  18. data/lib/subduino/store.rb +1 -1
  19. data/spec/subduino/parse_spec.rb +1 -1
  20. data/subduino.gemspec +8 -249
  21. metadata +8 -249
  22. data/webapp/Gemfile +0 -8
  23. data/webapp/Gemfile.lock +0 -14
  24. data/webapp/Rakefile +0 -49
  25. data/webapp/Readme.textile +0 -45
  26. data/webapp/VERSION +0 -1
  27. data/webapp/config.yml +0 -20
  28. data/webapp/lib/app.rb +0 -103
  29. data/webapp/lib/duino.rb +0 -206
  30. data/webapp/lib/environment.rb +0 -36
  31. data/webapp/lib/messenger.rb +0 -16
  32. data/webapp/public/app.css +0 -119
  33. data/webapp/public/app.js +0 -34
  34. data/webapp/public/custom.js +0 -187
  35. data/webapp/public/date_input.css +0 -149
  36. data/webapp/public/facebox.css +0 -83
  37. data/webapp/public/facebox.js +0 -319
  38. data/webapp/public/favicon.ico +0 -0
  39. data/webapp/public/faye.js +0 -1
  40. data/webapp/public/icons/alarm-clock-blue.png +0 -0
  41. data/webapp/public/icons/alarm-clock.png +0 -0
  42. data/webapp/public/icons/balloon-left.png +0 -0
  43. data/webapp/public/icons/bandaid.png +0 -0
  44. data/webapp/public/icons/bell-disable.png +0 -0
  45. data/webapp/public/icons/bell.png +0 -0
  46. data/webapp/public/icons/big_icon.png +0 -0
  47. data/webapp/public/icons/bomb.png +0 -0
  48. data/webapp/public/icons/bookmark.png +0 -0
  49. data/webapp/public/icons/box-label.png +0 -0
  50. data/webapp/public/icons/brightness-control-up.png +0 -0
  51. data/webapp/public/icons/brightness-control.png +0 -0
  52. data/webapp/public/icons/brightness-small.png +0 -0
  53. data/webapp/public/icons/broom.png +0 -0
  54. data/webapp/public/icons/bug.png +0 -0
  55. data/webapp/public/icons/calculator.png +0 -0
  56. data/webapp/public/icons/calendar-day.png +0 -0
  57. data/webapp/public/icons/camera.png +0 -0
  58. data/webapp/public/icons/cards-address.png +0 -0
  59. data/webapp/public/icons/chart.png +0 -0
  60. data/webapp/public/icons/clock-select.png +0 -0
  61. data/webapp/public/icons/color.png +0 -0
  62. data/webapp/public/icons/compass.png +0 -0
  63. data/webapp/public/icons/control-power-small.png +0 -0
  64. data/webapp/public/icons/control-power.png +0 -0
  65. data/webapp/public/icons/control-record-small.png +0 -0
  66. data/webapp/public/icons/cpus.png +0 -0
  67. data/webapp/public/icons/credit-card.png +0 -0
  68. data/webapp/public/icons/cross-small.png +0 -0
  69. data/webapp/public/icons/current.png +0 -0
  70. data/webapp/public/icons/dashboard.png +0 -0
  71. data/webapp/public/icons/database.png +0 -0
  72. data/webapp/public/icons/databases.png +0 -0
  73. data/webapp/public/icons/day.png +0 -0
  74. data/webapp/public/icons/door-big.png +0 -0
  75. data/webapp/public/icons/door-open-in.png +0 -0
  76. data/webapp/public/icons/door-open-out.png +0 -0
  77. data/webapp/public/icons/door-open.png +0 -0
  78. data/webapp/public/icons/door.png +0 -0
  79. data/webapp/public/icons/drive-globe.png +0 -0
  80. data/webapp/public/icons/equalizer.png +0 -0
  81. data/webapp/public/icons/exclamation-diamond.png +0 -0
  82. data/webapp/public/icons/exclamation.png +0 -0
  83. data/webapp/public/icons/eye-disable.png +0 -0
  84. data/webapp/public/icons/eye.png +0 -0
  85. data/webapp/public/icons/false.png +0 -0
  86. data/webapp/public/icons/favicon.png +0 -0
  87. data/webapp/public/icons/gear-small.png +0 -0
  88. data/webapp/public/icons/gear.png +0 -0
  89. data/webapp/public/icons/groups.png +0 -0
  90. data/webapp/public/icons/heart.png +0 -0
  91. data/webapp/public/icons/heart_empty.png +0 -0
  92. data/webapp/public/icons/info.png +0 -0
  93. data/webapp/public/icons/irrigation.png +0 -0
  94. data/webapp/public/icons/key.png +0 -0
  95. data/webapp/public/icons/lamp-big.png +0 -0
  96. data/webapp/public/icons/lightbulb.png +0 -0
  97. data/webapp/public/icons/lightbulb_off.png +0 -0
  98. data/webapp/public/icons/lightning-disable.png +0 -0
  99. data/webapp/public/icons/lightning-small.png +0 -0
  100. data/webapp/public/icons/lightning.png +0 -0
  101. data/webapp/public/icons/lock-unlock.png +0 -0
  102. data/webapp/public/icons/lock.png +0 -0
  103. data/webapp/public/icons/locked.png +0 -0
  104. data/webapp/public/icons/lux.png +0 -0
  105. data/webapp/public/icons/marker.png +0 -0
  106. data/webapp/public/icons/media-player-phone.png +0 -0
  107. data/webapp/public/icons/megaphone.png +0 -0
  108. data/webapp/public/icons/mem.png +0 -0
  109. data/webapp/public/icons/microphone.png +0 -0
  110. data/webapp/public/icons/monitor.png +0 -0
  111. data/webapp/public/icons/navigation.png +0 -0
  112. data/webapp/public/icons/night.png +0 -0
  113. data/webapp/public/icons/noise.png +0 -0
  114. data/webapp/public/icons/off.png +0 -0
  115. data/webapp/public/icons/on.png +0 -0
  116. data/webapp/public/icons/onoff.png +0 -0
  117. data/webapp/public/icons/pin.png +0 -0
  118. data/webapp/public/icons/plug--exclamation.png +0 -0
  119. data/webapp/public/icons/plug-disable.png +0 -0
  120. data/webapp/public/icons/plug.png +0 -0
  121. data/webapp/public/icons/rain.png +0 -0
  122. data/webapp/public/icons/refrigeration.png +0 -0
  123. data/webapp/public/icons/restart.png +0 -0
  124. data/webapp/public/icons/ruby.png +0 -0
  125. data/webapp/public/icons/server.png +0 -0
  126. data/webapp/public/icons/shield-disable.png +0 -0
  127. data/webapp/public/icons/shield.png +0 -0
  128. data/webapp/public/icons/socket--exclamation.png +0 -0
  129. data/webapp/public/icons/socket-disable.png +0 -0
  130. data/webapp/public/icons/socket.png +0 -0
  131. data/webapp/public/icons/start.png +0 -0
  132. data/webapp/public/icons/stop.png +0 -0
  133. data/webapp/public/icons/switch--exclamation.png +0 -0
  134. data/webapp/public/icons/switch-disable.png +0 -0
  135. data/webapp/public/icons/switch-small.png +0 -0
  136. data/webapp/public/icons/switch.png +0 -0
  137. data/webapp/public/icons/target.png +0 -0
  138. data/webapp/public/icons/television-off.png +0 -0
  139. data/webapp/public/icons/television.png +0 -0
  140. data/webapp/public/icons/temp.png +0 -0
  141. data/webapp/public/icons/terminal.png +0 -0
  142. data/webapp/public/icons/tick-small.png +0 -0
  143. data/webapp/public/icons/traffic-light-off.png +0 -0
  144. data/webapp/public/icons/traffic-light.png +0 -0
  145. data/webapp/public/icons/traffic.png +0 -0
  146. data/webapp/public/icons/true.png +0 -0
  147. data/webapp/public/icons/umbrella.png +0 -0
  148. data/webapp/public/icons/unlocked.png +0 -0
  149. data/webapp/public/icons/unmonitor.png +0 -0
  150. data/webapp/public/icons/unmonitored.png +0 -0
  151. data/webapp/public/icons/users.png +0 -0
  152. data/webapp/public/icons/vcard.png +0 -0
  153. data/webapp/public/icons/wall.png +0 -0
  154. data/webapp/public/icons/wall_brick.png +0 -0
  155. data/webapp/public/icons/wall_disable.png +0 -0
  156. data/webapp/public/icons/wand-disable.png +0 -0
  157. data/webapp/public/icons/wand.png +0 -0
  158. data/webapp/public/icons/warn.png +0 -0
  159. data/webapp/public/icons/weather_clouds.png +0 -0
  160. data/webapp/public/icons/weather_cloudy.png +0 -0
  161. data/webapp/public/icons/weather_lightning.png +0 -0
  162. data/webapp/public/icons/weather_rain.png +0 -0
  163. data/webapp/public/icons/weather_snow.png +0 -0
  164. data/webapp/public/icons/weather_sun.png +0 -0
  165. data/webapp/public/icons/wrench-screwdriver.png +0 -0
  166. data/webapp/public/icons/wrench.png +0 -0
  167. data/webapp/public/images/ajax-loader.gif +0 -0
  168. data/webapp/public/images/b.png +0 -0
  169. data/webapp/public/images/bendl.gif +0 -0
  170. data/webapp/public/images/bendr.gif +0 -0
  171. data/webapp/public/images/bendsb.gif +0 -0
  172. data/webapp/public/images/bg.jpg +0 -0
  173. data/webapp/public/images/bhead.gif +0 -0
  174. data/webapp/public/images/bheadl.gif +0 -0
  175. data/webapp/public/images/bheadr.gif +0 -0
  176. data/webapp/public/images/bl.png +0 -0
  177. data/webapp/public/images/bnd.gif +0 -0
  178. data/webapp/public/images/br.png +0 -0
  179. data/webapp/public/images/bread.gif +0 -0
  180. data/webapp/public/images/btnb.gif +0 -0
  181. data/webapp/public/images/btnb_.gif +0 -0
  182. data/webapp/public/images/btnm.gif +0 -0
  183. data/webapp/public/images/btnm_.gif +0 -0
  184. data/webapp/public/images/btns.gif +0 -0
  185. data/webapp/public/images/btns_.gif +0 -0
  186. data/webapp/public/images/cal.jpg +0 -0
  187. data/webapp/public/images/close.png +0 -0
  188. data/webapp/public/images/closelabel.gif +0 -0
  189. data/webapp/public/images/error.gif +0 -0
  190. data/webapp/public/images/ft.gif +0 -0
  191. data/webapp/public/images/hdr.gif +0 -0
  192. data/webapp/public/images/hdrl.gif +0 -0
  193. data/webapp/public/images/hdrr.gif +0 -0
  194. data/webapp/public/images/hld.jpg +0 -0
  195. data/webapp/public/images/imgb.gif +0 -0
  196. data/webapp/public/images/imgo.gif +0 -0
  197. data/webapp/public/images/imgt.gif +0 -0
  198. data/webapp/public/images/info.gif +0 -0
  199. data/webapp/public/images/jquery.wysiwyg.gif +0 -0
  200. data/webapp/public/images/li.gif +0 -0
  201. data/webapp/public/images/mbg.png +0 -0
  202. data/webapp/public/images/nsp.gif +0 -0
  203. data/webapp/public/images/phs.gif +0 -0
  204. data/webapp/public/images/sdd.jpg +0 -0
  205. data/webapp/public/images/sdd_.jpg +0 -0
  206. data/webapp/public/images/sidebar.gif +0 -0
  207. data/webapp/public/images/sorta.gif +0 -0
  208. data/webapp/public/images/sortd.gif +0 -0
  209. data/webapp/public/images/srch.gif +0 -0
  210. data/webapp/public/images/srch_.gif +0 -0
  211. data/webapp/public/images/success.gif +0 -0
  212. data/webapp/public/images/thumb1.jpg +0 -0
  213. data/webapp/public/images/thumb2.jpg +0 -0
  214. data/webapp/public/images/thumb3.jpg +0 -0
  215. data/webapp/public/images/tiny.gif +0 -0
  216. data/webapp/public/images/tiny_.gif +0 -0
  217. data/webapp/public/images/tl.png +0 -0
  218. data/webapp/public/images/tr.png +0 -0
  219. data/webapp/public/images/upload.gif +0 -0
  220. data/webapp/public/images/warning.gif +0 -0
  221. data/webapp/public/iui/backButton.png +0 -0
  222. data/webapp/public/iui/blueButton.png +0 -0
  223. data/webapp/public/iui/cancel.png +0 -0
  224. data/webapp/public/iui/grayButton.png +0 -0
  225. data/webapp/public/iui/greenButton.png +0 -0
  226. data/webapp/public/iui/iui-logo-touch-icon.png +0 -0
  227. data/webapp/public/iui/iui.css +0 -396
  228. data/webapp/public/iui/iui.js +0 -511
  229. data/webapp/public/iui/iuix.css +0 -1
  230. data/webapp/public/iui/iuix.js +0 -1
  231. data/webapp/public/iui/listArrow.png +0 -0
  232. data/webapp/public/iui/listArrowSel.png +0 -0
  233. data/webapp/public/iui/listGroup.png +0 -0
  234. data/webapp/public/iui/loading.gif +0 -0
  235. data/webapp/public/iui/pinstripes.png +0 -0
  236. data/webapp/public/iui/redButton.png +0 -0
  237. data/webapp/public/iui/selection.png +0 -0
  238. data/webapp/public/iui/thumb.png +0 -0
  239. data/webapp/public/iui/toggle.png +0 -0
  240. data/webapp/public/iui/toggleOn.png +0 -0
  241. data/webapp/public/iui/toolButton.png +0 -0
  242. data/webapp/public/iui/toolbar.png +0 -0
  243. data/webapp/public/iui/whiteButton.png +0 -0
  244. data/webapp/public/iui/yellowButton.png +0 -0
  245. data/webapp/public/jquery.img.preload.js +0 -152
  246. data/webapp/public/jquery.js +0 -154
  247. data/webapp/public/jquery.sparkline.js +0 -85
  248. data/webapp/public/jquery.tablesorter.min.js +0 -2
  249. data/webapp/public/jquery.visualize.js +0 -452
  250. data/webapp/public/jquery.wysiwyg.css +0 -56
  251. data/webapp/public/layout.css +0 -33
  252. data/webapp/public/right.js +0 -9
  253. data/webapp/public/rt.js +0 -7
  254. data/webapp/public/sparkline.js +0 -85
  255. data/webapp/public/style.css +0 -881
  256. data/webapp/public/visualize.css +0 -32
  257. data/webapp/spec/duino_spec.rb +0 -8
  258. data/webapp/spec/spec_helper.rb +0 -10
  259. data/webapp/views/command.haml +0 -4
  260. data/webapp/views/icon.haml +0 -6
  261. data/webapp/views/index.haml +0 -367
  262. data/webapp/views/layout.haml +0 -88
  263. data/webapp/views/mobile.haml +0 -21
  264. data/webapp/views/switch.haml +0 -56
  265. data/webapp/views/template.haml +0 -676
  266. data/webapp/views/top.haml +0 -4
  267. data/webapp/views/watch.haml +0 -26
@@ -1,676 +0,0 @@
1
- !!!
2
- %html{:xmlns => "http://www.w3.org/1999/xhtml"}
3
- / Source is http://enstyled.com/adminus/original/page.html#
4
- %head
5
- %meta{:content => "text/html; charset=utf-8", "http-equiv" => "Content-Type"}/
6
- %title Adminus ● Page
7
- %link{:href => "style.css", :media => "all", :rel => "stylesheet", :type => "text/css"}/
8
- %link{:href => "jquery.wysiwyg.css", :media => "all", :rel => "stylesheet", :type => "text/css"}/
9
- %link{:href => "facebox.css", :media => "all", :rel => "stylesheet", :type => "text/css"}/
10
- %link{:href => "visualize.css", :media => "all", :rel => "stylesheet", :type => "text/css"}/
11
- %link{:href => "date_input.css", :media => "all", :rel => "stylesheet", :type => "text/css"}/
12
- /[if IE] <meta http-equiv="X-UA-Compatible" content="IE=7" />
13
- /[if lt IE 8] <style type="text/css" media="all">@import url("css/ie.css");</style>
14
- /[if IE] <script type="text/javascript" src="/excanvas.js"></script>
15
- %script{:src => "jquery.js", :type => "text/javascript"}
16
- %script{:src => "jquery.img.preload.js", :type => "text/javascript"}
17
- %script{:src => "jquery.filestyle.mini.js", :type => "text/javascript"}
18
- %script{:src => "jquery.wysiwyg.js", :type => "text/javascript"}
19
- %script{:src => "jquery.date_input.pack.js", :type => "text/javascript"}
20
- %script{:src => "facebox.js", :type => "text/javascript"}
21
- %script{:src => "jquery.visualize.js", :type => "text/javascript"}
22
- %script{:src => "jquery.select_skin.js", :type => "text/javascript"}
23
- %script{:src => "jquery.tablesorter.min.js", :type => "text/javascript"}
24
- %script{:src => "ajaxupload.js", :type => "text/javascript"}
25
- %script{:src => "jquery.pngfix.js", :type => "text/javascript"}
26
- %script{:src => "custom.js", :type => "text/javascript"}
27
- %body
28
- #hld
29
- .wrapper
30
- / wrapper begins
31
- #header
32
- .hdrl
33
- .hdrr
34
- %h1
35
- %a{:href => "#"} Cafofs
36
- %ul#nav
37
- %li
38
- %a{:href => "#"} Dashboard
39
- %li.active
40
- %a{:href => "#"} Power
41
- %ul
42
- %li
43
- %a{:href => "#"} List pages
44
- %li
45
- %a{:href => "#"} Add page
46
- %li
47
- %a{:href => "#"} More actions
48
- %ul
49
- %li
50
- %a{:href => "#"} Some action
51
- %li
52
- %a{:href => "#"} Some action
53
- %li
54
- %a{:href => "#"} Some action
55
- %ul
56
- %li
57
- %a{:href => "#"} Some action
58
- %li
59
- %a{:href => "#"} Some action
60
- %li
61
- %a{:href => "#"} Some action
62
- %li
63
- %a{:href => "#"} Sensors
64
- %li
65
- %a{:href => "#"} Options
66
- %ul
67
- %li
68
- %a{:href => "#"} List media
69
- %li
70
- %a{:href => "#"} Add media
71
- %li
72
- %a{:href => "#"} Something else
73
- %li
74
- %a{:href => "#"} Users
75
- %p.user
76
- Hello,
77
- %a{:href => "#"} John
78
- |
79
- %a{:href => "index.html"} Logout
80
- / #header ends
81
- .block
82
- .block_head
83
- .bheadl
84
- .bheadr
85
- %h2 Web stats
86
- %ul.tabs
87
- %li
88
- %a{:href => "#days"} Per days
89
- %li
90
- %a{:href => "#months"} Per months
91
- / .block_head ends
92
- #days.block_content.tab_content
93
- %table.stats{:cellpadding => "0", :cellspacing => "0", :rel => "line", :width => "100%"}
94
- %thead
95
- %tr
96
- %td &nbsp;
97
- %th{:scope => "col"} 01.03
98
- %th{:scope => "col"} 02.03
99
- %th{:scope => "col"} 03.03
100
- %th{:scope => "col"} 04.03
101
- %th{:scope => "col"} 05.03
102
- %th{:scope => "col"} 06.03
103
- %th{:scope => "col"} 07.03
104
- %th{:scope => "col"} 08.03
105
- %th{:scope => "col"} 09.03
106
- %th{:scope => "col"} 10.03
107
- %th{:scope => "col"} 11.03
108
- %th{:scope => "col"} 12.03
109
- %th{:scope => "col"} 13.03
110
- %th{:scope => "col"} 14.03
111
- %tbody
112
- %tr
113
- %th{:scope => "row"} Page views
114
- %td 50
115
- %td 90
116
- %td 40
117
- %td 120
118
- %td 180
119
- %td 280
120
- %td 320
121
- %td 220
122
- %td 100
123
- %td 120
124
- %td 40
125
- %td 70
126
- %td 20
127
- %td 60
128
- %tr
129
- %th{:scope => "row"} Unique visitors
130
- %td 30
131
- %td 50
132
- %td 15
133
- %td 90
134
- %td 140
135
- %td 160
136
- %td 230
137
- %td 170
138
- %td 50
139
- %td 90
140
- %td 30
141
- %td 50
142
- %td 10
143
- %td 40
144
- / .block_content ends
145
- #months.block_content.tab_content
146
- %table.stats{:cellpadding => "0", :cellspacing => "0", :rel => "bar", :width => "100%"}
147
- %thead
148
- %tr
149
- %td &nbsp;
150
- %th{:scope => "col"} JAN
151
- %th{:scope => "col"} FEB
152
- %th{:scope => "col"} MAR
153
- %th{:scope => "col"} APR
154
- %th{:scope => "col"} MAY
155
- %th{:scope => "col"} JUN
156
- %th{:scope => "col"} JUL
157
- %th{:scope => "col"} AUG
158
- %th{:scope => "col"} SEP
159
- %th{:scope => "col"} OCT
160
- %th{:scope => "col"} NOV
161
- %th{:scope => "col"} DEC
162
- %th{:scope => "col"} JAN
163
- %th{:scope => "col"} FEB
164
- %tbody
165
- %tr
166
- %th{:scope => "row"} Page views
167
- %td 1800
168
- %td 900
169
- %td 700
170
- %td 1200
171
- %td 600
172
- %td 2800
173
- %td 3200
174
- %td 500
175
- %td 2200
176
- %td 1000
177
- %td 1200
178
- %td 700
179
- %td 650
180
- %td 800
181
- %tr
182
- %th{:scope => "row"} Unique visitors
183
- %td 1600
184
- %td 650
185
- %td 550
186
- %td 900
187
- %td 500
188
- %td 2300
189
- %td 2700
190
- %td 350
191
- %td 1700
192
- %td 600
193
- %td 1000
194
- %td 500
195
- %td 400
196
- %td 700
197
- / .block_content ends
198
- .bendl
199
- .bendr
200
- / .block ends
201
- .block
202
- .block_head
203
- .bheadl
204
- .bheadr
205
- %h2 Pages
206
- %ul
207
- %li
208
- %a{:href => "#"} Edit pages
209
- %li
210
- %a{:href => "#"} Add page
211
- / .block_head ends
212
- .block_content
213
- %form{:action => "", :method => "post"}
214
- %table.sortable{:cellpadding => "0", :cellspacing => "0", :width => "100%"}
215
- %thead
216
- %tr
217
- %th{:width => "10"}
218
- %input.check_all{:type => "checkbox"}/
219
- %th Page title
220
- %th Status
221
- %th Date created
222
- %th Author
223
- %td &nbsp;
224
- %tbody
225
- %tr
226
- %td
227
- %input{:type => "checkbox"}/
228
- %td
229
- %a{:href => "#"} Aorem ipsum dolor
230
- %td Published
231
- %td 20.03.2010
232
- %td
233
- %a{:href => "#"} John Doe
234
- %td.delete
235
- %a{:href => "#"} Delete
236
- %tr
237
- %td
238
- %input{:type => "checkbox"}/
239
- %td
240
- %a{:href => "#"} Zn ac libero nunc, vel congue neque
241
- %td Published
242
- %td 18.03.2010
243
- %td
244
- %a{:href => "#"} John Doe
245
- %td.delete
246
- %a{:href => "#"} Delete
247
- %tr
248
- %td
249
- %input{:type => "checkbox"}/
250
- %td
251
- %a{:href => "#"} Borem ipsum dolor
252
- %td Published
253
- %td 20.03.2010
254
- %td
255
- %a{:href => "#"} John Doe
256
- %td.delete
257
- %a{:href => "#"} Delete
258
- %tr
259
- %td
260
- %input{:type => "checkbox"}/
261
- %td
262
- %a{:href => "#"} Aaa In ac libero nunc, vel congue neque
263
- %td Published
264
- %td 18.03.2010
265
- %td
266
- %a{:href => "#"} John Doe
267
- %td.delete
268
- %a{:href => "#"} Delete
269
- %tr
270
- %td
271
- %input{:type => "checkbox"}/
272
- %td
273
- %a{:href => "#"} Lorem ipsum dolor
274
- %td Published
275
- %td 20.03.2010
276
- %td
277
- %a{:href => "#"} John Doe
278
- %td.delete
279
- %a{:href => "#"} Delete
280
- %tr
281
- %td
282
- %input{:type => "checkbox"}/
283
- %td
284
- %a{:href => "#"} In ac libero nunc, vel congue neque
285
- %td Published
286
- %td 18.03.2010
287
- %td
288
- %a{:href => "#"} John Doe
289
- %td.delete
290
- %a{:href => "#"} Delete
291
- %tr
292
- %td
293
- %input{:type => "checkbox"}/
294
- %td
295
- %a{:href => "#"} Lorem ipsum dolor
296
- %td Published
297
- %td 20.03.2010
298
- %td
299
- %a{:href => "#"} John Doe
300
- %td.delete
301
- %a{:href => "#"} Delete
302
- %tr
303
- %td
304
- %input{:type => "checkbox"}/
305
- %td
306
- %a{:href => "#"} In ac libero nunc, vel congue neque
307
- %td Published
308
- %td 08.03.2010
309
- %td
310
- %a{:href => "#"} John Doe
311
- %td.delete
312
- %a{:href => "#"} Delete
313
- .tableactions
314
- %select
315
- %option Actions
316
- %option Delete
317
- %option Edit
318
- %input.submit.tiny{:type => "submit", :value => "Apply to selected"}/
319
- / .tableactions ends
320
- .pagination.right
321
- %a{:href => "#"} &laquo;
322
- %a.active{:href => "#"} 1
323
- %a{:href => "#"} 2
324
- %a{:href => "#"} 3
325
- %a{:href => "#"} 4
326
- %a{:href => "#"} 5
327
- %a{:href => "#"} 6
328
- %a{:href => "#"} &raquo;
329
- / .pagination ends
330
- / .block_content ends
331
- .bendl
332
- .bendr
333
- / .block ends
334
- .block
335
- .block_head
336
- .bheadl
337
- .bheadr
338
- %h2 Forms
339
- %form{:action => "", :method => "post"}
340
- %input.text{:type => "text", :value => "Search"}/
341
- / .block_head ends
342
- .block_content
343
- .message.errormsg
344
- %p An error message goes here
345
- .message.success
346
- %p A success message goes here
347
- .message.info
348
- %p An informative message goes here
349
- .message.warning
350
- %p A warning message goes here
351
- %form{:action => "", :method => "post"}
352
- %p
353
- %label Small input label:
354
- %br/
355
- %input.text.small{:type => "text"}/
356
- %span.note *A note
357
- %p
358
- %label Medium input label:
359
- %br/
360
- %input.text.medium.error{:type => "text"}/
361
- %span.note.error Error!
362
- %p
363
- %label Big input label:
364
- %br/
365
- %input.text.big{:type => "text"}/
366
- %p
367
- %label Textarea label:
368
- %br/
369
- %textarea.wysiwyg
370
- %p
371
- %label Starting date:
372
- %input.text.date_picker{:type => "text"}/
373
- \&nbsp;&nbsp;
374
- %label Ending date:
375
- %input.text.date_picker{:type => "text"}/
376
- %p
377
- %label Select label:
378
- %br/
379
- %select.styled
380
- %optgroup{:label => "Group 1"}
381
- %option Option one
382
- %option Option two
383
- %option Option three
384
- %optgroup{:label => "Group 2"}
385
- %option Option one
386
- %option Option two
387
- %option Option three
388
- %optgroup{:label => "Group 3"}
389
- %option Option one
390
- %option Option two
391
- %option Option three
392
- %p.fileupload
393
- %label File input label:
394
- %br/
395
- %input#fileupload{:type => "file"}/
396
- %span#uploadmsg Max size 3Mb
397
- %p
398
- %input#cbdemo1.checkbox{:checked => "checked", :type => "checkbox"}/
399
- %label{:for => "cbdemo1"} Checkbox label
400
- %input#cbdemo2.checkbox{:type => "checkbox"}/
401
- %label{:for => "cbdemo2"} Checkbox label
402
- %p
403
- %input.radio{:checked => "checked", :type => "radio"}/
404
- %label Radio button label
405
- %hr/
406
- %p
407
- %input.submit.small{:type => "submit", :value => "Submit"}/
408
- %input.submit.mid{:type => "submit", :value => "Long submit"}/
409
- %input.submit.long{:type => "submit", :value => "Even longer submit"}/
410
- / .block_content ends
411
- .bendl
412
- .bendr
413
- / .block ends
414
- .block.small.left
415
- .block_head
416
- .bheadl
417
- .bheadr
418
- %h2 Left column
419
- / .block_head ends
420
- .block_content
421
- %form{:action => "", :method => "post"}
422
- %p
423
- %label Small input label:
424
- %br/
425
- %input.text{:type => "text"}/
426
- %p
427
- %label Text area label:
428
- %br/
429
- %textarea{:cols => "50", :rows => "5"}
430
- %p Praesent justo risus, suscipit eget volutpat ac, fermentum ac.
431
- %p
432
- %input.submit.small{:type => "submit", :value => "Submit"}/
433
- / .block_content ends
434
- .bendl
435
- .bendr
436
- / .block.small.left ends
437
- .block.small.right
438
- .block_head
439
- .bheadl
440
- .bheadr
441
- %h2 Right column
442
- / .block_head ends
443
- .block_content
444
- %h2 Headline
445
- %p
446
- Quisque felis nunc,
447
- %a{:href => "demo", :rel => "facebox"} open modal
448
- lacinia at, viverra sit amet ligula. Praesent justo risus, suscipit eget volutpat ac, fermentum ac massa. Sed at justo velit. Maecenas dapibus sem nec quam cursus.
449
- %h3 Headline
450
- %ul
451
- %li Proin volutpat
452
- %li Praesent justo risus, suscipit eget
453
- %li Morbi facilisis felis ac sapien
454
- %h4 Headline
455
- %ol
456
- %li Proin volutpat
457
- %li Praesent justo risus, suscipit eget
458
- %li Morbi facilisis felis ac sapien
459
- / .block_content ends
460
- .bendl
461
- .bendr
462
- / .block.small.right ends
463
- .block
464
- .block_head
465
- .bheadl
466
- .bheadr
467
- %h2 Big text box with tabs
468
- %ul.tabs
469
- %li
470
- %a{:href => "#tab1"} Tab 1
471
- %li
472
- %a{:href => "#tab2"} Tab 2
473
- / .block_head ends
474
- #tab1.block_content.tab_content
475
- %h3 This is the first tab
476
- %p Maecenas facilisis interdum rhoncus. Sed laoreet vulputate lacus sit amet aliquam. Praesent vitae sapien orci. Mauris nec purus in mi accumsan convallis non et lorem. Nunc tincidunt consequat risus, ac tincidunt nibh hendrerit at. Nullam sit amet nisi eget magna lacinia ullamcorper non sed sem. Ut ornare consequat commodo. Donec vitae justo risus. Nulla ornare posuere egestas. Nulla varius purus quis lacus placerat tincidunt.
477
- / .block_content ends
478
- #tab2.block_content.tab_content
479
- %h3 This is the second tab
480
- %p Praesent vitae sapien orci. Mauris nec purus in mi accumsan convallis non et lorem. Nunc tincidunt consequat risus, ac tincidunt nibh hendrerit at. Nullam sit amet nisi eget magna lacinia ullamcorper non sed sem. Ut ornare consequat commodo. Donec vitae justo risus. Nulla ornare posuere egestas. Nulla varius purus quis lacus placerat tincidunt. Maecenas facilisis interdum rhoncus. Sed laoreet vulputate lacus sit amet aliquam.
481
- / .block_content ends
482
- .bendl
483
- .bendr
484
- / .block ends
485
- .block.huge.left
486
- .block_head
487
- .bheadl
488
- .bheadr
489
- %h2 Left column
490
- / .block_head ends
491
- .block_content
492
- %form{:action => "", :method => "post"}
493
- %p
494
- %label Small input label:
495
- %br/
496
- %input.text{:type => "text"}/
497
- %p
498
- %label Text area label:
499
- %br/
500
- %textarea{:cols => "50", :rows => "5"}
501
- %p Praesent justo risus, suscipit eget volutpat ac, fermentum ac.
502
- %p
503
- %input.submit.small{:type => "submit", :value => "Submit"}/
504
- / .block_content ends
505
- .bendl
506
- .bendr
507
- / .block.small.left ends
508
- .block.tiny.right
509
- .block_head
510
- .bheadl
511
- .bheadr
512
- %h2 Right column
513
- / .block_head ends
514
- .block_content
515
- %h2 Headline
516
- %p
517
- Quisque felis nunc,
518
- %a{:href => "demo", :rel => "facebox"} open modal
519
- lacinia at, viverra sit amet ligula. Praesent justo risus, suscipit eget volutpat ac, fermentum ac massa. Sed at justo velit. Maecenas dapibus sem nec quam cursus.
520
- %h3 Headline
521
- %ul
522
- %li Proin volutpat
523
- %li Praesent justo risus, suscipit eget
524
- %li Morbi facilisis felis ac sapien
525
- %h4 Headline
526
- %ol
527
- %li Proin volutpat
528
- %li Praesent justo risus, suscipit eget
529
- %li Morbi facilisis felis ac sapien
530
- / .block_content ends
531
- .bendl
532
- .bendr
533
- / .block.small.right ends
534
- .block.withsidebar
535
- .block_head
536
- .bheadl
537
- .bheadr
538
- %h2 Big text box with sidebar
539
- / .block_head ends
540
- .block_content
541
- .sidebar
542
- %ul.sidemenu
543
- %li
544
- %a{:href => "#sb1"} Subpage one
545
- %li
546
- %a{:href => "#sb2"} Subpage two
547
- %li
548
- %a{:href => "#sb3"} Subpage three
549
- %p
550
- %strong Some notification text.
551
- Donec hendrerit porttitor felis, id semper eros lobortis sed. Class aptent taciti sociosqu ad litora.
552
- / .sidebar ends
553
- #sb1.sidebar_content
554
- %h3 Sidebar content 1
555
- %p Aenean facilisis ligula eget orci adipiscing varius. Curabitur sem ligula, egestas vel bibendum sed, sodales eu nulla. Vestibulum luctus aliquam feugiat. Donec porta interdum placerat. Donec velit enim, porta vitae euismod ut, fermentum eu felis. Morbi aliquet, libero vel gravida facilisis, enim risus consequat tellus, vitae luctus est diam non nisi. Vivamus eget leo sit amet neque ultricies blandit. Sed tristique erat a sem ullamcorper tempor. Curabitur turpis lorem, semper et pharetra in, scelerisque in magna. Ut at tortor sed diam mattis rhoncus vel eget turpis. Praesent id diam velit, ullamcorper semper augue. Curabitur at orci tellus, sed tincidunt enim. Vivamus sed dolor vitae purus dignissim luctus quis sed nunc. Sed urna enim, auctor sit amet volutpat ut, porta sed leo. Integer dictum molestie elementum. Nullam dapibus tempus enim, id tincidunt arcu elementum varius.
556
- %p Integer malesuada posuere nibh, ac commodo eros dictum eget. Maecenas vel urna ac sapien posuere tincidunt vel non metus. Morbi accumsan lectus at ante scelerisque molestie. Pellentesque in quam arcu, in lacinia orci. Sed blandit, neque sed ullamcorper lacinia, velit lectus lacinia lorem, id gravida sem arcu vel purus. Aenean tellus massa, elementum id condimentum ut, tempus ac dui. Integer consectetur neque placerat leo adipiscing iaculis. Vivamus tempor dui eu augue malesuada dignissim. In tempor odio eu augue ultricies ut hendrerit.
557
- / .sidebar_content ends
558
- #sb2.sidebar_content
559
- %h3 Sidebar content 2
560
- %p Integer malesuada posuere nibh, ac commodo eros dictum eget. Maecenas vel urna ac sapien posuere tincidunt vel non metus. Morbi accumsan lectus at ante scelerisque molestie. Pellentesque in quam arcu, in lacinia orci. Sed blandit, neque sed ullamcorper lacinia, velit lectus lacinia lorem, id gravida sem arcu vel purus. Aenean tellus massa, elementum id condimentum ut, tempus ac dui. Integer consectetur neque placerat leo adipiscing iaculis. Vivamus tempor dui eu augue malesuada dignissim. In tempor odio eu augue ultricies ut hendrerit.
561
- %p Aenean facilisis ligula eget orci adipiscing varius. Curabitur sem ligula, egestas vel bibendum sed, sodales eu nulla. Vestibulum luctus aliquam feugiat. Donec porta interdum placerat. Donec velit enim, porta vitae euismod ut, fermentum eu felis. Morbi aliquet, libero vel gravida facilisis, enim risus consequat tellus, vitae luctus est diam non nisi. Vivamus eget leo sit amet neque ultricies blandit. Sed tristique erat a sem ullamcorper tempor. Curabitur turpis lorem, semper et pharetra in, scelerisque in magna. Ut at tortor sed diam mattis rhoncus vel eget turpis. Praesent id diam velit, ullamcorper semper augue. Curabitur at orci tellus, sed tincidunt enim. Vivamus sed dolor vitae purus dignissim luctus quis sed nunc. Sed urna enim, auctor sit amet volutpat ut, porta sed leo. Integer dictum molestie elementum. Nullam dapibus tempus enim, id tincidunt arcu elementum varius.
562
- / .sidebar_content ends
563
- #sb3.sidebar_content
564
- %h3 Sidebar content 3
565
- %p Aenean facilisis ligula eget orci adipiscing varius. Curabitur sem ligula, egestas vel bibendum sed, sodales eu nulla. Vestibulum luctus aliquam feugiat. Donec porta interdum placerat. Donec velit enim, porta vitae euismod ut, fermentum eu felis. Morbi aliquet, libero vel gravida facilisis, enim risus consequat tellus, vitae luctus est diam non nisi. Vivamus eget leo sit amet neque ultricies blandit. Sed tristique erat a sem ullamcorper tempor. Curabitur turpis lorem, semper et pharetra in, scelerisque in magna. Ut at tortor sed diam mattis rhoncus vel eget turpis. Praesent id diam velit, ullamcorper semper augue. Curabitur at orci tellus, sed tincidunt enim. Vivamus sed dolor vitae purus dignissim luctus quis sed nunc. Sed urna enim, auctor sit amet volutpat ut, porta sed leo. Integer dictum molestie elementum. Nullam dapibus tempus enim, id tincidunt arcu elementum varius.
566
- %p Integer malesuada posuere nibh, ac commodo eros dictum eget. Maecenas vel urna ac sapien posuere tincidunt vel non metus. Morbi accumsan lectus at ante scelerisque molestie. Pellentesque in quam arcu, in lacinia orci. Sed blandit, neque sed ullamcorper lacinia, velit lectus lacinia lorem, id gravida sem arcu vel purus. Aenean tellus massa, elementum id condimentum ut, tempus ac dui. Integer consectetur neque placerat leo adipiscing iaculis. Vivamus tempor dui eu augue malesuada dignissim. In tempor odio eu augue ultricies ut hendrerit.
567
- / .sidebar_content ends
568
- / .block_content ends
569
- .bendl
570
- .bendr
571
- / .block ends
572
- .block
573
- .block_head
574
- .bheadl
575
- .bheadr
576
- %h2 Images
577
- / .block_head ends
578
- .block_content
579
- %ul.imglist
580
- %li
581
- %img{:alt => "", :src => "images/thumb1.jpg"}/
582
- %ul
583
- %li.view
584
- %a{:href => "http://farm3.static.flickr.com/2646/4240549111_fcb8c478fe.jpg", :rel => "facebox"} View
585
- %li.delete
586
- %a{:href => "#deleted"} Delete
587
- %li
588
- %img{:alt => "", :src => "images/thumb2.jpg"}/
589
- %ul
590
- %li.view
591
- %a{:href => "http://farm3.static.flickr.com/2493/4241304118_98ff39d232.jpg", :rel => "facebox"} View
592
- %li.delete
593
- %a{:href => "#"} Delete
594
- %li
595
- %img{:alt => "", :src => "images/thumb3.jpg"}/
596
- %ul
597
- %li.view
598
- %a{:href => "http://farm3.static.flickr.com/2662/4241252138_b9c755e9ca.jpg", :rel => "facebox"} View
599
- %li.delete
600
- %a{:href => "#deleted"} Delete
601
- %li
602
- %img{:alt => "", :src => "images/thumb1.jpg"}/
603
- %ul
604
- %li.view
605
- %a{:href => "http://farm3.static.flickr.com/2646/4240549111_fcb8c478fe.jpg", :rel => "facebox"} View
606
- %li.delete
607
- %a{:href => "#deleted"} Delete
608
- %li
609
- %img{:alt => "", :src => "images/thumb2.jpg"}/
610
- %ul
611
- %li.view
612
- %a{:href => "http://farm3.static.flickr.com/2493/4241304118_98ff39d232.jpg", :rel => "facebox"} View
613
- %li.delete
614
- %a{:href => "#"} Delete
615
- %li
616
- %img{:alt => "", :src => "images/thumb3.jpg"}/
617
- %ul
618
- %li.view
619
- %a{:href => "http://farm3.static.flickr.com/2662/4241252138_b9c755e9ca.jpg", :rel => "facebox"} View
620
- %li.delete
621
- %a{:href => "#deleted"} Delete
622
- %li
623
- %img{:alt => "", :src => "images/thumb1.jpg"}/
624
- %ul
625
- %li.view
626
- %a{:href => "http://farm3.static.flickr.com/2646/4240549111_fcb8c478fe.jpg", :rel => "facebox"} View
627
- %li.delete
628
- %a{:href => "#deleted"} Delete
629
- %li
630
- %img{:alt => "", :src => "images/thumb2.jpg"}/
631
- %ul
632
- %li.view
633
- %a{:href => "http://farm3.static.flickr.com/2493/4241304118_98ff39d232.jpg", :rel => "facebox"} View
634
- %li.delete
635
- %a{:href => "#"} Delete
636
- %li
637
- %img{:alt => "", :src => "images/thumb3.jpg"}/
638
- %ul
639
- %li.view
640
- %a{:href => "http://farm3.static.flickr.com/2662/4241252138_b9c755e9ca.jpg", :rel => "facebox"} View
641
- %li.delete
642
- %a{:href => "#deleted"} Delete
643
- %li
644
- %img{:alt => "", :src => "images/thumb1.jpg"}/
645
- %ul
646
- %li.view
647
- %a{:href => "http://farm3.static.flickr.com/2646/4240549111_fcb8c478fe.jpg", :rel => "facebox"} View
648
- %li.delete
649
- %a{:href => "#deleted"} Delete
650
- %li
651
- %img{:alt => "", :src => "images/thumb2.jpg"}/
652
- %ul
653
- %li.view
654
- %a{:href => "http://farm3.static.flickr.com/2493/4241304118_98ff39d232.jpg", :rel => "facebox"} View
655
- %li.delete
656
- %a{:href => "#"} Delete
657
- %li
658
- %img{:alt => "", :src => "images/thumb3.jpg"}/
659
- %ul
660
- %li.view
661
- %a{:href => "http://farm3.static.flickr.com/2662/4241252138_b9c755e9ca.jpg", :rel => "facebox"} View
662
- %li.delete
663
- %a{:href => "#deleted"} Delete
664
- / .block_content ends
665
- .bendl
666
- .bendr
667
- / .leftcol ends
668
- #footer
669
- %p.left
670
- %a{:href => "#"} YourWebsite.com
671
- %p.right
672
- powered by
673
- %a{:href => "http://themeforest.net/item/adminus-beautiful-admin-panel-interface/94668?ref=enstyled"} Adminus
674
- v1.4
675
- / wrapper ends
676
- / #hld ends
@@ -1,4 +0,0 @@
1
- .panel{:title => "Top"}
2
- .code
3
- = @text.gsub("\n", "<br/>")
4
- %h2 TIP: Use two fingers to scroll Y