45 lines
No EOL
1.5 KiB
HTML
45 lines
No EOL
1.5 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>API</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<link rel="stylesheet" href="{{ url_for("static", filename="css/foundation.css") }}" />
|
|
<link rel="stylesheet" href="{{ url_for("static", filename="css/style.css") }}" />
|
|
<script src="{{ url_for("static", filename="js/vendor/modernizr.js") }}"></script>
|
|
</head>
|
|
<body>
|
|
{% include "_header.html" %}
|
|
<div class="row">
|
|
<div class="large-12 columns">
|
|
<h3>API</h3>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="large-12 columns">
|
|
{% if error %}
|
|
<div class="error">{{ error }}</div>
|
|
{% endif %}
|
|
|
|
<form action="" method="post">
|
|
<input type="hidden" name="method" value="secret_update" />
|
|
<label>
|
|
Email
|
|
<input type="text" name="email" value="{{ session['email'] }}" disabled />
|
|
</label>
|
|
<label>
|
|
Ключ API
|
|
{# {% if not member['secret'] %}#}
|
|
{# <div class="alert-box info">#}
|
|
{# No API-key. Click to 'Update' for create new API-key#}
|
|
{# </div>#}
|
|
{# {% endif %}#}
|
|
<input type="text" name="secret" value="{{ user_secret.secret }}" />
|
|
</label>
|
|
<input type="submit" value="Обновить ключ API" class="button small success" />
|
|
</form>
|
|
</div>
|
|
</div>
|
|
{% include "_footer.html" %}
|
|
</body>
|
|
</html> |