user_interface 0.0.2 → 0.0.3

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 CHANGED
@@ -1,3 +1,3 @@
1
- = UserInterface
1
+ = UserInterface {<img src="https://travis-ci.org/dryade/user-interface.png?branch=master" alt="Build Status" />}[https://travis-ci.org/dryade/user-interface]
2
2
 
3
- This project rocks and uses MIT-LICENSE.
3
+ This project rocks and uses MIT-LICENSE.
data/Rakefile CHANGED
@@ -20,7 +20,7 @@ RDoc::Task.new(:rdoc) do |rdoc|
20
20
  rdoc.rdoc_files.include('lib/**/*.rb')
21
21
  end
22
22
 
23
- APP_RAKEFILE = File.expand_path("../test/dummy/Rakefile", __FILE__)
23
+ APP_RAKEFILE = File.expand_path("../spec/dummy/Rakefile", __FILE__)
24
24
  load 'rails/tasks/engine.rake'
25
25
 
26
26
 
@@ -9,7 +9,7 @@
9
9
  <%= form.input :password, :as => :password %>
10
10
  <%= form.input :password_confirmation, :as => :password %>
11
11
 
12
- <%= form.input :current_password, :as => :password %>
12
+ <%= form.input :current_password, :as => :password, :required => true %>
13
13
  <% end %>
14
14
 
15
15
  <%= form.actions do %>
@@ -1,3 +1,3 @@
1
1
  module UserInterface
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,179 +1,170 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: user_interface
3
- version: !ruby/object:Gem::Version
4
- hash: 27
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.3
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 0
9
- - 2
10
- version: 0.0.2
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Marc Florisson
14
9
  - Luc Donnet
15
10
  - Alban Peignier
16
11
  autorequire:
17
12
  bindir: bin
18
13
  cert_chain: []
19
-
20
- date: 2013-02-22 00:00:00 Z
21
- dependencies:
22
- - !ruby/object:Gem::Dependency
14
+ date: 2013-06-24 00:00:00.000000000 Z
15
+ dependencies:
16
+ - !ruby/object:Gem::Dependency
23
17
  name: rails
24
- prerelease: false
25
- requirement: &id001 !ruby/object:Gem::Requirement
18
+ requirement: !ruby/object:Gem::Requirement
26
19
  none: false
27
- requirements:
28
- - - ">"
29
- - !ruby/object:Gem::Version
30
- hash: 3
31
- segments:
32
- - 3
33
- - 1
34
- - 0
20
+ requirements:
21
+ - - ! '>'
22
+ - !ruby/object:Gem::Version
35
23
  version: 3.1.0
36
24
  type: :runtime
37
- version_requirements: *id001
38
- - !ruby/object:Gem::Dependency
39
- name: sqlite3
40
25
  prerelease: false
41
- requirement: &id002 !ruby/object:Gem::Requirement
26
+ version_requirements: !ruby/object:Gem::Requirement
27
+ none: false
28
+ requirements:
29
+ - - ! '>'
30
+ - !ruby/object:Gem::Version
31
+ version: 3.1.0
32
+ - !ruby/object:Gem::Dependency
33
+ name: sqlite3
34
+ requirement: !ruby/object:Gem::Requirement
42
35
  none: false
43
- requirements:
44
- - - ">="
45
- - !ruby/object:Gem::Version
46
- hash: 3
47
- segments:
48
- - 0
49
- version: "0"
36
+ requirements:
37
+ - - ! '>='
38
+ - !ruby/object:Gem::Version
39
+ version: '0'
50
40
  type: :development
51
- version_requirements: *id002
52
- - !ruby/object:Gem::Dependency
53
- name: rspec-rails
54
41
  prerelease: false
55
- requirement: &id003 !ruby/object:Gem::Requirement
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ none: false
44
+ requirements:
45
+ - - ! '>='
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ - !ruby/object:Gem::Dependency
49
+ name: rspec-rails
50
+ requirement: !ruby/object:Gem::Requirement
56
51
  none: false
57
- requirements:
58
- - - ">="
59
- - !ruby/object:Gem::Version
60
- hash: 3
61
- segments:
62
- - 0
63
- version: "0"
52
+ requirements:
53
+ - - ! '>='
54
+ - !ruby/object:Gem::Version
55
+ version: '0'
64
56
  type: :development
65
- version_requirements: *id003
66
- - !ruby/object:Gem::Dependency
67
- name: capybara
68
57
  prerelease: false
69
- requirement: &id004 !ruby/object:Gem::Requirement
58
+ version_requirements: !ruby/object:Gem::Requirement
70
59
  none: false
71
- requirements:
72
- - - ">="
73
- - !ruby/object:Gem::Version
74
- hash: 3
75
- segments:
76
- - 0
77
- version: "0"
60
+ requirements:
61
+ - - ! '>='
62
+ - !ruby/object:Gem::Version
63
+ version: '0'
64
+ - !ruby/object:Gem::Dependency
65
+ name: capybara
66
+ requirement: !ruby/object:Gem::Requirement
67
+ none: false
68
+ requirements:
69
+ - - ! '>='
70
+ - !ruby/object:Gem::Version
71
+ version: '0'
78
72
  type: :development
79
- version_requirements: *id004
73
+ prerelease: false
74
+ version_requirements: !ruby/object:Gem::Requirement
75
+ none: false
76
+ requirements:
77
+ - - ! '>='
78
+ - !ruby/object:Gem::Version
79
+ version: '0'
80
80
  description: User Interface for all our web site.
81
- email:
81
+ email:
82
82
  - mflorisson@cityway.fr
83
83
  - ldonnet@cityway.fr
84
84
  - alban@tryphon.eu
85
85
  executables: []
86
-
87
86
  extensions: []
88
-
89
87
  extra_rdoc_files: []
90
-
91
- files:
92
- - app/controllers/languages_controller.rb
93
- - app/helpers/languages_helper.rb
94
- - app/helpers/flash_helper.rb
95
- - app/helpers/tabs_helper.rb
96
- - app/assets/images/user_interface/ui/download.png
97
- - app/assets/images/user_interface/ui/remove.png
98
- - app/assets/images/user_interface/ui/export.png
99
- - app/assets/images/user_interface/ui/viewer.png
88
+ files:
100
89
  - app/assets/images/user_interface/ui/accept.png
101
- - app/assets/images/user_interface/ui/en_us_flag.png
102
- - app/assets/images/user_interface/ui/remove-small.png
103
90
  - app/assets/images/user_interface/ui/add-small.png
104
- - app/assets/images/user_interface/ui/edit-small.png
105
- - app/assets/images/user_interface/ui/fr_flag.png
91
+ - app/assets/images/user_interface/ui/add.png
106
92
  - app/assets/images/user_interface/ui/alert.png
93
+ - app/assets/images/user_interface/ui/download.png
94
+ - app/assets/images/user_interface/ui/edit-small.png
107
95
  - app/assets/images/user_interface/ui/edit.png
108
- - app/assets/images/user_interface/ui/kml.png
109
- - app/assets/images/user_interface/ui/add.png
110
- - app/assets/images/user_interface/ui/warning.png
111
96
  - app/assets/images/user_interface/ui/en_flag.png
112
97
  - app/assets/images/user_interface/ui/en_uk_flag.png
98
+ - app/assets/images/user_interface/ui/en_us_flag.png
99
+ - app/assets/images/user_interface/ui/export.png
100
+ - app/assets/images/user_interface/ui/fr_flag.png
101
+ - app/assets/images/user_interface/ui/kml.png
113
102
  - app/assets/images/user_interface/ui/notice.png
114
- - app/assets/stylesheets/user_interface.css
103
+ - app/assets/images/user_interface/ui/remove-small.png
104
+ - app/assets/images/user_interface/ui/remove.png
105
+ - app/assets/images/user_interface/ui/viewer.png
106
+ - app/assets/images/user_interface/ui/warning.png
115
107
  - app/assets/stylesheets/user_interface/_layout.scss
116
- - app/assets/stylesheets/user_interface/_layout.scss~
117
- - app/views/devise/unlocks/new.html.erb
118
- - app/views/devise/confirmations/new.html.erb
119
- - app/views/devise/shared/links.erb
120
- - app/views/devise/sessions/new.html.erb
108
+ - app/assets/stylesheets/user_interface.css
109
+ - app/controllers/languages_controller.rb
110
+ - app/helpers/flash_helper.rb
111
+ - app/helpers/languages_helper.rb
112
+ - app/helpers/tabs_helper.rb
121
113
  - app/views/devise/_links.erb
122
- - app/views/devise/passwords/edit.html.erb
123
- - app/views/devise/passwords/new.html.erb
124
- - app/views/devise/mailer/reset_password_instructions.fr.html.erb
125
- - app/views/devise/mailer/reset_password_instructions.html.erb
114
+ - app/views/devise/confirmations/new.html.erb
126
115
  - app/views/devise/mailer/confirmation_instructions.fr.html.erb
127
- - app/views/devise/mailer/unlock_instructions.html.erb
128
- - app/views/devise/mailer/invitation_instructions.fr.html.erb
129
116
  - app/views/devise/mailer/confirmation_instructions.html.erb
117
+ - app/views/devise/mailer/invitation_instructions.fr.html.erb
130
118
  - app/views/devise/mailer/invitation_instructions.html.erb
119
+ - app/views/devise/mailer/reset_password_instructions.fr.html.erb
120
+ - app/views/devise/mailer/reset_password_instructions.html.erb
121
+ - app/views/devise/mailer/unlock_instructions.html.erb
122
+ - app/views/devise/passwords/edit.html.erb
123
+ - app/views/devise/passwords/new.html.erb
131
124
  - app/views/devise/registrations/edit.html.erb
132
125
  - app/views/devise/registrations/new.html.erb
133
- - config/routes.rb
126
+ - app/views/devise/sessions/new.html.erb
127
+ - app/views/devise/shared/links.erb
128
+ - app/views/devise/unlocks/new.html.erb
134
129
  - config/locales/devise.fr.yml
135
130
  - config/locales/devise.yml
131
+ - config/routes.rb
136
132
  - lib/tasks/user_interface_tasks.rake
137
- - lib/user_interface/version.rb
138
- - lib/user_interface/language_support.rb
139
133
  - lib/user_interface/engine.rb
134
+ - lib/user_interface/language_support.rb
135
+ - lib/user_interface/version.rb
140
136
  - lib/user_interface.rb
141
137
  - MIT-LICENSE
142
138
  - Rakefile
143
139
  - README.rdoc
144
140
  homepage: https://github.com/dryade/user-interface.git
145
141
  licenses: []
146
-
147
142
  post_install_message:
148
143
  rdoc_options: []
149
-
150
- require_paths:
144
+ require_paths:
151
145
  - lib
152
- required_ruby_version: !ruby/object:Gem::Requirement
146
+ required_ruby_version: !ruby/object:Gem::Requirement
153
147
  none: false
154
- requirements:
155
- - - ">="
156
- - !ruby/object:Gem::Version
157
- hash: 3
158
- segments:
148
+ requirements:
149
+ - - ! '>='
150
+ - !ruby/object:Gem::Version
151
+ version: '0'
152
+ segments:
159
153
  - 0
160
- version: "0"
161
- required_rubygems_version: !ruby/object:Gem::Requirement
154
+ hash: -3239531460975395824
155
+ required_rubygems_version: !ruby/object:Gem::Requirement
162
156
  none: false
163
- requirements:
164
- - - ">="
165
- - !ruby/object:Gem::Version
166
- hash: 3
167
- segments:
157
+ requirements:
158
+ - - ! '>='
159
+ - !ruby/object:Gem::Version
160
+ version: '0'
161
+ segments:
168
162
  - 0
169
- version: "0"
163
+ hash: -3239531460975395824
170
164
  requirements: []
171
-
172
165
  rubyforge_project:
173
166
  rubygems_version: 1.8.24
174
167
  signing_key:
175
168
  specification_version: 3
176
169
  summary: User Interface for all our web site.
177
170
  test_files: []
178
-
179
- has_rdoc:
@@ -1,290 +0,0 @@
1
- html {color:#000;}
2
- body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td {margin:0;padding:0;}
3
- table {border-collapse:collapse;border-spacing:0;}
4
- fieldset,img {border:0;}
5
- address,caption,cite,code,dfn,em,strong,b,i,th,var {font-style:normal;font-weight:normal;}
6
- li {list-style:none;}
7
- caption,th {text-align:left;}
8
- h1,h2,h3,h4,h5,h6 {font-size:100%;font-weight:normal;}
9
- q:before,q:after {content:'';}
10
- abbr,acronym {border:0;font-variant:normal;}
11
- sup {vertical-align:text-top;}
12
- sub {vertical-align:text-bottom;}
13
- input,textarea,select {font-family:inherit;font-size:inherit;font-weight:inherit;}
14
- input,textarea,select {*font-size:100%;}
15
- legend {color:#000;}
16
- a { text-decoration: none; color: #000 }
17
-
18
- /* Red theme */
19
- $header_background: #900 !default;
20
- $header_color: white !default;
21
- $tabs_background: #C00 !default;
22
- $tabs_color: white !default;
23
- $text_color: #222 !default;
24
-
25
- body {
26
- font-family: "Lucida Grande", verdana, arial, helvetica, sans-serif;
27
- color: $text_color;
28
- font-size: 14px;
29
- background: #E5E5E5;
30
- }
31
-
32
- a, a:visited {
33
- color: $text_color;
34
- }
35
-
36
- #header {
37
- background: $header_background;
38
-
39
- .tabs {
40
- height: 26px;
41
- margin: 0 30px 0 30px;
42
-
43
- li {
44
- display: inline;
45
- float: left;
46
- line-height: 24px;
47
-
48
- a:link, a:visited {
49
- font-size: 12px;
50
- padding: 5px 9px 7px;
51
- margin-right: 3px;
52
- background-color: $tabs_background;
53
- color: $tabs_color;
54
- }
55
-
56
- a.current {
57
- color: $text_color;
58
- font-weight: bold;
59
- background: -webkit-gradient(linear, left top, left bottom, from(#FDFDFD), to(#E5E5E5));
60
- background: -moz-linear-gradient(top, #FDFDFD, #E5E5E5);
61
- }
62
- }
63
-
64
- li.admin {
65
- float: right;
66
- }
67
- }
68
-
69
- .infos{
70
- height: 70px;
71
-
72
- h1 {
73
- font-size: 20px;
74
- font-weight: normal;
75
- color: $header_color;
76
- padding: 10px 0 0 30px;
77
- }
78
-
79
- h1.dashboard {
80
- font-size: 24px;
81
- padding-top: 20px;
82
- }
83
-
84
- a.back_to_upper_menu {
85
- color: $tabs_color;
86
- text-decoration: underline;
87
- padding: 10px 0 0 30px;
88
- font-size: 0.8em;
89
- display: block;
90
- }
91
-
92
- ul.user {
93
- float: right;
94
- color: $tabs_color;
95
- margin: 0 30px 0 0;
96
-
97
- li {
98
- font-size: 13px;
99
- display: inline;
100
- margin: 0 3px;
101
- }
102
-
103
- a {
104
- color: $tabs_color;
105
- text-decoration: underline;
106
- line-height: 55px;
107
- }
108
-
109
- li.language, li.home {
110
- margin: 0 1px;
111
- text-decoration: none;
112
- }
113
-
114
- span.help {
115
- color: $header_background;
116
- font-size: 11px;
117
- border-radius:6px;
118
- -moz-border-radius: 6px;
119
- background-color: white;
120
- padding: 3px 5px;
121
- }
122
- }
123
- }
124
- }
125
-
126
- .actions {
127
- a {
128
- padding-left: 20px;
129
- text-decoration: underline;
130
- }
131
-
132
- a.visit_site{
133
- background: url(image-path('user_interface/ui/site.png')) no-repeat;
134
- }
135
-
136
- a.visit_event{
137
- background: url(image-path('user_interface/ui/event.png')) no-repeat;
138
- }
139
-
140
- a.visit_page{
141
- background: url(image-path('user_interface/ui/page.png')) no-repeat;
142
- }
143
-
144
- a.add {
145
- background: url(image-path('user_interface/ui/add.png')) no-repeat;
146
- }
147
- a.edit {
148
- background: url(image-path('user_interface/ui/edit.png')) no-repeat;
149
- }
150
- a.remove {
151
- background: url(image-path('user_interface/ui/remove.png')) no-repeat;
152
- }
153
- li {
154
- margin: 10px 0;
155
- }
156
- }
157
-
158
- #body {
159
- min-width: 1000px;
160
-
161
- a{ text-decoration: underline;}
162
- }
163
-
164
- #workspace, #sidebar {
165
- float: left;
166
- }
167
-
168
- #workspace {
169
- width: 70%;
170
- background: white;
171
- margin: 15px 30px;
172
- padding: 0 15px 10px 15px;
173
-
174
- -moz-box-shadow: 3px 3px 4px #BBB;
175
- -webkit-box-shadow: 3px 3px 4px #BBB;
176
- box-shadow: 3px 3px 4px #BBB;
177
- border-right: 1px solid #BBB;
178
- border-bottom: 1px solid #BBB;
179
-
180
- h2,h3 {
181
- background: white;
182
- padding: 15px 0;
183
- font-weight: bold;
184
- }
185
-
186
- h2{font-size: 16px;}
187
- h3{font-size: 14px;}
188
-
189
- li span.author {
190
- float: right;
191
- font-size: 12px;
192
- }
193
-
194
- .site_summary {
195
- float: left;
196
- margin-bottom: 20px;
197
- width: 100%;
198
-
199
- img {
200
- float: left;
201
- margin-right: 20px;
202
- }
203
- a {
204
- display: block;
205
- margin: 25px 0 0;
206
- }
207
- }
208
- .site_summary:after {
209
- content: " ";
210
- display: block;
211
- height: 0;
212
- clear: both;
213
- visibility: hidden;
214
- }
215
-
216
- p { margin: 7px 0; }
217
-
218
- fieldset.buttons{
219
- margin: 10px;
220
- }
221
-
222
- }
223
-
224
- #body #flash {
225
- width: 72%;
226
- margin: 15px 0 0 30px;
227
-
228
- div {
229
- padding: 10px 10px 10px 50px;
230
- }
231
- .alert {
232
- color: #c01100;
233
- background: #ffbdbd url(image-path('user_interface/ui/alert.png')) no-repeat 15px;
234
- }
235
- .notice {
236
- background: #EDF3FE url(image-path('user_interface/ui/notice.png')) no-repeat 15px;
237
- }
238
- }
239
-
240
- #body #sidebar {
241
- width: 20%;
242
- padding-top: 20px;
243
-
244
- a {
245
- color: #666;
246
- }
247
-
248
- .actions {
249
- margin-bottom: 20px;
250
- }
251
-
252
- h3 {
253
- padding: 6px 8px;
254
- font-weight: bold;
255
- background: #F0F0F0;
256
- border-bottom: 1px solid gainsboro;
257
- margin-bottom: 10px;
258
- }
259
-
260
- h4 {
261
- font-weight: bold;
262
- padding: 6px 8px;
263
- font-size: 0.9em;
264
- }
265
-
266
- p {
267
- font-size: 12px;
268
- }
269
-
270
- fieldset
271
- {
272
- background-color: #ECECEC;
273
- padding: 10px;
274
- border: 1px solid black;
275
-
276
- legend{
277
- font-weight: bold;
278
- padding: 0 5px;
279
- }
280
-
281
- p{
282
- margin-top: 5px;
283
- label{ font-size: 12px;}
284
- span{
285
- font-style: oblique;
286
- font-size:12px;
287
- }
288
- }
289
- }
290
- }