-
Notifications
You must be signed in to change notification settings - Fork 22
/
document.html
54 lines (49 loc) · 2.88 KB
/
document.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
{#-
Copyright (c) 2003-2009 Pavel Rychly
Copyright (c) 2013 Charles University in Prague, Faculty of Arts,
Institute of the Czech National Corpus
Copyright (c) 2013 Tomas Machalek <tomas.machalek@gmail.com>
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; version 2
dated June, 1991.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#}
{% extends "base_document.html" %}
{% block BaseConf %}
__conf.LoginUrl = {{ login_url|to_json }};
__conf.LogoutUrl = {{ logout_url|to_json }};
__conf.enabledWebsockets = {% if enabled_websockets %}true{% else %}false{% endif %};
__conf.anonymousUser = {% if _anonymous %}true{% else %}false{% endif %};
__conf.anonymousUserConcLoginPrompt = {{ anonymous_user_conc_login_prompt|to_json}} && !{{ disable_auclp|default(false, true)|to_json }};
__conf.userFullname = {{ user_info.fullname|to_json }};
__conf.userEmail = {{ user_info.email|to_json }};
__conf.corpusIdent = {{ corpus_ident|to_json }};
__conf.concPreflight = {{ conc_preflight|default(None, true)|to_json }};
__conf.baseAttr = {{ base_attr|to_json }};
__conf.currentArgs = {{ Globals|to_json }};
__conf.concUrlTTLDays = {{ conc_url_ttl_days|to_json }};
__conf.alignedCorpora = {{ aligned_corpora|default([], true)|to_json }};
__conf.availableAlignedCorpora = {{ Aligned|default([], true)|to_json }};
__conf.ttIntervalChars = {{ interval_chars|default([], true)|to_json }};
__conf.structsAndAttrs = {{ structs_and_attrs|default({}, true)|to_json }};
__conf.sentenceStruct = {{ sentence_struct|default(None, true)|to_json }};
__conf.docStruct = {{ doc_struct|default(None, true)|to_json }};
__conf.ShowConcToolbar = {{ use_conc_toolbar|to_json }};
__conf.queryOverview = {{ query_overview|default([], true)|to_json }};
__conf.numQueryOps = {%if query_overview is defined %}{{ query_overview|length }}{% else %}0{% endif %};
__conf.ShuffleMinResultWarning = {{ shuffle_min_result_warning|to_json }};
__conf.multilevelFreqDistMaxLevels = {{ multilevel_freq_dist_max_levels|to_json }};
__conf.canSendMail = {{ can_send_mail|to_json }};
__conf.TextDirectionRTL = {{ righttoleft|default(false, true)|to_json }};
__conf.InitialFreqLevel = {{ last_freq_level|default(1, true)|to_json }};
__conf.maxDispersionResolution = {{ max_dispersion_resulution|default(0, true)|to_json }};
__conf.PreflightTimeoutMs = {{ preflight_query_timeout_ms|to_json }};
__conf.manateeIsCustomCNC = {{ manatee_is_custom_cnc|to_json }};
{% endblock %}