milk 0.0.9 → 0.1.0
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.
- data/README.rdoc +1 -1
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/lib/milk.rb +64 -40
- data/lib/milk/application.rb +37 -16
- data/lib/milk/component.rb +23 -28
- data/lib/milk/field.rb +7 -18
- data/lib/milk/page.rb +19 -25
- data/lib/milk/tasks.rb +6 -7
- data/milk.gemspec +56 -45
- data/site_template/Rakefile +5 -0
- data/site_template/bootstrap.rb +71 -0
- data/site_template/config.ru +1 -3
- data/site_template/{config → data/global}/foot.yaml +0 -0
- data/site_template/{config → data/global}/head.yaml +4 -4
- data/site_template/{pages → data/pages}/About.yaml +3 -3
- data/site_template/{pages → data/pages}/Home.yaml +4 -3
- data/site_template/{pages → data/pages}/News.yaml +3 -3
- data/site_template/{pages → data/pages}/NotFound.yaml +3 -3
- data/site_template/{pages → data/pages}/Products.yaml +3 -3
- data/site_template/lib/components/body.rb +6 -0
- data/site_template/lib/components/button.rb +19 -0
- data/site_template/lib/components/foot.rb +6 -0
- data/site_template/lib/components/head.rb +6 -0
- data/site_template/lib/fields/checkbox_field.rb +4 -0
- data/{lib/milk → site_template/lib}/fields/component_array.rb +0 -0
- data/site_template/lib/fields/dropdown_field.rb +4 -0
- data/{lib/milk → site_template/lib}/fields/image_chooser.rb +0 -0
- data/{lib/milk → site_template/lib}/fields/markdown_field.rb +0 -0
- data/{lib/milk → site_template/lib}/fields/page_chooser.rb +1 -1
- data/{lib/milk → site_template/lib}/fields/sprite_chooser.rb +1 -1
- data/{lib/milk → site_template/lib}/fields/text_field.rb +0 -0
- data/site_template/public/js/edit.js +121 -0
- data/site_template/public/js/form_validate.js +51 -0
- data/site_template/public/js/login.js +9 -0
- data/site_template/public/style/960.css +96 -0
- data/site_template/public/style/edit.css +29 -0
- data/site_template/public/style/login.css +12 -0
- data/site_template/public/style/reset.css +33 -0
- data/site_template/public/style/text.css +25 -0
- data/site_template/public/style/view.css +10 -0
- data/site_template/{design → templates}/960.sass +0 -0
- data/site_template/{design → templates/components}/body.haml +0 -0
- data/site_template/{design → templates/components}/button.haml +0 -0
- data/site_template/{design → templates/components}/foot.haml +0 -0
- data/site_template/{design → templates/components}/head.haml +0 -0
- data/site_template/templates/dependencies.haml +8 -0
- data/{lib/milk/fields/component.haml → site_template/templates/edit.component.haml} +0 -0
- data/site_template/templates/edit.haml +38 -0
- data/site_template/templates/edit.sass +91 -0
- data/site_template/templates/fields/checkbox_field.haml +1 -0
- data/{lib/milk → site_template/templates}/fields/component_array.haml +0 -0
- data/site_template/templates/fields/dropdown_field.haml +3 -0
- data/{lib/milk → site_template/templates}/fields/image_chooser.haml +0 -0
- data/{lib/milk → site_template/templates}/fields/markdown_field.haml +0 -0
- data/site_template/templates/fields/page_chooser.haml +3 -0
- data/{lib/milk → site_template/templates}/fields/sprite_chooser.haml +0 -0
- data/{lib/milk → site_template/templates}/fields/text_field.haml +0 -0
- data/site_template/templates/login.haml +37 -0
- data/site_template/templates/login.sass +35 -0
- data/site_template/{design/0-reset.sass → templates/reset.sass} +0 -0
- data/site_template/{design/1-text.sass → templates/text.sass} +0 -0
- data/site_template/{design/xhtml.haml → templates/view.haml} +2 -3
- data/site_template/{design/page.haml → templates/view.page.haml} +0 -0
- data/site_template/{design/head.sass → templates/view.sass} +10 -0
- metadata +56 -45
- data/lib/milk/fields/login.haml +0 -90
- data/lib/milk/fields/page_chooser.haml +0 -3
- data/lib/milk/fields/xhtml.haml +0 -253
- data/lib/milk/haxe.rb +0 -139
- data/site_template/config/config.yaml +0 -31
- data/site_template/config/users.yaml +0 -18
- data/site_template/design/body.rb +0 -4
- data/site_template/design/button.rb +0 -16
- data/site_template/design/foot.rb +0 -4
- data/site_template/design/foot.sass +0 -3
- data/site_template/design/head.rb +0 -4
- data/site_template/design/page.sass +0 -7
- data/site_template/design/sprites.sass +0 -0
@@ -0,0 +1,91 @@
|
|
1
|
+
body, html
|
2
|
+
:border 0
|
3
|
+
:margin 0
|
4
|
+
:padding 0
|
5
|
+
body.busy
|
6
|
+
:cursor busy
|
7
|
+
div.component
|
8
|
+
&:hover
|
9
|
+
:border 10px solid #08f
|
10
|
+
#admin-title
|
11
|
+
:position absolute
|
12
|
+
:margin 0
|
13
|
+
:top 5px
|
14
|
+
:left 10px
|
15
|
+
:line-height 1em
|
16
|
+
:font-size 20px
|
17
|
+
:font-family monaco,monospace
|
18
|
+
|
19
|
+
#toolbar
|
20
|
+
:position absolute
|
21
|
+
:left 0
|
22
|
+
:bottom 0
|
23
|
+
:right 0
|
24
|
+
:padding 3px
|
25
|
+
.toolitem
|
26
|
+
:font-size 12px
|
27
|
+
:cursor pointer
|
28
|
+
:line-height 1em
|
29
|
+
:padding 2px 5px 2px 2px
|
30
|
+
.ui-icon
|
31
|
+
:float left
|
32
|
+
:line-height 1em
|
33
|
+
#frame
|
34
|
+
:position absolute
|
35
|
+
:top 0px
|
36
|
+
:left 0px
|
37
|
+
:right 0px
|
38
|
+
:bottom 0px
|
39
|
+
#left
|
40
|
+
:font-size 11px
|
41
|
+
:position absolute
|
42
|
+
:top 0px
|
43
|
+
:left 0px
|
44
|
+
:width 250px
|
45
|
+
:bottom 0px
|
46
|
+
h4
|
47
|
+
:font-size 14px
|
48
|
+
h3
|
49
|
+
:font-size 13px
|
50
|
+
#divider
|
51
|
+
:position absolute
|
52
|
+
:top 0px
|
53
|
+
:left 250px
|
54
|
+
:width 5px
|
55
|
+
:bottom 0px
|
56
|
+
|
57
|
+
#fields
|
58
|
+
:position absolute
|
59
|
+
:top 0px
|
60
|
+
:bottom 35px
|
61
|
+
:overflow auto
|
62
|
+
:left 0px
|
63
|
+
:right 0
|
64
|
+
.ui-accordion-content
|
65
|
+
:padding 10px
|
66
|
+
h4
|
67
|
+
:margin 0
|
68
|
+
.field-content
|
69
|
+
:margin-bottom 10px
|
70
|
+
input
|
71
|
+
:width 95%
|
72
|
+
:padding 2px
|
73
|
+
textarea
|
74
|
+
:width 100%
|
75
|
+
:min-height 330px
|
76
|
+
.sprite-select
|
77
|
+
.sprite-option
|
78
|
+
:padding 4px
|
79
|
+
:margin 2px
|
80
|
+
:float left
|
81
|
+
:cursor pointer
|
82
|
+
|
83
|
+
#preview
|
84
|
+
:position absolute
|
85
|
+
:top 0px
|
86
|
+
:left 255px
|
87
|
+
:right 0
|
88
|
+
:width auto
|
89
|
+
:bottom 0px
|
90
|
+
:overflow auto
|
91
|
+
|
@@ -0,0 +1 @@
|
|
1
|
+
%input{:type=>"checkbox",:name=>form_field,:checked=>value}
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1,37 @@
|
|
1
|
+
!!! xml
|
2
|
+
!!! 1.1
|
3
|
+
%html{:xmlns =>"http://www.w3.org/1999/xhtml"}
|
4
|
+
%head
|
5
|
+
%title Please Login
|
6
|
+
= render_dependencies
|
7
|
+
%body
|
8
|
+
.ui-widget-overlay
|
9
|
+
%form{:action => "/login", :method=>"post"}
|
10
|
+
%input{:type=>"hidden", :name => "dest", :value => @req.path_info}
|
11
|
+
#shadow
|
12
|
+
.ui-widget-shadow
|
13
|
+
%table#login{:class => "ui-widget ui-widget-content ui-corner-all"}
|
14
|
+
%thead
|
15
|
+
%tr
|
16
|
+
%th{:colspan=>2, :class=>"ui-widget-header ui-corner-top"}
|
17
|
+
&= "Please Login to edit '#{@page.pagename}'"
|
18
|
+
- if f = flash
|
19
|
+
%tr.ui-state-error{:class=>"ui-corner-all"}
|
20
|
+
%td{:colspan=>2}
|
21
|
+
%span{:class => "ui-icon ui-icon-alert",:style=>"float:left"}
|
22
|
+
%strong Alert:
|
23
|
+
&= f
|
24
|
+
%tr
|
25
|
+
%th Email
|
26
|
+
%td
|
27
|
+
%input{:name => "email"}
|
28
|
+
%tr
|
29
|
+
%th Password
|
30
|
+
%td
|
31
|
+
%input{:type=>"password", :name => "password"}
|
32
|
+
%tr
|
33
|
+
%th
|
34
|
+
%td
|
35
|
+
%button{:type =>"submit", :title=>'Login to the backend to edit this page.'}
|
36
|
+
%span{:class=>'ui-icon ui-icon-unlocked'}
|
37
|
+
Login
|
@@ -0,0 +1,35 @@
|
|
1
|
+
!width = 400
|
2
|
+
!height = 160
|
3
|
+
table, #shadow, .ui-widget-shadow
|
4
|
+
:width = !width + "px"
|
5
|
+
:height = !height + "px"
|
6
|
+
table#login, #shadow
|
7
|
+
:font-size 15px
|
8
|
+
:position absolute
|
9
|
+
:top 50%
|
10
|
+
:left 50%
|
11
|
+
:margin
|
12
|
+
:top = (-!height/2)+"px"
|
13
|
+
:left = (-!width/2)+"px"
|
14
|
+
table#login td, table#login th
|
15
|
+
:vertical-align middle
|
16
|
+
#login
|
17
|
+
tr.ui-state-error
|
18
|
+
td
|
19
|
+
:padding 5px 10px
|
20
|
+
:font-size 12px
|
21
|
+
span
|
22
|
+
:float left
|
23
|
+
:margin-right 0.3em
|
24
|
+
.ui-widget-header
|
25
|
+
:line-height 2em
|
26
|
+
:height 2em
|
27
|
+
button
|
28
|
+
:font-size 12px
|
29
|
+
:cursor pointer
|
30
|
+
:line-height 1em
|
31
|
+
:padding 2px 5px 2px 2px
|
32
|
+
.ui-icon
|
33
|
+
:float left
|
34
|
+
:line-height 1em
|
35
|
+
|
File without changes
|
File without changes
|
@@ -3,13 +3,12 @@
|
|
3
3
|
%html{:xmlns=>"http://www.w3.org/1999/xhtml", :lang=>"en"}
|
4
4
|
%head
|
5
5
|
%meta{:"http-equiv"=>"content-type", :content=>"application/xhtml+xml; charset=UTF-8"}
|
6
|
-
%link{:rel=>"shortcut icon", :type=>"image/x-icon", :href=>"/favicon.ico"}/
|
7
6
|
- if @keywords && @keywords.length > 0
|
8
7
|
%meta{:name=>"keywords", :content=>@keywords}
|
9
8
|
- if @description && @description.length > 0
|
10
9
|
%meta{:name=>"description", :content=>@description}
|
11
|
-
|
12
|
-
%title&= (@title || @pagename) + " - "
|
10
|
+
= render_dependencies
|
11
|
+
%title&= (@title || @pagename) + " - Sample Site"
|
13
12
|
%body
|
14
13
|
= yield
|
15
14
|
|
File without changes
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: milk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tim Caswell
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-06-
|
12
|
+
date: 2009-06-28 00:00:00 -05:00
|
13
13
|
default_executable: milk
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -63,62 +63,43 @@ files:
|
|
63
63
|
- lib/milk/application.rb
|
64
64
|
- lib/milk/component.rb
|
65
65
|
- lib/milk/field.rb
|
66
|
-
- lib/milk/fields/component.haml
|
67
|
-
- lib/milk/fields/component_array.haml
|
68
|
-
- lib/milk/fields/component_array.rb
|
69
|
-
- lib/milk/fields/image_chooser.haml
|
70
|
-
- lib/milk/fields/image_chooser.rb
|
71
|
-
- lib/milk/fields/login.haml
|
72
|
-
- lib/milk/fields/markdown_field.haml
|
73
|
-
- lib/milk/fields/markdown_field.rb
|
74
|
-
- lib/milk/fields/page_chooser.haml
|
75
|
-
- lib/milk/fields/page_chooser.rb
|
76
|
-
- lib/milk/fields/sprite_chooser.haml
|
77
|
-
- lib/milk/fields/sprite_chooser.rb
|
78
|
-
- lib/milk/fields/text_field.haml
|
79
|
-
- lib/milk/fields/text_field.rb
|
80
|
-
- lib/milk/fields/xhtml.haml
|
81
|
-
- lib/milk/haxe.rb
|
82
66
|
- lib/milk/page.rb
|
83
67
|
- lib/milk/tasks.rb
|
84
68
|
- milk.gemspec
|
85
69
|
- site_template/Rakefile
|
70
|
+
- site_template/bootstrap.rb
|
86
71
|
- site_template/config.ru
|
87
|
-
- site_template/
|
88
|
-
- site_template/
|
89
|
-
- site_template/
|
90
|
-
- site_template/
|
91
|
-
- site_template/
|
92
|
-
- site_template/
|
93
|
-
- site_template/
|
94
|
-
- site_template/
|
95
|
-
- site_template/
|
96
|
-
- site_template/
|
97
|
-
- site_template/
|
98
|
-
- site_template/
|
99
|
-
- site_template/
|
100
|
-
- site_template/
|
101
|
-
- site_template/
|
102
|
-
- site_template/
|
103
|
-
- site_template/
|
104
|
-
- site_template/
|
105
|
-
- site_template/
|
106
|
-
- site_template/design/sprites.sass
|
107
|
-
- site_template/design/xhtml.haml
|
108
|
-
- site_template/pages/About.yaml
|
109
|
-
- site_template/pages/Home.yaml
|
110
|
-
- site_template/pages/News.yaml
|
111
|
-
- site_template/pages/NotFound.yaml
|
112
|
-
- site_template/pages/Products.yaml
|
72
|
+
- site_template/data/global/foot.yaml
|
73
|
+
- site_template/data/global/head.yaml
|
74
|
+
- site_template/data/pages/About.yaml
|
75
|
+
- site_template/data/pages/Home.yaml
|
76
|
+
- site_template/data/pages/News.yaml
|
77
|
+
- site_template/data/pages/NotFound.yaml
|
78
|
+
- site_template/data/pages/Products.yaml
|
79
|
+
- site_template/lib/components/body.rb
|
80
|
+
- site_template/lib/components/button.rb
|
81
|
+
- site_template/lib/components/foot.rb
|
82
|
+
- site_template/lib/components/head.rb
|
83
|
+
- site_template/lib/fields/checkbox_field.rb
|
84
|
+
- site_template/lib/fields/component_array.rb
|
85
|
+
- site_template/lib/fields/dropdown_field.rb
|
86
|
+
- site_template/lib/fields/image_chooser.rb
|
87
|
+
- site_template/lib/fields/markdown_field.rb
|
88
|
+
- site_template/lib/fields/page_chooser.rb
|
89
|
+
- site_template/lib/fields/sprite_chooser.rb
|
90
|
+
- site_template/lib/fields/text_field.rb
|
113
91
|
- site_template/public/cache/About/index.html
|
114
92
|
- site_template/public/cache/Home/index.html
|
115
93
|
- site_template/public/cache/News/index.html
|
116
94
|
- site_template/public/cache/Products/index.html
|
117
95
|
- site_template/public/favicon.ico
|
118
96
|
- site_template/public/images/README.txt
|
97
|
+
- site_template/public/js/edit.js
|
98
|
+
- site_template/public/js/form_validate.js
|
119
99
|
- site_template/public/js/jquery-1.3.2.min.js
|
120
100
|
- site_template/public/js/jquery-ui-1.7.2.custom.min.js
|
121
101
|
- site_template/public/js/jquery.json-1.3.min.js
|
102
|
+
- site_template/public/js/login.js
|
122
103
|
- site_template/public/robots.txt
|
123
104
|
- site_template/public/skin/images/ui-bg_diagonals-thick_18_b81900_40x40.png
|
124
105
|
- site_template/public/skin/images/ui-bg_diagonals-thick_20_666666_40x40.png
|
@@ -135,7 +116,37 @@ files:
|
|
135
116
|
- site_template/public/skin/images/ui-icons_ffd27a_256x240.png
|
136
117
|
- site_template/public/skin/images/ui-icons_ffffff_256x240.png
|
137
118
|
- site_template/public/skin/jquery-ui-1.7.2.custom.css
|
119
|
+
- site_template/public/style/960.css
|
120
|
+
- site_template/public/style/edit.css
|
121
|
+
- site_template/public/style/login.css
|
122
|
+
- site_template/public/style/reset.css
|
138
123
|
- site_template/public/style/style.css
|
124
|
+
- site_template/public/style/text.css
|
125
|
+
- site_template/public/style/view.css
|
126
|
+
- site_template/templates/960.sass
|
127
|
+
- site_template/templates/components/body.haml
|
128
|
+
- site_template/templates/components/button.haml
|
129
|
+
- site_template/templates/components/foot.haml
|
130
|
+
- site_template/templates/components/head.haml
|
131
|
+
- site_template/templates/dependencies.haml
|
132
|
+
- site_template/templates/edit.component.haml
|
133
|
+
- site_template/templates/edit.haml
|
134
|
+
- site_template/templates/edit.sass
|
135
|
+
- site_template/templates/fields/checkbox_field.haml
|
136
|
+
- site_template/templates/fields/component_array.haml
|
137
|
+
- site_template/templates/fields/dropdown_field.haml
|
138
|
+
- site_template/templates/fields/image_chooser.haml
|
139
|
+
- site_template/templates/fields/markdown_field.haml
|
140
|
+
- site_template/templates/fields/page_chooser.haml
|
141
|
+
- site_template/templates/fields/sprite_chooser.haml
|
142
|
+
- site_template/templates/fields/text_field.haml
|
143
|
+
- site_template/templates/login.haml
|
144
|
+
- site_template/templates/login.sass
|
145
|
+
- site_template/templates/reset.sass
|
146
|
+
- site_template/templates/text.sass
|
147
|
+
- site_template/templates/view.haml
|
148
|
+
- site_template/templates/view.page.haml
|
149
|
+
- site_template/templates/view.sass
|
139
150
|
- site_template/tmp/restart.txt
|
140
151
|
- test/milk_test.rb
|
141
152
|
- test/test_helper.rb
|
@@ -150,7 +161,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
150
161
|
requirements:
|
151
162
|
- - ">="
|
152
163
|
- !ruby/object:Gem::Version
|
153
|
-
version: "1.
|
164
|
+
version: "1.8"
|
154
165
|
version:
|
155
166
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
156
167
|
requirements:
|
data/lib/milk/fields/login.haml
DELETED
@@ -1,90 +0,0 @@
|
|
1
|
-
!!! xml
|
2
|
-
!!! 1.1
|
3
|
-
%html{:xmlns =>"http://www.w3.org/1999/xhtml"}
|
4
|
-
%head
|
5
|
-
%title Please Login
|
6
|
-
%style{:type=>"text/css"}
|
7
|
-
:sass
|
8
|
-
!width = 400
|
9
|
-
!height = 160
|
10
|
-
table, #shadow, .ui-widget-shadow
|
11
|
-
:width = !width + "px"
|
12
|
-
:height = !height + "px"
|
13
|
-
table#login, #shadow
|
14
|
-
:font-size 15px
|
15
|
-
:position absolute
|
16
|
-
:top 50%
|
17
|
-
:left 50%
|
18
|
-
:margin
|
19
|
-
:top = (-!height/2)+"px"
|
20
|
-
:left = (-!width/2)+"px"
|
21
|
-
table#login td, table#login th
|
22
|
-
:vertical-align middle
|
23
|
-
#login
|
24
|
-
tr.ui-state-error
|
25
|
-
td
|
26
|
-
:padding 5px 10px
|
27
|
-
:font-size 12px
|
28
|
-
span
|
29
|
-
:float left
|
30
|
-
:margin-right 0.3em
|
31
|
-
.ui-widget-header
|
32
|
-
:line-height 2em
|
33
|
-
:height 2em
|
34
|
-
button
|
35
|
-
:font-size 12px
|
36
|
-
:cursor pointer
|
37
|
-
:line-height 1em
|
38
|
-
:padding 2px 5px 2px 2px
|
39
|
-
.ui-icon
|
40
|
-
:float left
|
41
|
-
:line-height 1em
|
42
|
-
|
43
|
-
%link{ :rel => "shortcut icon", :href => "/favicon.ico", :type => "image/x-icon"}/
|
44
|
-
%link{ :href => "/skin/jquery-ui-1.7.2.custom.css", :media => "screen", :rel => "stylesheet", :type => "text/css" }/
|
45
|
-
%link{ :href => "/style/style.css", :media => "screen", :rel => "stylesheet", :type => "text/css" }/
|
46
|
-
%script{:src=>"/js/jquery-1.3.2.min.js", :type=>"text/javascript"}
|
47
|
-
%script{:src=>"/js/jquery.json-1.3.min.js", :type=>"text/javascript"}
|
48
|
-
%script{:src=>"/js/jquery-ui-1.7.2.custom.min.js", :type=>"text/javascript"}
|
49
|
-
%body
|
50
|
-
.ui-widget-overlay
|
51
|
-
%form{:action => "/login", :method=>"post"}
|
52
|
-
%input{:type=>"hidden", :name => "dest", :value => @req.path_info}
|
53
|
-
#shadow
|
54
|
-
.ui-widget-shadow
|
55
|
-
%table#login{:class => "ui-widget ui-widget-content ui-corner-all"}
|
56
|
-
%thead
|
57
|
-
%tr
|
58
|
-
%th{:colspan=>2, :class=>"ui-widget-header ui-corner-top"}
|
59
|
-
&= "Please Login to edit '#{@page.pagename}'"
|
60
|
-
- if f = flash
|
61
|
-
%tr.ui-state-error{:class=>"ui-corner-all"}
|
62
|
-
%td{:colspan=>2}
|
63
|
-
%span{:class => "ui-icon ui-icon-alert",:style=>"float:left"}
|
64
|
-
%strong Alert:
|
65
|
-
&= f
|
66
|
-
%tr
|
67
|
-
%th Email
|
68
|
-
%td
|
69
|
-
%input{:name => "email"}
|
70
|
-
%tr
|
71
|
-
%th Password
|
72
|
-
%td
|
73
|
-
%input{:type=>"password", :name => "password"}
|
74
|
-
%tr
|
75
|
-
%th
|
76
|
-
%td
|
77
|
-
%button{:type =>"submit", :title=>'Login to the backend to edit this page.'}
|
78
|
-
%span{:class=>'ui-icon ui-icon-unlocked'}
|
79
|
-
Login
|
80
|
-
:javascript
|
81
|
-
$(function() {
|
82
|
-
$("button")
|
83
|
-
.addClass("ui-state-default ui-corner-all")
|
84
|
-
.hover(
|
85
|
-
function() { $(this).addClass('ui-state-hover'); },
|
86
|
-
function() { $(this).removeClass('ui-state-hover'); }
|
87
|
-
);
|
88
|
-
});
|
89
|
-
|
90
|
-
|