public
nobgit
read
NobMail
Based on mailcow: dockerized
Languages
Repository composition by tracked source files.
PHP
49%
JavaScript
35%
HTML
9%
CSS
4%
Shell
2%
Python
1%
Lua
0%
Perl
0%
Ruby
0%
SCSS
0%
Create file
Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git
Trace
data/web/templates/oauth/authorize.twig
Trace helps you understand code history line by line. See who changed each line, when it changed, and which commit introduced it.
Author
Date
Commit
Line
Code
1
{% extends 'base.twig' %}
3
{% block content %}
4
<div class="card">
5
<div class="card-header">{{ lang.oauth2.authorize_app }}</div>
6
<div class="card-body">
7
{% if mailcow_cc_role == 'user' %}
8
<p>{{ lang.oauth2.scope_ask_permission }}:</p>
9
<dl class="dl-horizontal">
10
<dt>{{ lang.oauth2.profile }}</dt>
11
<dd>{{ lang.oauth2.profile_desc }}</dd>
12
</dl>
13
<form class="form-horizontal" autocapitalize="none" autocorrect="off" role="form" method="post">
14
<div class="row">
15
<div class="col-sm-10 text-center">
16
<button class="btn btn-success" name="authorized" type="submit" value="1">{{ lang.oauth2.permit }}</button>
17
<a href="#" class="btn btn-secondary" onclick="window.history.back()" role="button">{{ lang.oauth2.deny }}</a>
18
<input type="hidden" name="csrf_token" value="{{ csrf_token }}">
19
</div>
20
</div>
21
</form>
22
{% else %}
23
<p>{{ lang.oauth2.access_denied }}</p>
24
{% endif %}
25
</div>
26
</div>
27
{% endblock %}