2019-08-16 10:03:45 +00:00
|
|
|
{% extends 'default.html' %}
|
|
|
|
|
|
|
|
{% set active_page = "developer" %}
|
|
|
|
|
|
|
|
{% block title %}
|
|
|
|
Developer - App {{ client.name }}
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block default_content %}
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-3 order-lg-1 mb-4">
|
|
|
|
<a href="https://docs.simplelogin.io" class="btn btn-block btn-primary mb-6">
|
|
|
|
<i class="fe fe-github mr-2"></i>Browse Documentation
|
|
|
|
</a>
|
|
|
|
|
|
|
|
<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' }}">
|
|
|
|
<span class="icon mr-3"><i class="fe fe-flag"></i></span>Basic Info
|
|
|
|
</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' }}">
|
|
|
|
<span class="icon mr-3"><i class="fe fe-settings"></i></span>OAuth Setting
|
|
|
|
</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>
|
|
|
|
|
2019-08-16 10:52:27 +00: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' }}">
|
|
|
|
<span class="icon mr-3"><i class="fe fe-alert-octagon"></i></span>Advanced Setting
|
|
|
|
</a>
|
|
|
|
|
2019-08-16 10:03:45 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-lg-9">
|
|
|
|
<div class="card">
|
|
|
|
<div class="card-body">
|
|
|
|
<div class="text-wrap p-lg-6">
|
|
|
|
{% block client_details_content %}
|
|
|
|
{% endblock %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|