2022-06-29 11:28:26 +02:00
|
|
|
{% extends "default.html" %}
|
2019-08-16 12:03:45 +02:00
|
|
|
|
|
|
|
{% set active_page = "developer" %}
|
2022-06-29 11:28:26 +02:00
|
|
|
{% block title %}Developer - App {{ client.name }}{% endblock %}
|
2019-08-16 12:03:45 +02:00
|
|
|
{% block default_content %}
|
2022-06-29 11:28:26 +02:00
|
|
|
|
2019-08-16 12:03:45 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-3 order-lg-1 mb-4">
|
|
|
|
<div class="list-group list-group-transparent mb-0">
|
|
|
|
<a href="{{ url_for('developer.client_detail', client_id=client.id) }}"
|
|
|
|
class="list-group-item list-group-item-action {{ 'active' if client_details_page == 'basic_info' }}">
|
2021-10-25 15:18:42 +02:00
|
|
|
<span class="icon mr-3"><i class="fe fe-flag"></i></span>Info
|
2019-08-16 12:03:45 +02:00
|
|
|
</a>
|
|
|
|
<a href="{{ url_for('developer.client_detail_oauth_setting', client_id=client.id) }}"
|
|
|
|
class="list-group-item list-group-item-action {{ 'active' if client_details_page == 'oauth_setting' }}">
|
2019-09-02 11:42:52 +02:00
|
|
|
<span class="icon mr-3"><i class="fe fe-settings"></i></span>OAuth Settings
|
2019-08-16 12:03:45 +02:00
|
|
|
</a>
|
|
|
|
<a href="{{ url_for('developer.client_detail_oauth_endpoint', client_id=client.id) }}"
|
|
|
|
class="list-group-item list-group-item-action {{ 'active' if client_details_page == 'oauth_endpoint' }}">
|
|
|
|
<span class="icon mr-3"><i class="fe fe-shield"></i></span>OAuth Endpoints
|
|
|
|
</a>
|
2021-10-26 11:56:36 +02:00
|
|
|
{% if current_user.referrals|count > 0 %}
|
|
|
|
|
2022-06-29 11:28:26 +02:00
|
|
|
<a href="{{ url_for('developer.client_detail_referral', client_id=client.id) }}"
|
|
|
|
class="list-group-item list-group-item-action {{ 'active' if client_details_page == 'referral' }}">
|
|
|
|
<span class="icon mr-3"><i class="fe fe-share"></i></span>Referral
|
|
|
|
</a>
|
|
|
|
{% endif %}
|
2019-08-16 12:52:27 +02:00
|
|
|
<a href="{{ url_for('developer.client_detail_advanced', client_id=client.id) }}"
|
|
|
|
class="list-group-item list-group-item-action {{ 'active' if client_details_page == 'advanced' }}">
|
2021-10-25 15:18:42 +02:00
|
|
|
<span class="icon mr-3"><i class="fe fe-alert-octagon"></i></span>Danger
|
2019-08-16 12:52:27 +02:00
|
|
|
</a>
|
2019-08-16 12:03:45 +02:00
|
|
|
</div>
|
2022-06-29 11:28:26 +02:00
|
|
|
<a href="https://docs.simplelogin.io"
|
|
|
|
target="_blank"
|
2021-04-01 10:02:08 +02:00
|
|
|
class="btn btn-block btn-secondary mt-4">
|
|
|
|
Documentation <i class="fe fe-external-link"></i>
|
|
|
|
</a>
|
2019-08-16 12:03:45 +02:00
|
|
|
</div>
|
|
|
|
<div class="col-lg-9">
|
|
|
|
<div class="card">
|
|
|
|
<div class="card-body">
|
|
|
|
<div class="text-wrap p-lg-6">
|
2022-06-29 11:28:26 +02:00
|
|
|
{% block client_details_content %}{% endblock %}
|
2019-08-16 12:03:45 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|