This repository has been archived on 2022-11-26. You can view files and clone it, but cannot push or open issues or pull requests.
IcyNet.eu/views/authorization.pug

64 lines
1.8 KiB
Plaintext
Raw Permalink Normal View History

2017-08-23 20:13:45 +00:00
extends layout
block title
2018-01-28 19:45:30 +00:00
|Icy Network - Authorize Application
2017-08-23 20:13:45 +00:00
block body
2018-01-28 19:45:30 +00:00
.container.mb-4.mt-4
h1 Authorize Application
p
b= client.title
| wants you to give them access to your user details and authenticate you, without giving them your password. The list of things
b=client.title
| can and cannot do are provided below.
.row.mb-2
.col
.application
.picture
if client.icon
img(src=client.icon)
else
.noicon
2019-10-26 09:54:51 +00:00
i.fas.fa-fw.fa-cogs
2018-01-28 19:45:30 +00:00
.info
.name= client.title
.description= client.description
a.url(href=client.url, target="_blank", rel="nofollow")= client.url
form(method="POST", action="")
input(type="hidden", name="csrf", value=csrf)
input(type="hidden", name="decision", value='1')
button.btn.btn-success(type="submit") Authorize Access
p
form(method="POST", action="")
input(type="hidden", name="csrf", value=csrf)
input(type="hidden", name="decision", value='0')
button.btn.btn-danger(type="submit") Deny Access
.col
.haveaccess
span This application can
ul.nobulletin
if scope.indexOf('email') !== -1
2017-08-23 20:13:45 +00:00
li
2019-10-26 09:54:51 +00:00
i.fas.fa-fw.fa-envelope
2020-06-06 07:46:50 +00:00
| See your Email address
2018-01-28 19:45:30 +00:00
li
2019-10-26 09:54:51 +00:00
i.fas.fa-fw.fa-user
2020-06-06 07:46:50 +00:00
| See your Display Name
2018-01-28 19:45:30 +00:00
.noaccess
span This application cannot
ul.nobulletin
if scope.indexOf('email') === -1
2017-08-23 20:13:45 +00:00
li
2019-10-26 09:54:51 +00:00
i.fas.fa-fw.fa-envelope
2020-06-06 07:46:50 +00:00
| See your Email address
2018-01-28 19:45:30 +00:00
li
2019-10-26 09:54:51 +00:00
i.fas.fa-fw.fa-lock
2020-06-06 07:46:50 +00:00
| See your Password
2018-01-28 19:45:30 +00:00
li
i.fas.fa-fw.fa-cogs
2020-06-06 07:46:50 +00:00
| Change your Account Settings
2018-01-28 19:45:30 +00:00
.alert.alert-info
b Note!
|You can revoke #{client.title} at any time from your
a(href="/user/manage") Account Settings
|.