flockonus-nifty-generators 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
@@ -19,14 +19,52 @@ a {
|
|
19
19
|
}
|
20
20
|
|
21
21
|
#container {
|
22
|
-
width:
|
22
|
+
width: 90%;
|
23
23
|
margin: 0 auto;
|
24
24
|
background-color: #FFF;
|
25
|
-
padding: 20px
|
25
|
+
padding: 20px 2% 60px 2%;
|
26
26
|
border: solid 1px black;
|
27
27
|
margin-top: 20px;
|
28
|
+
min-width:450px;
|
28
29
|
}
|
29
30
|
|
31
|
+
#menu-container {
|
32
|
+
overflow: hidden;
|
33
|
+
padding: 0 1% 20px;
|
34
|
+
/*padding: 0 20px 20px;*/
|
35
|
+
border: 1px solid #ccc;
|
36
|
+
/*background: #eee;*/
|
37
|
+
float:left;
|
38
|
+
width:22%;
|
39
|
+
min-width:150px;
|
40
|
+
|
41
|
+
}
|
42
|
+
|
43
|
+
.menu-button {
|
44
|
+
margin-bottom:5px;
|
45
|
+
border: 1px solid #ccc;
|
46
|
+
border-bottom: 2px solid #ccc;
|
47
|
+
background-color:#fff;
|
48
|
+
}
|
49
|
+
|
50
|
+
.menu-button:hover {
|
51
|
+
border:1px solid #FF0000;
|
52
|
+
border-bottom: 2px solid #FF0000;
|
53
|
+
}
|
54
|
+
|
55
|
+
.selected {
|
56
|
+
border-bottom: 2px solid #00f;
|
57
|
+
border-left: 1px solid #00F;
|
58
|
+
}
|
59
|
+
|
60
|
+
#content-container {
|
61
|
+
float:left;
|
62
|
+
width:70%;
|
63
|
+
margin: 0 0 0 2%;
|
64
|
+
min-width:300px;
|
65
|
+
}
|
66
|
+
|
67
|
+
|
30
68
|
#flash_notice, #flash_error, #flash_alert {
|
31
69
|
padding: 5px 8px;
|
32
70
|
margin: 10px 0;
|
@@ -42,6 +80,11 @@ a {
|
|
42
80
|
border: solid 1px #C66;
|
43
81
|
}
|
44
82
|
|
83
|
+
.flash_box {
|
84
|
+
float:left;
|
85
|
+
width: 100%;
|
86
|
+
}
|
87
|
+
|
45
88
|
.error_messages {
|
46
89
|
width: 400px;
|
47
90
|
border: 2px solid #CF0000;
|
@@ -72,13 +115,22 @@ a {
|
|
72
115
|
|
73
116
|
/* Flockonus custom 1*/
|
74
117
|
|
118
|
+
#logged_box{
|
119
|
+
position: absolute;
|
120
|
+
right: 5px;
|
121
|
+
top: 0;
|
122
|
+
padding: 1%;
|
123
|
+
background: white;
|
124
|
+
border: solid 1px black;
|
125
|
+
}
|
126
|
+
|
75
127
|
.fieldWithErrors, .field_with_errors {
|
76
128
|
display: inline;
|
77
129
|
background-color: #F63;
|
78
130
|
}
|
79
131
|
|
80
132
|
.limit_input, .field_desc {
|
81
|
-
color: #
|
133
|
+
color: #959595;
|
82
134
|
font-size: 11;
|
83
135
|
}
|
84
136
|
|
@@ -90,3 +142,30 @@ textarea{
|
|
90
142
|
width: 485px;
|
91
143
|
}
|
92
144
|
|
145
|
+
td{
|
146
|
+
text-align: center;
|
147
|
+
}
|
148
|
+
|
149
|
+
.clear {
|
150
|
+
clear:both;
|
151
|
+
}
|
152
|
+
|
153
|
+
.hidden{
|
154
|
+
display: none;
|
155
|
+
}
|
156
|
+
|
157
|
+
.ingredient_box{
|
158
|
+
float: left;
|
159
|
+
width: 250px;
|
160
|
+
text-align: center;
|
161
|
+
height: 480px;
|
162
|
+
}
|
163
|
+
|
164
|
+
.combo_part{
|
165
|
+
height: 50px;
|
166
|
+
float: left;
|
167
|
+
padding: 0 10px;
|
168
|
+
border-right: 1px #000000 dashed;
|
169
|
+
border-top: 1px #000000 dashed;
|
170
|
+
}
|
171
|
+
|
@@ -1,7 +1,7 @@
|
|
1
1
|
def create
|
2
2
|
@<%= instance_name %> = <%= class_name %>.new(params[:<%= instance_name %>])
|
3
3
|
if @<%= instance_name %>.save
|
4
|
-
redirect_to <%= item_path :instance_variable => true %>, :notice => "
|
4
|
+
redirect_to <%= item_path :instance_variable => true %>, :notice => "Cadastrado com Sucesso!"
|
5
5
|
else
|
6
6
|
render :action => 'new'
|
7
7
|
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
def destroy
|
2
2
|
@<%= instance_name %> = <%= class_name %>.find(params[:id])
|
3
3
|
@<%= instance_name %>.destroy
|
4
|
-
redirect_to <%= items_url %>, :notice => "
|
4
|
+
redirect_to <%= items_url %>, :notice => "Deletado permanentemente."
|
5
5
|
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
def update
|
2
2
|
@<%= instance_name %> = <%= class_name %>.find(params[:id])
|
3
3
|
if @<%= instance_name %>.update_attributes(params[:<%= instance_name %>])
|
4
|
-
redirect_to <%= item_url %>, :notice => "
|
4
|
+
redirect_to <%= item_url %>, :notice => "Editado com sucesso."
|
5
5
|
else
|
6
6
|
render :action => 'edit'
|
7
7
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flockonus-nifty-generators
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 13
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 9
|
10
|
+
version: 0.0.9
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Fabiano PS
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-02-
|
18
|
+
date: 2011-02-16 00:00:00 -02:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -308,6 +308,6 @@ rubyforge_project: flockonus-nifty-generators
|
|
308
308
|
rubygems_version: 1.3.7
|
309
309
|
signing_key:
|
310
310
|
specification_version: 3
|
311
|
-
summary:
|
311
|
+
summary: Rails 3 useful generator scripts. Forked from ryanb, Translated to PT-BR
|
312
312
|
test_files: []
|
313
313
|
|