forked from IFPRMENA/arabspatialblog3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pasteventsite.html
164 lines (103 loc) · 5.28 KB
/
pasteventsite.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
---
title: ''
---
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<link rel="shortcut icon" href="../../assets/ico/favicon.ico">
<title>Arab Spatial News</title>
<!-- Bootstrap core CSS -->
<link href="{{site.baseurl}}/bootstrap.css" rel="stylesheet">
<link href="{{site.baseurl}}/fontstyles.css" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="{{site.baseurl}}/mainStyle.css" rel="stylesheet">
<link href="{{site.baseurl}}/myFeedStyle.css" rel="stylesheet">
<link href="{{site.baseurl}}/animate.css" rel="stylesheet">
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
<!--Gotham-Book fonts-->
<link href="{{site.baseurl}}/fonts/GothaBolIta.css" rel="stylesheet" type="text/css" />
<link href="{{site.baseurl}}/fonts/GothaBoo.css" rel="stylesheet" type="text/css" />
<link href="{{site.baseurl}}/fonts/GothaBooIta.css" rel="stylesheet" type="text/css" />
<link href="{{site.baseurl}}/fonts/GothaLig.css" rel="stylesheet" type="text/css" />
<link href="{{site.baseurl}}/fonts/GothaLigIta.css" rel="stylesheet" type="text/css" />
<link href="{{site.baseurl}}/fonts/GothaMedIta.css" rel="stylesheet" type="text/css" />
<link href="{{site.baseurl}}/fonts/GothaMed.css" rel="stylesheet" type="text/css" />
<body>
<div class="bodyContainer clearfix grayBackground">
<div class="feedContainer clearfix grayBackground">
<div class="blogFeed clearfix">
<div class="blog-header clearfix">
<div class="blog-title floatleft">Past events</div>
<div class="eventButtonContainer clearfix">
<a href="{{site.baseurl}}/eventsite" ><button id="upcoming" type="button" class="btn btn-default btn-xs" >Upcoming</button></a>
<a href="{{site.baseurl}}/pasteventsite"><button id="past" type="button" class="btn btn-default btn-xs buttonActive" >Past</button></a>
</div>
</div>
<div class="postsContainer clearfix whiteBackground" style="height:710px;max-height:710px;overflow:auto;">
{% capture now %}{{ site.time | date: '%x' }}{% endcapture %}
<!-- <div>{{now}}</div> -->
<!-- /.blog-sidebar -->
{% for item in site.categories.event limit:100 %}
{% capture date %}{{ item.date | date: '%B %Y' }}{% endcapture %}
{% capture ndate %}{{ item.next.date | date: '%B %Y' }}{% endcapture %}
{% assign delimiter = ' - ' %}
{% capture verifydate %}{{ item.eventdate | date: '%x' }}{% endcapture %}
{% capture verifydate %}{{ verifydate | replace: delimiter, ' ' }}{% endcapture %}
{% capture myFirstWord %}{{ verifydate | truncatewords: 1 | remove: '...' }}{% endcapture %}
<!-- <div>{{verifydate}}</div> -->
{% if myFirstWord < now %}
<div id="{{item.title}}" class="feedevent clearfix" >
<div class="feedeventdate">
<!-- <div class="eventmonth">{{item.eventdate}}</div> -->
<!-- <div>{{myFirstWord}}</div> -->
<div class="feedeventday">{{item.eventdate}}</div>
</div>
<div class="eventtextContainer feedcol-sm-10">
<!-- <a class='item'>{{item.title}}</a> -->
{% if item.title %}
<div class="entryTitle"><a title="{{ item.id }}" class='eventItemTitle eventClickable feedeventItemTitle' href='{{site.baseurl}}{{item.url}}'>{{item.title }}</a></div>
<div class='feedeventLocation'>
{% if item.location %}
<div class="dateText" >Where: {{ item.location }}</div>
{% endif %}
</div>
<!-- <div class="summeryText" >{{ item.header}}</div> -->
{% endif %}
</div>
</div>
{% endif %}
{% endfor %}
</div><!-- /.blog-main -->
</div><!-- /.blog-sidebar -->
<div class="sidePanel">
</div>
</div><!-- /.row -->
<div id="google_translate_element2"></div>
</div><!-- /.container -->
</div>
<script type="text/javascript">
function googleTranslateElementInit() {
new google.translate.TranslateElement({pageLanguage: 'en', layout: google.translate.TranslateElement.InlineLayout.SIMPLE}, 'google_translate_element2');
}
</script><script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script src="http://code.jquery.com/jquery-1.9.0.js"></script>
<script src="http://twitter.github.io/typeahead.js/releases/latest/typeahead.bundle.js"></script>
<script>
$(".btn").on("click", function () {
});
$( ".btn" ).click(function() {
$( ".btn" ).removeClass( "buttonActive" );
$( this ).toggleClass( "buttonActive" );
console.log(this);
});
</script>
</body>
</html>