2020-08-28 03:21:55 +00:00
|
|
|
{% extends ../base.html %}
|
|
|
|
|
|
|
|
{% block meta %}
|
|
|
|
{% end %}
|
|
|
|
|
2022-03-05 11:01:36 +00:00
|
|
|
{% block title %}Crafty Controller - {{ translate('credits', 'pageTitle', data['lang']) }}{% end %}
|
2020-08-28 03:21:55 +00:00
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
|
|
|
|
<div class="content-wrapper">
|
|
|
|
|
2022-03-05 12:59:19 +00:00
|
|
|
<!-- Page Title Header Starts-->
|
2020-08-28 03:21:55 +00:00
|
|
|
<div class="row page-title-header">
|
|
|
|
<div class="col-12">
|
|
|
|
<div class="page-header">
|
2022-03-05 11:01:36 +00:00
|
|
|
<h4 class="page-title">{{ translate('credits', 'pageTitle', data['lang']) }}
|
|
|
|
<small>{{ translate('credits', 'pageDescription', data['lang']) }}</small>
|
2020-08-28 03:21:55 +00:00
|
|
|
</h4>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<!-- Page Title Header Ends-->
|
|
|
|
|
2022-03-05 12:59:19 +00:00
|
|
|
<div class="card">
|
|
|
|
<div class="card-header header-sm d-flex justify-content-between align-items-center">
|
2023-02-03 20:59:52 +00:00
|
|
|
<h4 class="card-title"><i class="fa-solid fa-code-merge"></i> {{ translate('credits', 'developmentTeam',
|
|
|
|
data['lang'])
|
2022-05-23 21:21:32 +00:00
|
|
|
}}</h4>
|
2022-03-05 12:59:19 +00:00
|
|
|
</div>
|
|
|
|
<div class="card-body">
|
|
|
|
<div class="row">
|
|
|
|
{% for person in data['staff']['development'] %}
|
|
|
|
<div class="col-lg-6 mb-5">
|
|
|
|
<div class="card rounded shadow-none">
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-4" style="max-width: fit-content;">
|
|
|
|
|
|
|
|
<div class="user-avatar mb-auto">
|
|
|
|
{% if person['pic'] %}
|
|
|
|
<img src="{{ person['pic'] }}" alt="profile image" class="profile-img img-lg rounded-circle">
|
|
|
|
{% else %}
|
|
|
|
<div alt="profil image" class="profile-img img-lg rounded-circle">
|
2022-05-23 21:21:32 +00:00
|
|
|
<img src="/static/assets/images/credits/user-circle-solid.svg" alt="profile image"
|
|
|
|
class="profile-img img-lg rounded-circle">
|
2022-03-05 12:59:19 +00:00
|
|
|
</div>
|
|
|
|
{% end %}
|
|
|
|
</div>
|
2020-08-28 03:21:55 +00:00
|
|
|
|
2022-03-05 12:59:19 +00:00
|
|
|
<div class="wrapper">
|
|
|
|
<div class="wrapper d-flex align-items-center">
|
|
|
|
<h4 class="mb-0 font-weight-medium">{{ person['name'] }}</h4>
|
2020-08-28 03:21:55 +00:00
|
|
|
</div>
|
|
|
|
|
2022-03-05 12:59:19 +00:00
|
|
|
<div class="wrapper d-flex align-items-center font-weight-medium text-muted">
|
|
|
|
{% if person['loc'] %}
|
|
|
|
<i class="mdi mdi-map-marker-outline mr-2"></i>
|
|
|
|
<p class="mb-0 text-muted">{{ person['loc'] }}</p>
|
|
|
|
{% end %}
|
|
|
|
</div>
|
2020-08-28 03:21:55 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2022-03-05 12:59:19 +00:00
|
|
|
<div class="col-md-8">
|
|
|
|
<div class="wrapper d-flex align-items-start">
|
|
|
|
{% if person['tags'][0] %}
|
|
|
|
<span class="btn btn-sm btn-info mr-2">{{ person['tags'][0] }}</span>
|
|
|
|
{% end %}
|
|
|
|
{% if person['tags'][1] %}
|
|
|
|
{% if type(person['tags'][1]) is list %}
|
2022-05-23 21:21:32 +00:00
|
|
|
<a href="{{ person['tags'][1][1] }}" class="btn btn-sm btn-primary mr-2">{{ person['tags'][1][0]
|
|
|
|
}}</a>
|
2022-03-05 12:59:19 +00:00
|
|
|
{% else %}
|
|
|
|
<span class="btn btn-sm btn-primary mr-2">{{ person['tags'][1] }}</span>
|
|
|
|
{% end %}
|
|
|
|
{% end %}
|
|
|
|
{% if person['tags'][2] %}
|
|
|
|
{% if type(person['tags'][2]) is list %}
|
2022-05-23 21:21:32 +00:00
|
|
|
<a href="{{ person['tags'][2][1] }}" class="btn btn-sm btn-inverse-success mr-2">{{
|
|
|
|
person['tags'][2][0] }}</a>
|
2022-03-05 12:59:19 +00:00
|
|
|
{% else %}
|
|
|
|
<span class="btn btn-sm btn-inverse-success mr-2">{{ person['tags'][2] }}</span>
|
|
|
|
{% end %}
|
|
|
|
{% end %}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="wrapper align-items-start pt-3">
|
|
|
|
{% if person['title'] %}
|
|
|
|
<h5><strong>Crafty's {{ person['title'] }}</strong></h5>
|
|
|
|
{% end %}
|
|
|
|
<p>{{ person['blurb'] }}</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-08-28 03:21:55 +00:00
|
|
|
|
2021-03-13 17:07:04 +00:00
|
|
|
</div>
|
2022-03-05 12:59:19 +00:00
|
|
|
</div>
|
|
|
|
{% end %}
|
|
|
|
</div>
|
|
|
|
</div> <!-- end of user row -->
|
|
|
|
</div>
|
2020-08-28 03:21:55 +00:00
|
|
|
|
2022-03-05 12:59:19 +00:00
|
|
|
<br />
|
2020-08-28 18:38:42 +00:00
|
|
|
|
2022-03-05 12:59:19 +00:00
|
|
|
<div class="card">
|
|
|
|
<div class="card-header header-sm d-flex justify-content-between align-items-center">
|
|
|
|
<h4 class="card-title"><i class="fa fa-book"></i> {{ translate('credits', 'supportTeam', data['lang'])
|
|
|
|
}}</h4>
|
|
|
|
</div>
|
|
|
|
<div class="card-body">
|
|
|
|
<div class="row">
|
|
|
|
{% for person in data['staff']['support'] %}
|
|
|
|
<div class="col-lg-6 mb-5">
|
|
|
|
<div class="card rounded shadow-none">
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-4" style="max-width: fit-content;">
|
|
|
|
|
|
|
|
<div class="user-avatar mb-auto">
|
|
|
|
{% if person['pic'] %}
|
|
|
|
<img src="{{ person['pic'] }}" alt="profile image" class="profile-img img-lg rounded-circle">
|
|
|
|
{% else %}
|
|
|
|
<div alt="profil image" class="profile-img img-lg rounded-circle">
|
2022-05-23 21:21:32 +00:00
|
|
|
<img src="/static/assets/images/credits/user-circle-solid.svg" alt="profile image"
|
|
|
|
class="profile-img img-lg rounded-circle">
|
2022-03-05 12:59:19 +00:00
|
|
|
</div>
|
|
|
|
{% end %}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="wrapper">
|
|
|
|
<div class="wrapper d-flex align-items-center">
|
|
|
|
<h4 class="mb-0 font-weight-medium">{{ person['name'] }}</h4>
|
2020-08-28 18:38:42 +00:00
|
|
|
</div>
|
|
|
|
|
2022-03-05 12:59:19 +00:00
|
|
|
<div class="wrapper d-flex align-items-center font-weight-medium text-muted">
|
|
|
|
{% if person['loc'] %}
|
|
|
|
<i class="mdi mdi-map-marker-outline mr-2"></i>
|
|
|
|
<p class="mb-0 text-muted">{{ person['loc'] }}</p>
|
|
|
|
{% end %}
|
|
|
|
</div>
|
2020-08-28 18:38:42 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2022-03-05 12:59:19 +00:00
|
|
|
<div class="col-md-8">
|
|
|
|
<div class="wrapper d-flex align-items-start">
|
|
|
|
{% if person['tags'][0] %}
|
|
|
|
<span class="btn btn-sm btn-info mr-2">{{ person['tags'][0] }}</span>
|
|
|
|
{% end %}
|
|
|
|
{% if person['tags'][1] %}
|
|
|
|
{% if type(person['tags'][1]) is list %}
|
2022-05-23 21:21:32 +00:00
|
|
|
<a href="{{ person['tags'][1][1] }}" class="btn btn-sm btn-primary mr-2">{{ person['tags'][1][0]
|
|
|
|
}}</a>
|
2022-03-05 12:59:19 +00:00
|
|
|
{% else %}
|
|
|
|
<span class="btn btn-sm btn-primary mr-2">{{ person['tags'][1] }}</span>
|
|
|
|
{% end %}
|
|
|
|
{% end %}
|
|
|
|
{% if person['tags'][2] %}
|
|
|
|
{% if type(person['tags'][2]) is list %}
|
2022-05-23 21:21:32 +00:00
|
|
|
<a href="{{ person['tags'][2][1] }}" class="btn btn-sm btn-inverse-success mr-2">{{
|
|
|
|
person['tags'][2][0] }}</a>
|
2022-03-05 12:59:19 +00:00
|
|
|
{% else %}
|
|
|
|
<span class="btn btn-sm btn-inverse-success mr-2">{{ person['tags'][2] }}</span>
|
|
|
|
{% end %}
|
|
|
|
{% end %}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="wrapper align-items-start pt-3">
|
|
|
|
{% if person['title'] %}
|
|
|
|
<h5><strong>{{ person['title'] }}</strong></h5>
|
|
|
|
{% end %}
|
|
|
|
<p>{{ person['blurb'] }}</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-08-28 18:38:42 +00:00
|
|
|
|
2021-03-13 17:07:04 +00:00
|
|
|
</div>
|
2022-03-05 12:59:19 +00:00
|
|
|
</div>
|
|
|
|
{% end %}
|
|
|
|
</div>
|
|
|
|
</div> <!-- end user row-->
|
|
|
|
</div>
|
2020-08-28 18:38:42 +00:00
|
|
|
|
2022-03-05 12:59:19 +00:00
|
|
|
<br />
|
|
|
|
|
|
|
|
<div class="card">
|
|
|
|
<div class="card-header header-sm d-flex justify-content-between align-items-center">
|
2023-02-03 20:59:52 +00:00
|
|
|
<h4 class="card-title"><i class="fa-solid fa-thumbtack"></i> {{ translate('credits', 'retiredStaff',
|
|
|
|
data['lang'])
|
2022-05-23 21:21:32 +00:00
|
|
|
}}</h4>
|
2022-03-05 12:59:19 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="card-body">
|
|
|
|
<div class="row">
|
|
|
|
{% for person in data['staff']['retired'] %}
|
|
|
|
<div class="col-lg-6 mb-5">
|
|
|
|
<div class="card rounded shadow-none">
|
2022-05-23 21:21:32 +00:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-4" style="max-width: fit-content;">
|
|
|
|
<div class="card-img-top user-avatar mb-auto">
|
|
|
|
{% if person['pic'] %}
|
|
|
|
<img src="{{ person['pic'] }}" alt="profile image" class="profile-img img-lg rounded-circle">
|
|
|
|
{% else %}
|
|
|
|
<div alt="profil image" class="profile-img img-lg rounded-circle">
|
|
|
|
<img src="/static/assets/images/credits/user-circle-solid.svg" alt="profile image">
|
2020-12-23 15:16:42 +00:00
|
|
|
</div>
|
2022-05-23 21:21:32 +00:00
|
|
|
{% end %}
|
2022-03-05 12:59:19 +00:00
|
|
|
</div>
|
|
|
|
|
2022-05-23 21:21:32 +00:00
|
|
|
<div class="wrapper">
|
|
|
|
<div class="wrapper d-flex align-items-center">
|
|
|
|
<h4 class="mb-0 font-weight-medium">{{ person['name'] }}</h4>
|
2022-03-05 12:59:19 +00:00
|
|
|
</div>
|
2020-12-23 15:16:42 +00:00
|
|
|
|
2022-05-23 21:21:32 +00:00
|
|
|
<div class="wrapper d-flex align-items-center font-weight-medium text-muted">
|
|
|
|
{% if person['loc'] %}
|
|
|
|
<i class="mdi mdi-map-marker-outline mr-2"></i>
|
|
|
|
<p class="mb-0 text-muted">{{ person['loc'] }}</p>
|
2022-03-05 12:59:19 +00:00
|
|
|
{% end %}
|
|
|
|
</div>
|
2020-12-23 15:16:42 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2022-05-23 21:21:32 +00:00
|
|
|
<div class="col-md-8">
|
|
|
|
<div class="wrapper d-flex align-items-start">
|
|
|
|
{% if person['tags'][0] %}
|
|
|
|
<span class="btn btn-sm btn-info mr-2">{{ person['tags'][0] }}</span>
|
|
|
|
{% end %}
|
|
|
|
{% if person['tags'][1] %}
|
|
|
|
{% if type(person['tags'][1]) is list %}
|
|
|
|
<a href="{{ person['tags'][1][1] }}" class="btn btn-sm btn-primary mr-2">{{ person['tags'][1][0]
|
|
|
|
}}</a>
|
|
|
|
{% else %}
|
|
|
|
<span class="btn btn-sm btn-primary mr-2">{{ person['tags'][1] }}</span>
|
|
|
|
{% end %}
|
|
|
|
{% end %}
|
|
|
|
{% if person['tags'][2] %}
|
|
|
|
{% if type(person['tags'][2]) is list %}
|
|
|
|
<a href="{{ person['tags'][2][1] }}" class="btn btn-sm btn-inverse-success mr-2">{{
|
|
|
|
person['tags'][2][0] }}</a>
|
|
|
|
{% else %}
|
|
|
|
<span class="btn btn-sm btn-inverse-success mr-2">{{ person['tags'][2] }}</span>
|
|
|
|
{% end %}
|
|
|
|
{% end %}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="wrapper align-items-start pt-3">
|
|
|
|
{% if person['title'] %}
|
|
|
|
<h5><strong>{{ person['title'] }}</strong></h5>
|
|
|
|
{% end %}
|
|
|
|
<p>{{ person['blurb'] }}</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-03-05 12:59:19 +00:00
|
|
|
</div>
|
2022-05-23 21:21:32 +00:00
|
|
|
|
2022-03-05 12:59:19 +00:00
|
|
|
</div>
|
2022-05-23 21:21:32 +00:00
|
|
|
</div>
|
|
|
|
{% end %}
|
|
|
|
</div> <!-- end user row-->
|
2020-08-28 03:21:55 +00:00
|
|
|
</div>
|
2022-05-23 21:21:32 +00:00
|
|
|
</div>
|
2020-08-28 18:38:42 +00:00
|
|
|
|
2022-05-23 21:21:32 +00:00
|
|
|
<br />
|
2020-08-28 18:38:42 +00:00
|
|
|
|
2022-05-23 21:21:32 +00:00
|
|
|
<div class="row">
|
2022-03-05 12:59:19 +00:00
|
|
|
|
2022-05-23 21:21:32 +00:00
|
|
|
<div class="col-lg-6 grid-margin stretch-card">
|
|
|
|
<div class="card">
|
|
|
|
<div class="card-header header-sm d-flex justify-content-between align-items-center">
|
|
|
|
<h4 class="card-title"><i class="fab fa-patreon"></i> {{ translate('credits', 'patreonSupporter',
|
|
|
|
data['lang'])
|
|
|
|
}} <i class="fa fa-coffee"></i></h4>
|
|
|
|
</div>
|
|
|
|
<div class="card-body">
|
|
|
|
<p class="card-description"> {{ translate('credits', 'hugeDesc', data['lang']) }}
|
|
|
|
<code>{{ translate('credits', 'thankYou', data['lang']) }}</code> {{ translate('credits',
|
|
|
|
'patreonDesc', data['lang']) }} | <span style="color: #9365B8">{{ translate('credits', 'patreonUpdate',
|
|
|
|
data['lang']) }} {{ data["lastUpdate"] }}</span>
|
|
|
|
</p>
|
|
|
|
<table class="table table-hover">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>{{ translate('credits', 'subscriberName', data['lang']) }}</th>
|
|
|
|
<th>{{ translate('credits', 'subscriptionLevel', data['lang']) }}</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{% for pat in data["patrons"] %}
|
|
|
|
<tr>
|
|
|
|
<td>{{ pat["name"] }}</td>
|
|
|
|
<td>
|
|
|
|
{% if pat["level"] == "Crafty Sustainer" %}
|
|
|
|
<span class="btn btn-sm btn-info mr-2">Sustainer</span>
|
|
|
|
{% elif pat["level"] == "Crafty Advocate" %}
|
|
|
|
<span class="btn btn-sm btn-primary mr-2">Advocate</span>
|
|
|
|
{% elif pat["level"] == "Crafty Supporter" %}
|
|
|
|
<span class="btn btn-sm btn-inverse-success mr-2">Supporter</span>
|
|
|
|
{% else %}
|
|
|
|
<span class="btn btn-sm btn-secondary mr-2">{{ translate('credits', 'patreonOther', data['lang'])
|
|
|
|
}}</span>
|
|
|
|
{% end %}
|
|
|
|
{% if pat["source"] == "Patreon" %}
|
|
|
|
<span class="badge badge-pill badge-info"><i class="fab fa-patreon"></i> Patreon</span>
|
|
|
|
{% elif pat["source"] == "Ko-fi" %}
|
|
|
|
<span class="badge badge-pill badge-primary"><i class="fa fa-coffee"></i> Ko-fi</span>
|
|
|
|
{% else %}
|
|
|
|
<span class="badge badge-pill badge-dark"><i class="fa fa-question"></i> {{ translate('credits',
|
|
|
|
'patreonOther',
|
|
|
|
data['lang'])
|
|
|
|
}}</span>
|
|
|
|
{% end %}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{% end %}
|
2022-03-05 12:59:19 +00:00
|
|
|
|
2022-05-23 21:21:32 +00:00
|
|
|
</tbody>
|
|
|
|
</table>
|
2020-08-28 18:38:42 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2022-05-23 21:21:32 +00:00
|
|
|
</div>
|
2020-08-28 18:38:42 +00:00
|
|
|
|
2022-05-23 21:21:32 +00:00
|
|
|
<div class="col-lg-6 grid-margin stretch-card">
|
|
|
|
<div class="card">
|
|
|
|
<div class="card-header header-sm d-flex justify-content-between align-items-center">
|
2023-02-03 20:59:52 +00:00
|
|
|
<h4 class="card-title"><i class="fa fa-language"></i> {{ translate('credits', 'translationTitle',
|
2022-05-23 21:21:32 +00:00
|
|
|
data['lang']) }}</h4>
|
|
|
|
</div>
|
|
|
|
<div class="card-body">
|
|
|
|
<p class="card-text"> {{ translate('credits', 'hugeDesc', data['lang']) }}
|
|
|
|
<code>{{ translate('credits', 'thankYou', data['lang']) }}</code> {{ translate('credits',
|
|
|
|
'translationDesc', data['lang']) }}
|
|
|
|
</p>
|
|
|
|
<table class="table table-hover">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>{{ translate('credits', 'translationName', data['lang']) }}</th>
|
|
|
|
<th>{{ translate('credits', 'translator', data['lang']) }}</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{% for person in data['translations'] %}
|
|
|
|
<tr>
|
|
|
|
<td>{{ person }}</td>
|
|
|
|
<td class="pb-0">
|
|
|
|
<div class="row">
|
|
|
|
{% for language in data['translations'][person] %}
|
2023-02-03 20:59:52 +00:00
|
|
|
{% if language['status'] %}
|
|
|
|
<span class="btn btn-sm btn-inverse-success mr-2" style="margin-bottom: 12px;">{{ language['name']
|
|
|
|
}}</span>
|
|
|
|
{% else %}
|
|
|
|
<span class="btn btn-sm btn-inverse-secondary mr-2" style="margin-bottom: 12px;">{{ language['name']
|
|
|
|
}}</span>
|
|
|
|
{% end %}
|
2022-05-23 21:21:32 +00:00
|
|
|
{% end %}
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{% end %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2020-08-28 18:38:42 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2022-03-05 12:59:19 +00:00
|
|
|
</div>
|
2022-05-23 21:21:32 +00:00
|
|
|
|
2021-01-13 14:48:04 +00:00
|
|
|
</div>
|
2022-05-23 21:21:32 +00:00
|
|
|
</div>
|
|
|
|
<!-- content-wrapper ends -->
|
2020-08-28 03:21:55 +00:00
|
|
|
|
2022-05-23 21:21:32 +00:00
|
|
|
{% end %}
|
2020-08-28 03:21:55 +00:00
|
|
|
|
2022-05-23 21:21:32 +00:00
|
|
|
{% block js %}
|
|
|
|
<script>
|
2020-08-28 03:21:55 +00:00
|
|
|
|
2022-05-23 21:21:32 +00:00
|
|
|
$(document).ready(function () {
|
|
|
|
console.log('ready for JS!')
|
2020-08-28 03:21:55 +00:00
|
|
|
|
2022-05-23 21:21:32 +00:00
|
|
|
});
|
|
|
|
</script>
|
2020-08-28 03:21:55 +00:00
|
|
|
|
2023-02-03 20:59:52 +00:00
|
|
|
{% end %}
|