forked from JetBrains/kotlin-web-site
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgroups.html
47 lines (42 loc) · 2.03 KB
/
groups.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
{% set restyled="v1" %}
{% extends 'base.html' %}
{% block content %}
<div class="g-grid">
<aside class="g-3">
<a class="kto-button kto-button_theme_dark kto-button_size_m kto-button_mode_primary community-kug-submit"
href="https://surveys.jetbrains.com/s3/submit-a-local-kotlin-user-group" target="_blank">Start a new KUG</a>
<div class="js-side-tree-nav">
{% for data in nav.groups.content %}
<div class="tree-item tree-leaf js-item js-leaf {{ data.class }}">
{% if data.is_active %}
<div class="tree-item-title tree-leaf-title js-item-title js-leaf-title is_active {{ data.title_class }}">
<div class="marker"></div>
<div class="text">{{ data.title }}</div>
</div>
{% else %}
{% set domain_link = get_domain(data.url) %}
<a href="{{ data.url }}" {% if domain_link %} target="_blank" {% endif %}
class="tree-item-title tree-leaf-title js-item-title js-leaf-title {{ data.title_class }}"
{% if data.title_arguments %}{{ print_arguments(data.title_arguments) }}{% endif %}
>
<span class="marker"></span>
<span class="text">{{ data.title }}</span>
</a>
{% endif %}
</div>
{% endfor %}
</div>
</aside>
<article role="main" class="page-content g-9">
{% block page_content %}
{{ page.html | safe }}
{% endblock %}
</article>
</div>
{% endblock %}
{% block scripts %}
<script src="{{ url_for('static', filename='community.js')|autoversion }}"></script>
{% endblock %}
{% block styles %}
<link rel="stylesheet" href="{{ url_for('static', filename='community.css')|autoversion }}">
{% endblock %}