timeline_setter 0.1.0 → 0.1.1
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/doc/doc.markdown +15 -4
- data/doc/timeline-setter.html +79 -94
- data/documentation/TimelineSetter/CLI.html +59 -9
- data/documentation/TimelineSetter/Parser.html +1 -1
- data/documentation/TimelineSetter/Timeline.html +1 -1
- data/documentation/TimelineSetter.html +1 -1
- data/documentation/_index.html +1 -1
- data/documentation/file.README.html +1 -1
- data/documentation/index.html +1 -1
- data/documentation/method_list.html +13 -5
- data/documentation/top-level-namespace.html +1 -1
- data/index.html +3 -2
- data/lib/timeline_setter/cli.rb +6 -2
- data/lib/timeline_setter/timeline.rb +1 -1
- data/lib/timeline_setter/version.rb +1 -1
- data/public/javascripts/timeline-setter.js +83 -87
- data/public/stylesheets/timeline-setter.css +5 -7
- data/spec/test_data.csv +4 -1
- data/templates/timeline-markup.erb +3 -3
- data/timeline_setter.gemspec +2 -2
- metadata +4 -4
@@ -72,6 +72,7 @@
|
|
72
72
|
text-transform:uppercase;
|
73
73
|
font-weight:normal;
|
74
74
|
text-align:center;
|
75
|
+
display:block;
|
75
76
|
}
|
76
77
|
.TS-read_btn:hover {
|
77
78
|
color:black;cursor:pointer;text-decoration:none;background:#cecece;
|
@@ -151,9 +152,6 @@
|
|
151
152
|
width:4px;
|
152
153
|
cursor:pointer;
|
153
154
|
}
|
154
|
-
.TS-notch:hover {
|
155
|
-
background:#cecece;
|
156
|
-
}
|
157
155
|
.TS-card_container {
|
158
156
|
position:absolute;
|
159
157
|
margin-left:-5px;
|
@@ -280,7 +278,7 @@
|
|
280
278
|
}
|
281
279
|
|
282
280
|
/* color priority */
|
283
|
-
/* "#065718", "#EDC047", "#91ADD1", "#929E5E", "#9E5E23", "#C44846", "#
|
281
|
+
/* "#065718", "#EDC047", "#91ADD1", "#929E5E", "#9E5E23", "#C44846", "#465363", "#EDD4A5", "#CECECE" */
|
284
282
|
|
285
283
|
/* default */
|
286
284
|
.TS-notch_color_default,.TS-series_legend_swatch_default {
|
@@ -361,13 +359,13 @@
|
|
361
359
|
|
362
360
|
/* 7 */
|
363
361
|
.TS-notch_color_7,.TS-series_legend_swatch_7 {
|
364
|
-
background-color: #
|
362
|
+
background-color: #465363 !important;
|
365
363
|
}
|
366
364
|
.TS-css_arrow_color_7 {
|
367
|
-
border-bottom-color:#
|
365
|
+
border-bottom-color:#465363 !important;
|
368
366
|
}
|
369
367
|
.TS-item_color_7 {
|
370
|
-
border-top:1px solid #
|
368
|
+
border-top:1px solid #465363 !important;
|
371
369
|
}
|
372
370
|
|
373
371
|
|
data/spec/test_data.csv
CHANGED
@@ -1,4 +1,7 @@
|
|
1
|
-
date,display_date,description,link,,series,
|
1
|
+
date,display_date,description,link,,series,html
|
2
2
|
"Feb. 18, 2003",,"Brock Savelkoul joins the Army and is stationed at Fort Riley, Kan., in the artillery division. His assigned position is artillery survey, meaning he prepares terrain for mounting artillery canon.",,,Brock Savelkoul,"<h2 class=""timeline-img-hed"">Savelkoul Joins the Army</h2><img src=""http://maps.google.com/maps/api/staticmap?size=300x200&markers=color:blue|Fort%20Riley,KS&sensor=false&zoom=6"" width=""300"" height=""200"">"
|
3
3
|
"Aug. 10, 2003",,"Savelkoul deploys to Iraq, where he is based at Camp Forehead, near the Mansour District of Baghdad. ",,,Brock Savelkoul,
|
4
4
|
"Dec. 1, 2003",December 2003,Savelkoul and his unit are ambushed in the Mansour district. Many of them are shaken by the experience.,,,Brock Savelkoul,
|
5
|
+
"Oct. 9, 2005",,"Savelkoul, who learned how to operate Ravens, or small surveillance drones used to fly above roads to make sure they're clear of bombs, is quoted in an article for a base newsletter: ""We're protecting them from the sky.""",http://www.dvidshub.net/publication/issues/0388,,Brock Savelkoul,
|
6
|
+
"Oct. 1, 2006",Oct-06,Junge leaves the Air Force.,,,Derrick Junge,
|
7
|
+
"Nov. 1, 2006 ",Nov-06,Junge enlists in the Army.,,,Derrick Junge,
|
@@ -5,8 +5,8 @@
|
|
5
5
|
<a href="#" class="TS-zoom TS-zoom_in"><span class="TS-controls_inner_text TS-zoom_inner_text">+</span></a>
|
6
6
|
<a href="#" class="TS-zoom TS-zoom_out"><span class="TS-controls_inner_text TS-zoom_inner_text">-</span></a>
|
7
7
|
|
8
|
-
<a href="#" class="TS-choose TS-choose_prev">«
|
9
|
-
<a href="#" class="TS-choose TS-choose_next"><span class="TS-controls_inner_text">Next</span
|
8
|
+
<a href="#" class="TS-choose TS-choose_prev">« <span class="TS-controls_inner_text">Previous</span></a>
|
9
|
+
<a href="#" class="TS-choose TS-choose_next"><span class="TS-controls_inner_text">Next</span> »</a>
|
10
10
|
</div>
|
11
11
|
<div class="TS-series_nav_container"></div>
|
12
12
|
</div>
|
@@ -49,7 +49,7 @@
|
|
49
49
|
<%%= card.get("description") %>
|
50
50
|
</div>
|
51
51
|
<%% if (!_.isEmpty(card.get("link"))){ %>
|
52
|
-
<
|
52
|
+
<a class="TS-read_btn" target="_blank" href="<%%= card.get("link") %>">Read More</a>
|
53
53
|
<%% } %>
|
54
54
|
|
55
55
|
<div class="TS-item_year">
|
data/timeline_setter.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{timeline_setter}
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Al Shaw", "Jeff Larson"]
|
12
|
-
s.date = %q{2011-04-
|
12
|
+
s.date = %q{2011-04-06}
|
13
13
|
s.default_executable = %q{timeline-setter}
|
14
14
|
s.description = %q{TimelineSetter is a tool to create HTML timelines from spreadsheets of events.}
|
15
15
|
s.email = %q{almshaw@gmail.com}
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: timeline_setter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 1
|
10
|
+
version: 0.1.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Al Shaw
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2011-04-
|
19
|
+
date: 2011-04-06 00:00:00 -04:00
|
20
20
|
default_executable: timeline-setter
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|