social_stream-documents 2.0.1 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/social_stream/documents/create/layout/_new.css.sass +7 -35
- data/app/assets/stylesheets/social_stream/documents/documents/_documents.css.sass +6 -7
- data/app/assets/stylesheets/social_stream/documents/documents/layout/_documents.css.sass +17 -3
- data/app/assets/stylesheets/social_stream/documents/explore/layout/_explore-documents.css.sass +2 -1
- data/app/assets/stylesheets/social_stream/documents/timeline/_audios.css.sass +4 -3
- data/app/overrides/repositories/_filter/add_new_document_button.html.erb.deface +4 -0
- data/app/views/common_documents/_index.html.erb +21 -17
- data/app/views/documents/index.html.erb +0 -1
- data/app/views/documents/new.html.erb +5 -3
- data/lib/social_stream/documents/version.rb +1 -1
- data/social_stream-documents.gemspec +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 14eb2d33b7fcbdd79dd2829dc0f7f552d197248d
|
4
|
+
data.tar.gz: 581cb6aa512adc9c8418b0191a43ea093a180c2f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c9afbeb4fcf282ec2971e63afa3469a1e619c1ca1f5da6222463926fe9edf59943a3280c84e1198f32d233c3d8d830b4ea8d15abfcdb62c258724b86b79c812
|
7
|
+
data.tar.gz: ea3f6f9bf048bf057601125f1220235e1b1fe4f9872c970d1adb2ace3af205332e4d207c54eeec7568f6abd9eb79226f8570b7807072717d9ac932ac70eb334b
|
@@ -1,35 +1,7 @@
|
|
1
|
-
#
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
form.new_site_client
|
9
|
-
margin-left: 0px
|
10
|
-
width: 100%
|
11
|
-
.name,
|
12
|
-
.url
|
13
|
-
margin-left: 0px
|
14
|
-
width: 100%
|
15
|
-
input
|
16
|
-
&[type="file"]
|
17
|
-
line-height: 0px
|
18
|
-
#new_file
|
19
|
-
label
|
20
|
-
font-size: 22px
|
21
|
-
font-weight: bold
|
22
|
-
color: #CCC
|
23
|
-
form.new_document
|
24
|
-
section
|
25
|
-
border-bottom: 1px dashed #CCC
|
26
|
-
padding-top: 15px
|
27
|
-
padding-bottom: 15px
|
28
|
-
#document_file
|
29
|
-
@include ellipsis
|
30
|
-
.description
|
31
|
-
textarea
|
32
|
-
height: 100px
|
33
|
-
input
|
34
|
-
&[type="submit"]
|
35
|
-
margin: 8px 0 0
|
1
|
+
#new_file
|
2
|
+
@include grid-core-span(7, $fluidGridColumnWidth, $fluidGridGutterWidth)
|
3
|
+
float: left
|
4
|
+
margin-left: 2.5%
|
5
|
+
h5
|
6
|
+
font-size: 28px
|
7
|
+
color: $red
|
@@ -1,7 +1,6 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
1
|
+
.documents,
|
2
|
+
.repository
|
3
|
+
h1
|
4
|
+
@include colorfont-big-size
|
5
|
+
.btn
|
6
|
+
@include btn-primary
|
@@ -1,4 +1,5 @@
|
|
1
|
-
div.repository
|
1
|
+
div.repository,
|
2
|
+
.documents
|
2
3
|
@include grid-core-span(10, $fluidGridColumnWidth, $fluidGridGutterWidth)
|
3
4
|
float: left
|
4
5
|
margin-left: 2.5%
|
@@ -28,7 +29,7 @@ section.repository
|
|
28
29
|
.tab-content
|
29
30
|
@include grid-core-span(10, $fluidGridColumnWidth, $fluidGridGutterWidth)
|
30
31
|
padding-bottom: 100px
|
31
|
-
|
32
|
+
|
32
33
|
.repository-list
|
33
34
|
.document,
|
34
35
|
.picture,
|
@@ -52,7 +53,20 @@ section.repository
|
|
52
53
|
margin-left: 44px
|
53
54
|
|
54
55
|
.documents
|
55
|
-
|
56
|
+
|
57
|
+
input
|
58
|
+
&[type="text"]
|
59
|
+
width: 24% !important
|
60
|
+
display: inline
|
61
|
+
margin-top: 20px
|
62
|
+
float: left
|
63
|
+
margin-left: 20px
|
64
|
+
.btn
|
65
|
+
float: right
|
66
|
+
width: auto
|
67
|
+
display: inline-block
|
68
|
+
margin: 23px 16px 0 -14px
|
69
|
+
|
56
70
|
#new_document-modal
|
57
71
|
.modal-body
|
58
72
|
input
|
@@ -4,10 +4,11 @@
|
|
4
4
|
#jp_interface_audio_290
|
5
5
|
border: none
|
6
6
|
|
7
|
-
|
7
|
+
.jp-progress
|
8
8
|
width: 98.5% !important
|
9
|
-
border-bottom: 2px solid #
|
10
|
-
border-right: 2px solid #666
|
9
|
+
border-bottom: 2px solid #444 !important
|
10
|
+
border-right: 2px solid #666 !important
|
11
|
+
background-color: #333 !important
|
11
12
|
div.jp-seek-bar
|
12
13
|
background: none
|
13
14
|
width: 100%
|
@@ -3,27 +3,31 @@
|
|
3
3
|
<% end %>
|
4
4
|
|
5
5
|
<%= render partial: 'toolbar/profile', locals: { :subject => profile_or_current_subject } %>
|
6
|
+
<div class="documents">
|
7
|
+
<h1 class="colorfont">
|
8
|
+
<%= t 'document.title.other' %>
|
9
|
+
</h1>
|
6
10
|
|
7
|
-
<%= render partial: 'common_documents/filter' %>
|
11
|
+
<%= render partial: 'common_documents/filter' %>
|
8
12
|
|
9
|
-
<%= render partial: 'common_documents/new_button',
|
10
|
-
|
13
|
+
<%= render partial: 'common_documents/new_button',
|
14
|
+
locals: { owner: profile_or_current_subject } %>
|
11
15
|
|
12
|
-
<section class="documents">
|
13
|
-
|
14
|
-
|
15
|
-
</section>
|
16
|
-
|
17
|
-
|
18
|
-
<nav class="documents">
|
19
|
-
<%= render partial: 'layouts/more',
|
20
|
-
locals: {
|
21
|
-
path: polymorphic_path([profile_subject, Document.new ]),
|
22
|
-
per_page: Document.default_per_page,
|
23
|
-
total: collection.total_count
|
24
|
-
} %>
|
25
|
-
</nav>
|
16
|
+
<section class="documents">
|
17
|
+
<%= render partial: 'common_documents/list',
|
18
|
+
locals: { documents: collection } %>
|
19
|
+
</section>
|
26
20
|
|
21
|
+
|
22
|
+
<nav class="documents">
|
23
|
+
<%= render partial: 'layouts/more',
|
24
|
+
locals: {
|
25
|
+
path: polymorphic_path([profile_subject, Document.new ]),
|
26
|
+
per_page: Document.default_per_page,
|
27
|
+
total: collection.total_count
|
28
|
+
} %>
|
29
|
+
</nav>
|
30
|
+
</div>
|
27
31
|
|
28
32
|
<%= javascript_tag do %>
|
29
33
|
$(function() {
|
@@ -2,8 +2,10 @@
|
|
2
2
|
<%= "#{ current_subject.name }: #{ t('document.new.title') }" %>
|
3
3
|
<% end %>
|
4
4
|
|
5
|
-
|
5
|
+
<section id="new_document">
|
6
|
+
<%= render partial: 'toolbar/profile', locals: { subject: current_subject } %>
|
6
7
|
|
7
|
-
<h1><%= t 'document.new.title' %></h1>
|
8
|
+
<h1><%= t 'document.new.title' %></h1>
|
8
9
|
|
9
|
-
<%= render partial: 'common_documents/form', locals: { document: @document } %>
|
10
|
+
<%= render partial: 'common_documents/form', locals: { document: @document } %>
|
11
|
+
</section>
|
@@ -12,7 +12,7 @@ Gem::Specification.new do |s|
|
|
12
12
|
s.files = `git ls-files`.split("\n")
|
13
13
|
|
14
14
|
# Gem dependencies
|
15
|
-
s.add_runtime_dependency('social_stream-base', '~> 2.0.
|
15
|
+
s.add_runtime_dependency('social_stream-base', '~> 2.0.2')
|
16
16
|
|
17
17
|
s.add_runtime_dependency('paperclip','~> 3.3.0')
|
18
18
|
s.add_runtime_dependency('paperclip-ffmpeg', '~> 0.9.0')
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: social_stream-documents
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Víctor Sánchez Belmar
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-05-
|
12
|
+
date: 2013-05-29 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: social_stream-base
|
@@ -17,14 +17,14 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - ~>
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: 2.0.
|
20
|
+
version: 2.0.2
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - ~>
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: 2.0.
|
27
|
+
version: 2.0.2
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: paperclip
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
@@ -121,6 +121,7 @@ files:
|
|
121
121
|
- app/models/document.rb
|
122
122
|
- app/models/picture.rb
|
123
123
|
- app/models/video.rb
|
124
|
+
- app/overrides/repositories/_filter/add_new_document_button.html.erb.deface
|
124
125
|
- app/views/audios/_audio.html.erb
|
125
126
|
- app/views/audios/_audio_processed.html.erb
|
126
127
|
- app/views/audios/_audio_processing.html.erb
|