calendar_view 0.0.6 → 0.0.7
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.markdown
CHANGED
|
File without changes
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
$blue: #0088CC
|
|
2
|
+
$outline: #DDDDDD
|
|
3
|
+
$month: #0044CC
|
|
4
|
+
$outside: #DDDDDD
|
|
5
|
+
$today: #DA4F49
|
|
6
|
+
|
|
7
|
+
.calendar
|
|
8
|
+
margin-bottom: 18px
|
|
9
|
+
h3
|
|
10
|
+
color: $month
|
|
11
|
+
table
|
|
12
|
+
width: 100%
|
|
13
|
+
border: 1px solid $outline
|
|
14
|
+
border-collapse: separate
|
|
15
|
+
border-radius: 4px 4px 4px 4px
|
|
16
|
+
td
|
|
17
|
+
text-align: right
|
|
18
|
+
margin: 2px
|
|
19
|
+
padding: 2px
|
|
20
|
+
border-top: 1px solid $outline
|
|
21
|
+
border-left: 1px solid $outline
|
|
22
|
+
td.wday
|
|
23
|
+
color: $blue
|
|
24
|
+
font-weight: bold
|
|
25
|
+
text-align: center
|
|
26
|
+
td.corner
|
|
27
|
+
border-top: 0 none
|
|
28
|
+
border-left: 0 none
|
|
29
|
+
td.weekend
|
|
30
|
+
background-color: $outline
|
|
31
|
+
td.outside
|
|
32
|
+
background-color: white
|
|
33
|
+
color: $outside
|
|
34
|
+
td.today
|
|
35
|
+
background-color: $today
|
|
36
|
+
color: white
|
|
37
|
+
font-weight: bold
|
|
38
|
+
td.weeknum
|
|
39
|
+
color: $blue
|
|
40
|
+
font-weight: bold
|
|
41
|
+
text-align: center
|
|
42
|
+
|
|
43
|
+
.calendar.square
|
|
44
|
+
td.wday
|
|
45
|
+
border-top: 0 none
|
|
46
|
+
td.weeknum
|
|
47
|
+
border-left: 0 none
|
|
48
|
+
|
|
49
|
+
.calendar.window
|
|
50
|
+
td.monthnum
|
|
51
|
+
border-top: 0 none
|
|
52
|
+
tr > td:first-child
|
|
53
|
+
border-left: 0 none
|
|
@@ -114,14 +114,14 @@ module CalendarViewHelper
|
|
|
114
114
|
|
|
115
115
|
html = ""
|
|
116
116
|
html << "<div class=\"calendar square\">"
|
|
117
|
-
html << "<h3>"
|
|
117
|
+
html << "<h3 class=\"monthname\">"
|
|
118
118
|
html << t(:month_names,:scope=>:date)[month]
|
|
119
119
|
html << " #{year}" if year != now.year
|
|
120
120
|
html << "</h3>"
|
|
121
121
|
html << "<div class=\"content\">"
|
|
122
122
|
html << "<table>"
|
|
123
123
|
|
|
124
|
-
html << "<tr><td class=\"
|
|
124
|
+
html << "<tr><td class=\"corner\"> </td>"
|
|
125
125
|
html << wdays_names(first_wday)
|
|
126
126
|
html << "</tr>"
|
|
127
127
|
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: calendar_view
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
5
|
-
prerelease:
|
|
4
|
+
hash: 17
|
|
5
|
+
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 0.0.
|
|
9
|
+
- 7
|
|
10
|
+
version: 0.0.7
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Wojciech Todryk
|
|
@@ -15,7 +15,8 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date:
|
|
18
|
+
date: 2012-03-30 00:00:00 +02:00
|
|
19
|
+
default_executable:
|
|
19
20
|
dependencies:
|
|
20
21
|
- !ruby/object:Gem::Dependency
|
|
21
22
|
name: rails
|
|
@@ -47,11 +48,13 @@ files:
|
|
|
47
48
|
- Gemfile
|
|
48
49
|
- README.markdown
|
|
49
50
|
- Rakefile
|
|
51
|
+
- app/assets/stylesheets/calendar_olive.css
|
|
52
|
+
- app/assets/stylesheets/tweeter_bootstrap.css.sass.css
|
|
50
53
|
- app/helpers/calendar_view_helper.rb
|
|
51
54
|
- calendar_view.gemspec
|
|
52
55
|
- lib/calendar_view.rb
|
|
53
56
|
- lib/calendar_view/version.rb
|
|
54
|
-
|
|
57
|
+
has_rdoc: true
|
|
55
58
|
homepage: http://todryk.pl/calendar-view
|
|
56
59
|
licenses: []
|
|
57
60
|
|
|
@@ -81,7 +84,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
81
84
|
requirements: []
|
|
82
85
|
|
|
83
86
|
rubyforge_project: calendar_view
|
|
84
|
-
rubygems_version: 1.
|
|
87
|
+
rubygems_version: 1.3.7
|
|
85
88
|
signing_key:
|
|
86
89
|
specification_version: 3
|
|
87
90
|
summary: Calendar view
|