-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
index-bs3.html
176 lines (162 loc) · 7.8 KB
/
index-bs3.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
<!DOCTYPE html>
<html>
<head>
<title>Twitter Bootstrap jQuery Calendar component</title>
<meta name="description" content="Full view calendar component for twitter bootstrap with year, month, week, day views.">
<meta name="keywords" content="jQuery,Bootstrap,Calendar,HTML,CSS,JavaScript,responsive,month,week,year,day">
<meta name="author" content="Serhioromano">
<meta charset="UTF-8">
<link rel="stylesheet" href="components/bootstrap3/css/bootstrap.min.css">
<link rel="stylesheet" href="components/bootstrap3/css/bootstrap-theme.min.css">
<link rel="stylesheet" href="css/calendar.css">
<style type="text/css">
.btn-twitter {
padding-left: 30px;
background: rgba(0, 0, 0, 0) url(https://platform.twitter.com/widgets/images/btn.27237bab4db188ca749164efd38861b0.png) -20px 9px no-repeat;
}
.btn-twitter:hover {
background-position: -21px -16px;
}
</style>
</head>
<body>
<div class="container">
<div class="jumbotron">
<h1>Bootstrap Calendar Demo</h1>
<p>Bootstrap based full view calendar. Template based.</p>
<a class="btn btn-default btn-primary" href="https://github.com/Serhioromano/bootstrap-calendar">Fork on GitHub</a>
<a class="btn btn-default" href="index.html">Use bootstrap 2</a>
<a href="https://twitter.com/serhioromano" class="btn btn-default btn-twitter" data-show-count="false" data-size="large">Follow @serhioromano</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');
</script>
</div>
<div class="page-header">
<div class="pull-right form-inline">
<div class="btn-group">
<button class="btn btn-primary" data-calendar-nav="prev"><< Prev</button>
<button class="btn btn-default" data-calendar-nav="today">Today</button>
<button class="btn btn-primary" data-calendar-nav="next">Next >></button>
</div>
<div class="btn-group">
<button class="btn btn-warning" data-calendar-view="year">Year</button>
<button class="btn btn-warning active" data-calendar-view="month">Month</button>
<button class="btn btn-warning" data-calendar-view="week">Week</button>
<button class="btn btn-warning" data-calendar-view="day">Day</button>
</div>
</div>
<h3></h3>
<small>To see example with events navigate to march 2013</small>
</div>
<div class="row">
<div class="col-md-9">
<div id="calendar"></div>
</div>
<div class="col-md-3">
<div class="row">
<select id="first_day" class="form-control">
<option value="" selected="selected">First day of week language-dependant</option>
<option value="2">First day of week is Sunday</option>
<option value="1">First day of week is Monday</option>
</select>
<select id="language" class="form-control">
<option value="">Select Language (default: en-US)</option>
<option value="bg-BG">Bulgarian</option>
<option value="nl-NL">Dutch</option>
<option value="fr-FR">French</option>
<option value="de-DE">German</option>
<option value="el-GR">Greek</option>
<option value="hu-HU">Hungarian</option>
<option value="id-ID">Bahasa Indonesia</option>
<option value="it-IT">Italian</option>
<option value="pl-PL">Polish</option>
<option value="pt-BR">Portuguese (Brazil)</option>
<option value="ro-RO">Romania</option>
<option value="es-CO">Spanish (Colombia)</option>
<option value="es-MX">Spanish (Mexico)</option>
<option value="es-ES">Spanish (Spain)</option>
<option value="es-CL">Spanish (Chile)</option>
<option value="es-DO">Spanish (República Dominicana)</option>
<option value="ru-RU">Russian</option>
<option value="sk-SR">Slovak</option>
<option value="sv-SE">Swedish</option>
<option value="ko-KR">Korean</option>
<option value="zh-TW">繁體中文</option>
<option value="th-TH">Thai (Thailand)</option>
</select>
<label class="checkbox">
<input type="checkbox" value="#events-modal" id="events-in-modal"> Open events in modal window
</label>
<label class="checkbox">
<input type="checkbox" id="format-12-hours"> 12 Hour format
</label>
<label class="checkbox">
<input type="checkbox" id="show_wb" checked> Show week box
</label>
<label class="checkbox">
<input type="checkbox" id="show_wbn" checked> Show week box number
</label>
</div>
<h4>Events</h4>
<small>This list is populated with events dynamically</small>
<ul id="eventlist" class="nav nav-list"></ul>
</div>
</div>
<div class="clearfix"></div>
<br><br>
<div id="disqus_thread"></div>
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
<div class="modal fade" id="events-modal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3 class="modal-title">Event</h3>
</div>
<div class="modal-body" style="height: 400px">
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<script type="text/javascript" src="components/jquery/jquery.min.js"></script>
<script type="text/javascript" src="components/underscore/underscore-min.js"></script>
<script type="text/javascript" src="components/bootstrap3/js/bootstrap.min.js"></script>
<script type="text/javascript" src="components/jstimezonedetect/jstz.min.js"></script>
<script type="text/javascript" src="js/language/bg-BG.js"></script>
<script type="text/javascript" src="js/language/nl-NL.js"></script>
<script type="text/javascript" src="js/language/fr-FR.js"></script>
<script type="text/javascript" src="js/language/de-DE.js"></script>
<script type="text/javascript" src="js/language/el-GR.js"></script>
<script type="text/javascript" src="js/language/it-IT.js"></script>
<script type="text/javascript" src="js/language/hu-HU.js"></script>
<script type="text/javascript" src="js/language/pl-PL.js"></script>
<script type="text/javascript" src="js/language/pt-BR.js"></script>
<script type="text/javascript" src="js/language/ro-RO.js"></script>
<script type="text/javascript" src="js/language/es-CO.js"></script>
<script type="text/javascript" src="js/language/es-MX.js"></script>
<script type="text/javascript" src="js/language/es-ES.js"></script>
<script type="text/javascript" src="js/language/es-CL.js"></script>
<script type="text/javascript" src="js/language/es-DO.js"></script>
<script type="text/javascript" src="js/language/ru-RU.js"></script>
<script type="text/javascript" src="js/language/sk-SR.js"></script>
<script type="text/javascript" src="js/language/sv-SE.js"></script>
<script type="text/javascript" src="js/language/zh-TW.js"></script>
<script type="text/javascript" src="js/language/cs-CZ.js"></script>
<script type="text/javascript" src="js/language/ko-KR.js"></script>
<script type="text/javascript" src="js/language/id-ID.js"></script>
<script type="text/javascript" src="js/language/th-TH.js"></script>
<script type="text/javascript" src="js/calendar.js"></script>
<script type="text/javascript" src="js/app.js"></script>
<script type="text/javascript">
var disqus_shortname = 'bootstrapcalendar'; // required: replace example with your forum shortname
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
</div>
</body>
</html>