social_stream-events 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -7,6 +7,47 @@
|
|
7
7
|
|
8
8
|
@import "colors";
|
9
9
|
|
10
|
+
.event_date {
|
11
|
+
cursor: pointer;
|
12
|
+
display: block;
|
13
|
+
float: left;
|
14
|
+
font-weight: bold;
|
15
|
+
text-align: center;
|
16
|
+
vertical-align: middle;
|
17
|
+
padding: 10px;
|
18
|
+
}
|
19
|
+
|
20
|
+
|
21
|
+
a.event_date {
|
22
|
+
color: $details-color;
|
23
|
+
}
|
24
|
+
|
25
|
+
div.event_date {
|
26
|
+
margin-left: 5px;
|
27
|
+
margin-right: 7px;
|
28
|
+
width: 64px;
|
29
|
+
}
|
30
|
+
|
31
|
+
.event_day {
|
32
|
+
font-size: 3em;
|
33
|
+
line-height: 90%;
|
34
|
+
}
|
35
|
+
|
36
|
+
.event_month {
|
37
|
+
font-size: 2em;
|
38
|
+
line-height: 70%;
|
39
|
+
}
|
40
|
+
|
41
|
+
.event_hour {
|
42
|
+
font-size: 1.2em;
|
43
|
+
min-height: 20px;
|
44
|
+
min-width: 30px;
|
45
|
+
}
|
46
|
+
|
47
|
+
.event_details {
|
48
|
+
padding-top: 10px;
|
49
|
+
}
|
50
|
+
|
10
51
|
#calendar {
|
11
52
|
margin-top: 20px;
|
12
53
|
}
|
@@ -1 +1,23 @@
|
|
1
|
-
<%=
|
1
|
+
<%= link_to event, :class => "event_date" do %>
|
2
|
+
<div class="event_date_image">
|
3
|
+
<div class="event_day">
|
4
|
+
<%= event.start_at.day %>
|
5
|
+
</div>
|
6
|
+
<div class="event_month">
|
7
|
+
<%= l event.start_at, :format => "%b" %>
|
8
|
+
</div>
|
9
|
+
<% unless event.all_day? %>
|
10
|
+
<div class="event_hour">
|
11
|
+
<%= l event.start_at, :format => "%H:%M" %>
|
12
|
+
</div>
|
13
|
+
<% end %>
|
14
|
+
</div>
|
15
|
+
<% end %>
|
16
|
+
|
17
|
+
<div class="event_details">
|
18
|
+
<div class="title">
|
19
|
+
<%= link_to event.title, event %>
|
20
|
+
</div>
|
21
|
+
</div>
|
22
|
+
|
23
|
+
<div class="clearfloat"></div>
|
@@ -12,9 +12,9 @@ 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', '~> 0.
|
16
|
-
s.add_runtime_dependency('rails-scheduler', '~> 0.0.
|
17
|
-
s.add_runtime_dependency('coffee-rails', '
|
15
|
+
s.add_runtime_dependency('social_stream-base', '~> 0.14.0')
|
16
|
+
s.add_runtime_dependency('rails-scheduler', '~> 0.0.6')
|
17
|
+
s.add_runtime_dependency('coffee-rails', '>= 3.1.0')
|
18
18
|
|
19
19
|
# Development Gem dependencies
|
20
20
|
s.add_development_dependency('sqlite3-ruby')
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: social_stream-events
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,44 +10,44 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2012-01-
|
13
|
+
date: 2012-01-26 00:00:00.000000000Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: social_stream-base
|
17
|
-
requirement: &
|
17
|
+
requirement: &86950640 !ruby/object:Gem::Requirement
|
18
18
|
none: false
|
19
19
|
requirements:
|
20
20
|
- - ~>
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 0.
|
22
|
+
version: 0.14.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
|
-
version_requirements: *
|
25
|
+
version_requirements: *86950640
|
26
26
|
- !ruby/object:Gem::Dependency
|
27
27
|
name: rails-scheduler
|
28
|
-
requirement: &
|
28
|
+
requirement: &86950390 !ruby/object:Gem::Requirement
|
29
29
|
none: false
|
30
30
|
requirements:
|
31
31
|
- - ~>
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.0.
|
33
|
+
version: 0.0.6
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
|
-
version_requirements: *
|
36
|
+
version_requirements: *86950390
|
37
37
|
- !ruby/object:Gem::Dependency
|
38
38
|
name: coffee-rails
|
39
|
-
requirement: &
|
39
|
+
requirement: &86950160 !ruby/object:Gem::Requirement
|
40
40
|
none: false
|
41
41
|
requirements:
|
42
|
-
- - ! '
|
42
|
+
- - ! '>='
|
43
43
|
- !ruby/object:Gem::Version
|
44
44
|
version: 3.1.0
|
45
45
|
type: :runtime
|
46
46
|
prerelease: false
|
47
|
-
version_requirements: *
|
47
|
+
version_requirements: *86950160
|
48
48
|
- !ruby/object:Gem::Dependency
|
49
49
|
name: sqlite3-ruby
|
50
|
-
requirement: &
|
50
|
+
requirement: &86949970 !ruby/object:Gem::Requirement
|
51
51
|
none: false
|
52
52
|
requirements:
|
53
53
|
- - ! '>='
|
@@ -55,7 +55,7 @@ dependencies:
|
|
55
55
|
version: '0'
|
56
56
|
type: :development
|
57
57
|
prerelease: false
|
58
|
-
version_requirements: *
|
58
|
+
version_requirements: *86949970
|
59
59
|
description: ! 'Social Stream is a Ruby on Rails engine providing your application
|
60
60
|
with social networking features and activity streams.
|
61
61
|
|