-
Notifications
You must be signed in to change notification settings - Fork 16
/
index.html
266 lines (248 loc) · 13.2 KB
/
index.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
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
{% extends "layouts/public_base.html" %}
{% block body_class %}homepage{% endblock %}
{% block extra_header %}
<div class="homepage__background">
<section class="homepage__search">
<div class="container">
<p class="label">Directory of Open Access Journals</p>
<h1>Find open access journals & articles.</h1>
<form class="row doaj-minisearch--container" role="search" action="{{ url_for('doaj.search_post') }}" method="post">
<input type="hidden" name="ref" value="homepage-box">
<input type="hidden" name="origin" value="ui">
<div class="col-xs-12 col-md-8">
<input type="radio" id="journals" name="content-type" value="journals" checked>
<label for="journals">Journals</label>
<input type="radio" id="articles" name="content-type" value="articles">
<label for="articles">Articles</label>
</div>
<div class="col-xs-12 col-md-8">
<div class="input-group">
<label for="keywords" class="sr-only">Search by keywords:</label>
<input class="input-group__input" type="text" name="keywords" id="keywords" required>
<label for="fields" class="sr-only">In the field:</label>
<select class="input-group__input" name="fields" id="fields">
<option value="all">In all fields</option>
<option value="title">Title</option>
<option value="issn">ISSN</option>
<option value="subject">Subject</option>
<option value="publisher">Publisher</option>
<option value="country">Country of publisher</option>
</select>
<button class="input-group__input label" type="submit">Search</button>
</div>
</div>
</form>
<section class="row row--scrollable">
<h2 class="sr-only">DOAJ in numbers</h2>
<p class="col-md-2 stat">
<span class="stat__number">80</span>
<span class="stat__description">languages</span>
</p>
<p class="col-md-2 stat">
<span class="stat__number">{{ statistics.countries }}</span>
<span class="stat__description">countries represented</span>
</p>
<p class="col-md-2 stat">
{% set source = search_query_source(term=[{"bibjson.apc.has_apc":False},{"bibjson.other_charges.has_other_charges":False}]) %}
<a href='{{ url_for('doaj.journals_search') }}?source={{ source }}'>
<span class="stat__number">{{ statistics.no_apc }}</span>
<span class="stat__description">journals without fees</span>
</a>
</p>
<p class="col-md-2 stat">
<a href="{{ url_for('doaj.journals_search') }}">
<span class="stat__number">{{ statistics.journals }}</span>
<span class="stat__description">journals</span>
</a>
</p>
<p class="col-md-2 stat">
<a href="{{ url_for('doaj.articles_search') }}">
<span class="stat__number">{{ statistics.abstracts }}</span>
<span class="stat__description">article records</span>
</a>
</p>
</section>
</div>
</section>
</div>
{% endblock %}
{% block content %}
<div class="page-content">
<!-- About -->
<section class="highlight bg-black homepage__about">
<div class="container">
<div class="row">
<article class="col-sm-6">
<h2 class="label">About the directory</h2>
<p>DOAJ is a unique and extensive index of diverse open access journals from around the world, driven by a growing community, and is committed to ensuring quality content is freely available online for everyone.</p>
<p>DOAJ is committed to keeping its services free of charge, including being indexed, and its data freely available.</p>
<p>→ <a href="{{ url_for('doaj.about') }}">About DOAJ</a></p>
<p>→ <a href="{{ url_for('doaj.guide') }}">How to apply</a></p>
<p>
<a href="{{ url_for('apply.public_application') }}" class="button">Apply now</a>
</p>
<p>DOAJ is twenty years old in 2023.</p>
<p>
<a href="{{ url_for('doaj.at_20') }}" class="button">Fund our 20th anniversary campaign</a>
</p>
</article>
<article class="col-sm-6">
<h2 class="label">Funding</h2>
<p>
DOAJ is independent. All support is via donations.
</p>
<div class="row">
<p class="col-xs-6 stat">
<span class="stat__number">82%</span>
<span class="stat__description">
<a href="{{ url_for('doaj.supporters') }}">from academic organisations</a>
</span>
</p>
<p class="col-xs-6 stat">
<span class="stat__number">18%</span>
<span class="stat__description">
<a href="{{ url_for('doaj.publisher_supporters') }}">from contributors</a>
</span>
</p>
</div>
<p>
<a href="{{ url_for('doaj.support') }}" class="button">Support DOAJ</a>
</p>
<p>
Publishers don't need to donate to be part of DOAJ.
</p>
</article>
</div>
</div>
</section>
<!-- Blog -->
<section class="hero homepage__blog">
<div class="container">
<h2 class="label label--secondary">News Service</h2>
<div class="row">
{# Latest posts #}
<div class="col-md-8">
<div class="row">
{% for n in news %}
<article class="col-sm-4 col-md-4">
<a href="{{ n.url }}" target="_blank" rel="noopener">
<time datetime="{{ n.published }}"><small class="label label--tertiary">{{ n.published_formatted() }}</small></time>
<h3>{{ n.title|safe }}</h3>
</a>
</article>
{% endfor %}
</div>
</div>
{# Twitter feed #}
<aside class="col-md-4">
<div class="card" style="max-height: 50vh; overflow-y: scroll;">
<h2 class="label"><a href="https://twitter.com/DOAJplus" target="_blank" rel="noopener">Posts by @doajplus</a></h2>
<a class="twitter-timeline" data-chrome="transparent noheader" href="https://twitter.com/DOAJplus?ref_src=twsrc%5Etfw">Posts by DOAJplus</a> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
</div>
</aside>
</div>
<p><a href="https://blog.doaj.org/" class="button" target="_blank" rel="noopener">→ All blog posts</a></p>
{# TODO: we don't have the mechanics for special themed posts yet
<!-- Special / themed posts; when none: display Twitter feed -->
<section class="col-md-4 homepage__themed-post">
<h3 class="label">Special post series: Myth busting</h3>
<ol>
<li>
<article>
<a href="">
<h4>Myth: “All open access journals can be listed on DOAJ”</h4>
</a>
<time datetime="2019-10-03"><small>3 Oct 2019</small></time>
</article>
</li>
<li>
<article>
<a href="">
<h4>Myth: “Journals must meet the DOAJ seal criteria to be indexed”</h4>
</a>
<time datetime="2019-10-03"><small>3 Oct 2019</small></time>
</article>
</li>
<li>
<article>
<a href="">
<h4>Myth: “DOAJ indexes predatory journals”</h4>
</a>
<time datetime="2019-10-03"><small>3 Oct 2019</small></time>
</article>
</li>
</ol>
</section>
#}
</div>
</section>
<!-- Volunteers -->
<section class="bg-black homepage__volunteers">
<div class="container">
<header>
<h2 class="label">Volunteers</h2>
<p>We would not be able to work without our volunteers, such as these top-performing editors and associate editors.</p>
<p><a href="{{ url_for('doaj.volunteers') }}" class="button">→ Meet our volunteers</a></p>
</header>
<div class="row">
{% for volunteer in data.volunteers.ed %}
{% if volunteer.featured == true %}
<article class="col-md-3">
{# TODO: Still need volunteer photos
<figure class="portrait portrait__img--split">
<div class="portrait__bg portrait__bg-img--3d" style="background-image: url('../../img/team/clara.jpg')" alt="Portrait of {{ volunteer.name }}"></div>
</figure>#}
<p class="label label--secondary"><small>{{ volunteer.area }}</small></p>
<h3>{{ volunteer.name }}</h3>
<p>{{ volunteer.city }}, {{ volunteer.country }} ({{ volunteer.language }})</p>
</article>
{% endif %}
{% endfor %}
{% for volunteer in data.volunteers.ass_ed %}
{% if volunteer.featured == true %}
<article class="col-md-3">
{# TODO: Still need volunteer photos
<figure class="portrait portrait__img--split">
<div class="portrait__bg portrait__bg-img--3d" style="background-image: url('../../img/team/clara.jpg')" alt="Portrait of {{ volunteer.name }}"></div>
</figure>#}
<p class="label label--secondary"><small>{{ volunteer.area }}</small></p>
<h3>{{ volunteer.name }}</h3>
<p>{{ volunteer.city }}, {{ volunteer.country }} ({{ volunteer.language }})</p>
</article>
{% endif %}
{% endfor %}
</div>
</div>
</section>
<!-- New journals -->
<section class="bg-white">
<div class="container">
<div class="row">
<header class="col-sm-4">
<div class="card">
<header class="card__header">
<h2 class="label label--secondary">Recently-added journals</h2>
</header>
<p>DOAJ’s team of managing editors, editors, and volunteers work with publishers to index new journals. As soon as they’re accepted, these journals are displayed on our website freely accessible to everyone.</p>
{# TODO: Make sure these links work #}
<p>→ <a href="{{ url_for('atom.feed') }}">See Atom feed</a></p>
<p>→ <a href="https://docs.google.com/spreadsheets/d/1Kv3MbgFSgtSDnEGkA2JacrSjunRu0umHeZCtcMeqO5E/edit?usp=sharing">A log of journals added (and withdrawn)</a></p>
<p>→ <a href="{{ url_for('doaj.csv_data') }}">DOWNLOAD all journals as CSV</a></p>
</div>
</header>
<div class="col-sm-8">
<ul class="row row--scrollable title-list">
{% for r in recent_journals %}
{% if r.bibjson().get_preferred_issn() %}
<li class="col-xs-4 col-md-3 col-lg-3">
<a href="{{ url_for('doaj.toc', identifier=r.bibjson().get_preferred_issn()) }}" class="title-list__link">{{ r.bibjson().title }}</a>
</li>
{% endif %}
{% endfor %}
</ul>
</div>
</div>
</div>
</section>
</div>
{% endblock %}