condo_interface 0.0.1 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.textile +7 -1
- data/app/assets/javascripts/condo_interface/directives.js +292 -81
- data/app/assets/stylesheets/condo_interface.css +1 -0
- data/app/assets/stylesheets/condo_interface/bootstrap/components.txt +17 -0
- data/app/assets/stylesheets/condo_interface/bootstrap/condo_custom.css +1346 -0
- data/app/assets/stylesheets/condo_interface/uploads.css +23 -70
- data/app/assets/templates/_upload.html +27 -15
- data/lib/condo_interface/version.rb +1 -1
- metadata +4 -2
@@ -106,12 +106,12 @@ div.condo-uploads-wrapper > div.condo-file-selection {
|
|
106
106
|
box-shadow: 0 0 8pt #888;
|
107
107
|
}
|
108
108
|
|
109
|
-
div.condo-uploads-wrapper > div.condo-file-selection >
|
109
|
+
div.condo-uploads-wrapper > div.condo-file-selection > div {
|
110
110
|
width: 100%;
|
111
111
|
height: 100%;
|
112
112
|
}
|
113
113
|
|
114
|
-
div.condo-uploads-wrapper > div.condo-file-selection >
|
114
|
+
div.condo-uploads-wrapper > div.condo-file-selection > div table {
|
115
115
|
width: 100%;
|
116
116
|
height: 100%;
|
117
117
|
|
@@ -129,9 +129,8 @@ div.condo-uploads-wrapper > div.condo-file-selection table td {
|
|
129
129
|
}
|
130
130
|
|
131
131
|
|
132
|
-
div.condo-file-selection td.file-upload-btn > span {
|
133
|
-
/* Button styles from twitter bootstrap */
|
134
|
-
|
132
|
+
div.condo-file-selection td.file-upload-btn > form > span {
|
133
|
+
/* Button styles from twitter bootstrap */
|
135
134
|
display: block;
|
136
135
|
position: relative;
|
137
136
|
|
@@ -141,74 +140,10 @@ div.condo-file-selection td.file-upload-btn > span {
|
|
141
140
|
margin: 0 auto;
|
142
141
|
|
143
142
|
overflow:hidden;
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
border-color: #C5C5C5;
|
148
|
-
border-color: rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.25);
|
149
|
-
|
150
|
-
margin-bottom: 0;
|
151
|
-
color: #333;
|
152
|
-
text-align: center;
|
153
|
-
text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
|
154
|
-
vertical-align: middle;
|
155
|
-
cursor: pointer;
|
156
|
-
|
157
|
-
background-color: whiteSmoke;
|
158
|
-
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(white), to(#E6E6E6));
|
159
|
-
background-image: -webkit-linear-gradient(top, white, #E6E6E6);
|
160
|
-
background-image: -o-linear-gradient(top, white, #E6E6E6);
|
161
|
-
background-image: linear-gradient(to bottom, white, #E6E6E6);
|
162
|
-
background-image: -moz-linear-gradient(top, white, #E6E6E6);
|
163
|
-
background-image: -ms-linear-gradient(top, white, #E6E6E6);
|
164
|
-
background-repeat: repeat-x;
|
165
|
-
|
166
|
-
border: 1px solid #BBB;
|
167
|
-
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
|
168
|
-
border-color: #E6E6E6 #E6E6E6 #BFBFBF;
|
169
|
-
border-bottom-color: #A2A2A2;
|
170
|
-
|
171
|
-
-webkit-border-radius: 4px;
|
172
|
-
-moz-border-radius: 4px;
|
173
|
-
-ms-border-radius: 4px;
|
174
|
-
-o-border-radius: 4px;
|
175
|
-
border-radius: 4px;
|
176
|
-
|
177
|
-
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
|
178
|
-
-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
|
179
|
-
-ms-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
|
180
|
-
-o-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
|
181
|
-
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
|
182
|
-
}
|
183
|
-
|
184
|
-
|
185
|
-
div.condo-file-selection td.file-upload-btn > span:hover {
|
186
|
-
color: #333;
|
187
|
-
text-decoration: none;
|
188
|
-
background-color: #E6E6E6;
|
189
|
-
background-position: 0 -15px;
|
190
|
-
|
191
|
-
-webkit-transition: background-position 0.1s linear;
|
192
|
-
-moz-transition: background-position 0.1s linear;
|
193
|
-
-ms-transition: background-position 0.1s linear;
|
194
|
-
-o-transition: background-position 0.1s linear;
|
195
|
-
transition: background-position 0.1s linear;
|
196
|
-
}
|
197
|
-
|
198
|
-
div.condo-file-selection td.file-upload-btn > span:active {
|
199
|
-
background-color: #e6e6e6;
|
200
|
-
background-color: #d9d9d9 \9;
|
201
|
-
background-image: none;
|
202
|
-
outline: 0;
|
203
|
-
-webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
|
204
|
-
-moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
|
205
|
-
-ms-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
|
206
|
-
-o-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
|
207
|
-
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
|
208
143
|
}
|
209
144
|
|
210
145
|
|
211
|
-
div.condo-file-selection td.file-upload-btn > span > input {
|
146
|
+
div.condo-file-selection td.file-upload-btn > form > span > input {
|
212
147
|
position: absolute;
|
213
148
|
top: 0;
|
214
149
|
left: 0;
|
@@ -218,6 +153,24 @@ div.condo-file-selection td.file-upload-btn > span > input {
|
|
218
153
|
}
|
219
154
|
|
220
155
|
|
156
|
+
div.condo-file-selection ul {
|
157
|
+
list-style: none;
|
158
|
+
margin: 0px;
|
159
|
+
padding: 0px;
|
160
|
+
}
|
161
|
+
|
162
|
+
div.condo-file-selection ul > li > a {
|
163
|
+
text-decoration: none;
|
164
|
+
font-size: 1em;
|
165
|
+
}
|
166
|
+
|
167
|
+
|
168
|
+
div.condo-file-selection ul > li > ul {
|
169
|
+
left: 50%;
|
170
|
+
|
171
|
+
text-align: left;
|
172
|
+
}
|
173
|
+
|
221
174
|
|
222
175
|
/*
|
223
176
|
*
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<div class="condo-uploads-wrapper" data-co-uploads
|
1
|
+
<div class="condo-uploads-wrapper" data-co-uploads>
|
2
2
|
<div class="condo-drop-indicator">
|
3
3
|
<div>Drop Files Here</div>
|
4
4
|
</div>
|
@@ -9,7 +9,7 @@
|
|
9
9
|
<table>
|
10
10
|
<tr>
|
11
11
|
<td class="icon image"></td>
|
12
|
-
<td class="name">{{upload.name}}</td>
|
12
|
+
<td class="name">{{upload.path}}{{upload.name}}</td>
|
13
13
|
</tr>
|
14
14
|
</table>
|
15
15
|
</div>
|
@@ -34,26 +34,38 @@
|
|
34
34
|
</div>
|
35
35
|
</div>
|
36
36
|
<div class="condo-file-selection">
|
37
|
-
<
|
37
|
+
<div>
|
38
38
|
<table>
|
39
39
|
<tr>
|
40
40
|
<td class="file-upload-btn">
|
41
|
-
<
|
42
|
-
<
|
43
|
-
<
|
44
|
-
<
|
45
|
-
<
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
41
|
+
<form>
|
42
|
+
<span class="btn">
|
43
|
+
<table>
|
44
|
+
<tr>
|
45
|
+
<td>
|
46
|
+
<label for="file-upload_{{$id}}">Select files</label>
|
47
|
+
</td>
|
48
|
+
</tr>
|
49
|
+
</table>
|
50
|
+
<input id="file-upload_{{$id}}" type="file" multiple />
|
51
|
+
</span>
|
52
|
+
</form>
|
51
53
|
</td>
|
52
54
|
<td>
|
53
|
-
<
|
55
|
+
<ul class="dropup">
|
56
|
+
<li class="dropdown">
|
57
|
+
<a class="btn dropdown-toggle" href="#">Options</a>
|
58
|
+
<ul class="dropdown-menu">
|
59
|
+
<li><label class="checkbox"><input data-ng-model="autostart" type="checkbox"> Autostart</label></li>
|
60
|
+
<li><label class="checkbox"><input data-ng-model="ignore_errors" type="checkbox"> Ignore Errors</label></li>
|
61
|
+
<li><label class="checkbox"><input data-ng-model="remove_completed" type="checkbox"> Remove Completed</label></li>
|
62
|
+
<li><input data-ng-model="parallelism" id="parallelism_{{$id}}" type="number" step="1" min="1" max="5" /> <label for="parallelism_{{$id}}">Simultaneous</label></li>
|
63
|
+
</ul>
|
64
|
+
</li>
|
65
|
+
</ul>
|
54
66
|
</td>
|
55
67
|
</tr>
|
56
68
|
</table>
|
57
|
-
</
|
69
|
+
</div>
|
58
70
|
</div>
|
59
71
|
</div>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: condo_interface
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 1.0.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-11-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -60,6 +60,8 @@ files:
|
|
60
60
|
- app/assets/images/condo_interface/play.svg
|
61
61
|
- app/assets/javascripts/condo_interface/directives.js
|
62
62
|
- app/assets/javascripts/condo_interface.js
|
63
|
+
- app/assets/stylesheets/condo_interface/bootstrap/components.txt
|
64
|
+
- app/assets/stylesheets/condo_interface/bootstrap/condo_custom.css
|
63
65
|
- app/assets/stylesheets/condo_interface/images.css.erb
|
64
66
|
- app/assets/stylesheets/condo_interface/uploads.css
|
65
67
|
- app/assets/stylesheets/condo_interface.css
|