Skip to content

Commit bc519e2

Browse files
Estanislau TrepatEstanislau Trepat
authored andcommitted
example site revamp
1 parent 00f0a3d commit bc519e2

File tree

3 files changed

+24
-23
lines changed

3 files changed

+24
-23
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,11 @@ Notes:
5252
- All dependencies are bundled on the `lib` directory at what version they
5353
were when this component was written.
5454

55-
## TODO
55+
## Localization
5656

57+
Localization can be accomplished by modifying the strings present in `RangePickerOptions.Locale`
58+
object. Also, as this project relies on the [Datejs](http://code.google.com/p/datejs/) library for
59+
date manipulation, dropping a localized *culture info file* will do the job for date formats, day names, etc.
5760

5861
---
5962

example/index.html

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="es" lang="es">
44
<head>
55
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
6-
<title>Simple Range Picker js component | GitHub</title>
6+
<title>Simple Range Picker component | GitHub</title>
77
<link rel="stylesheet" href="stylesheets/main.css" type="text/css" media="all" charset="utf-8" />
88
<link rel="stylesheet" href="stylesheets/rangepicker.css" type="text/css" media="screen" charset="utf-8" />
99
</head>
@@ -42,7 +42,7 @@ <h2>Documentation</h2>
4242
<p><a href="https://github.com/etrepat/simple-range-picker/blob/master/README.md">README</a></p>
4343

4444
<h2>Example</h2>
45-
<p>Please, picka a date range...</p>
45+
<p>Please, pick a date range from the component below:</p>
4646
<div id="rangepicker"></div>
4747
<p>Generated from the code below (check source code for more detail):</p>
4848
<pre><code>
@@ -66,16 +66,24 @@ <h2>Download</h2>
6666
</p>
6767
<p>You can also clone the project with <a href="http://git-scm.com">Git</a>
6868
by running:
69-
<pre>$ git clone git://github.com/eventmachine/eventmachine</pre>
69+
<pre>$ git clone git://github.com/etrepat/simple-range-picker.git</pre>
7070
</p>
7171

7272
<h2>Dependencies</h2>
73+
<p>This project depends on the following libraries:</p>
74+
<ul>
75+
<li><a href="http://prototypejs.org" title="Prototype">Prototype</a> 1.6 or higher</li>
76+
<li><a href="http://code.google.com/p/datejs/" title="Datejs">Datejs</a> 1.0 Alpha-1 or higher</li>
77+
<li><em>(optional)</em> <a href="http://script.aculo.us" title="Script.aculo.us">Script.aculo.us</a> 1.8.0 o higher (If present, some effects are used)</li>
78+
</ul>
7379

7480
<h2>Localization</h2>
75-
<p>Localization with <em>SimpleRangePicker</em> can be accomplished by modifying
76-
the strings present in <code>RangePickerOptions.Locale</code> object.</p>
77-
<p>Also, as this project uses DateJS for date manipulation, dropping a localized
78-
culture info file will do the job for date formats, day names, etc.</p>
81+
<p>Localization can be accomplished by modifying the strings present in <code>RangePickerOptions.Locale</code> object. Also, as this project relies on the <a href="http://code.google.com/p/datejs/" title="Datejs">Datejs</a> library for date manipulation, dropping a localized <em>culture info file</em> will do the job for date formats, day names, etc.</p>
82+
83+
<h2>Contact</h2>
84+
<p>Coded by <a href="http://etrepat.com" title="Estanislau Trepat">Estanislau Trepat</a>.
85+
Released under the terms of the <a href="ttp://www.opensource.org/licenses/mit-license.php" title="MIT License">MIT License</a></p>
86+
<p>You may reach me with questions/comments at <a href="mailto:estanis@etrepat.com" title="estanis@etrepat.com">estanis@etrepat.com</a></p>
7987

8088
<div class="footer">
8189
get the source code on GitHub:

example/stylesheets/main.css

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,13 @@
1-
* {
2-
margin: 0;
3-
padding: 0;
4-
}
5-
61
body {
7-
margin-top: 1.0em;
8-
font-family: "Helvetica,Arial,FreeSans";
2+
font-family: Arial, Verdana, sans-serif;
3+
margin-top: 1em;
94
color: #222222;
105
}
11-
12-
#container {
13-
margin: 0 auto;
14-
width: 700px;
15-
}
16-
17-
h1 { font-size: 3.8em; color: #333333; margin-bottom: 3px; }
6+
#container { margin: 0 auto; width: 700px; }
7+
h1 { font-size: 3em; color: #333333; margin-bottom: 3px; }
188
h1 .small { font-size: 0.4em; }
199
h1 a { text-decoration: none }
20-
h2 { font-size: 1.5em; color: #333333; }
10+
h2 { font-size: 1.5em; color: #333333; margin-top: 1.5em; }
2111
h3 { text-align: center; color: #333333; }
2212
a { color: #333333; }
2313
.description { font-size: 1.2em; margin-bottom: 30px; margin-top: 30px; font-style: italic;}

0 commit comments

Comments
 (0)