Commit 78398eba authored by Evert Prants's avatar Evert Prants

upgrade font awesome

parent 7048ee3f
......@@ -2,7 +2,7 @@
.ban.list-item
.stamps
.noactive.stamp(title='Expired', v-if='expired')
i.fa.fa-fw.fa-ban
i.fas.fa-fw.fa-ban
.info
.row
.col-3 User
......@@ -22,7 +22,7 @@
.col(v-else='v-else')
b This ban is permanent.
.btn.btn-success.remove.mt-3(@click='$parent.$emit("pardon", id)')
i.fa.fa-fw.fa-check
i.fas.fa-fw.fa-check
| Pardon
</template>
......
......@@ -4,22 +4,22 @@
.picture
img(v-if="icon" :src="'/usercontent/images/' + icon")
.noicon(v-else)
i.fa.fa-fw.fa-gears
i.fas.fa-fw.fa-cogs
.info
.stamps
.verified.stamp(v-if="verified")
i.fa.fa-fw.fa-check
i.fas.fa-fw.fa-check
.dropdown-wrapper.stamp(@click="dropdown = !dropdown" v-on-clickaway='away')
i.fa.fa-fw.fa-ellipsis-v
i.fas.fa-fw.fa-ellipsis-v
transition(name="pop")
.dropdown(v-show="dropdown")
.title Actions
.action(@click="$parent.$emit('edit', id)")
i.fa.fa-fw.fa-pencil
i.fas.fa-fw.fa-edit
|&nbsp;Edit
.action(@click="$parent.$emit('delete', id)")
i.fa.fa-fw.fa-trash
i.fas.fa-fw.fa-trash
|&nbsp;Delete
.name {{ title }}
......
......@@ -11,41 +11,41 @@
.col-sm.info
.stamps
.stamp(title="Used an external login" v-if="!password")
i.fa.fa-fw.fa-sign-out
i.fas.fa-fw.fa-sign-out
.noactive.stamp(v-if='activated == false' title='Not activated.')
i.fa.fa-fw.fa-envelope
i.fas.fa-fw.fa-envelope
.totp.stamp(v-if='totp_enabled' title="Two-Factor Authentication Enabled")
i.fa.fa-fw.fa-shield
i.fas.fa-fw.fa-shield
.dropdown-wrapper.stamp(@click="dropdown = !dropdown" v-on-clickaway='away')
i.fa.fa-fw.fa-ellipsis-v
i.fas.fa-fw.fa-ellipsis-v
transition(name="pop")
.dropdown(v-show="dropdown")
.title Actions
.action(v-on:click='$parent.$emit("edit", id)')
i.fa.fa-fw.fa-pencil
i.fas.fa-fw.fa-edit
|&nbsp;Edit User
.action(v-if='bannable' v-on:click='$parent.$emit("ban", id)')
i.fa.fa-fw.fa-ban
i.fas.fa-fw.fa-ban
|&nbsp;Ban User
.separator
.action(v-if='!activated' v-on:click='activationToken')
i.fa.fa-fw.fa-envelope
i.fas.fa-fw.fa-envelope
|&nbsp;Activation Email
.action(v-if="totp_enabled" v-on:click='totpRevoke')
i.fa.fa-fw.fa-shield
i.fas.fa-fw.fa-shield
|&nbsp;Revoke 2FA
.action(v-on:click='resetPassword')
i.fa.fa-fw.fa-envelope
i.fas.fa-fw.fa-envelope
|&nbsp;Password Email
.action(v-on:click='$parent.$emit("email", email)')
i.fa.fa-fw.fa-envelope
i.fas.fa-fw.fa-envelope
|&nbsp;Compose Email
.separator
.action(v-on:click='$parent.$emit("lock", id)' v-if="id != 1 && nw_privilege < 2")
i.fa.fa-fw.fa-lock
i.fas.fa-fw.fa-lock
|&nbsp;Lock Account
.display_name {{ display_name }}
......
......@@ -9,7 +9,7 @@
p This action cannot be reverted (user records will be overwritten).
.modal-footer.text-right
button.btn.btn-danger(@click='submit')
i.fa.fa-fw.fa-lock
i.fas.fa-fw.fa-lock
|&nbsp;Yes
button.btn.btn-secondary(@click='close') No
</template>
......
......@@ -50,7 +50,7 @@ $(document).ready(function () {
}
function loadAuthorizations () {
$('#clientlist').html('<span class="load"><i class="fa fa-spin fa-spinner fa-2x"></i><span>Loading list</span></span>')
$('#clientlist').html('<span class="load"><i class="fas fa-spin fa-spinner fa-2x"></i><span>Loading list</span></span>')
$.get({
url: '/api/oauth2/authorized-clients',
dataType: 'json',
......@@ -70,7 +70,7 @@ $(document).ready(function () {
if (client.icon) {
html += '<img src="' + client.icon + '">'
} else {
html += '<div class="noicon"><i class="fa fa-fw fa-gears"></i></div>'
html += '<div class="noicon"><i class="fas fa-fw fa-cogs"></i></div>'
}
html += '</div>'
......@@ -81,7 +81,7 @@ $(document).ready(function () {
html += '<div class="timestamp">Authorized ' + new Date(client.created_at) + '</div>'
html += '</div>'
html += '<div class="remove" id="deleteclient"><i class="fa fa-fw fa-ban"></i></div>'
html += '<div class="remove" id="deleteclient"><i class="fas fa-fw fa-ban"></i></div>'
html += '</div>'
$('#clientlist').append(html)
......@@ -193,7 +193,7 @@ $(document).ready(function () {
}
if ($('.newsfeed').length) {
$('.newsfeed').html('<span class="load"><i class="fa fa-spin fa-spinner fa-2x"></i><span>Loading feed</span></span>')
$('.newsfeed').html('<span class="load"><i class="fas fa-spin fa-spinner fa-2x"></i><span>Loading feed</span></span>')
$.ajax({
type: 'get',
url: '/api/news',
......
......@@ -400,6 +400,8 @@ noscript
&#gitlab
background-color: #292961
font-size: 115%
&#mastodon
background-color: #2b90d9
&:hover
color: #ddd
......
<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 245 240"><style>.st0{fill:#FFFFFF;}</style><path class="st0" d="M104.4 103.9c-5.7 0-10.2 5-10.2 11.1s4.6 11.1 10.2 11.1c5.7 0 10.2-5 10.2-11.1.1-6.1-4.5-11.1-10.2-11.1zM140.9 103.9c-5.7 0-10.2 5-10.2 11.1s4.6 11.1 10.2 11.1c5.7 0 10.2-5 10.2-11.1s-4.5-11.1-10.2-11.1z"/><path class="st0" d="M189.5 20h-134C44.2 20 35 29.2 35 40.6v135.2c0 11.4 9.2 20.6 20.5 20.6h113.4l-5.3-18.5 12.8 11.9 12.1 11.2 21.5 19V40.6c0-11.4-9.2-20.6-20.5-20.6zm-38.6 130.6s-3.6-4.3-6.6-8.1c13.1-3.7 18.1-11.9 18.1-11.9-4.1 2.7-8 4.6-11.5 5.9-5 2.1-9.8 3.5-14.5 4.3-9.6 1.8-18.4 1.3-25.9-.1-5.7-1.1-10.6-2.7-14.7-4.3-2.3-.9-4.8-2-7.3-3.4-.3-.2-.6-.3-.9-.5-.2-.1-.3-.2-.4-.3-1.8-1-2.8-1.7-2.8-1.7s4.8 8 17.5 11.8c-3 3.8-6.7 8.3-6.7 8.3-22.1-.7-30.5-15.2-30.5-15.2 0-32.2 14.4-58.3 14.4-58.3 14.4-10.8 28.1-10.5 28.1-10.5l1 1.2c-18 5.2-26.3 13.1-26.3 13.1s2.2-1.2 5.9-2.9c10.7-4.7 19.2-6 22.7-6.3.6-.1 1.1-.2 1.7-.2 6.1-.8 13-1 20.2-.2 9.5 1.1 19.7 3.9 30.1 9.6 0 0-7.9-7.5-24.9-12.7l1.4-1.6s13.7-.3 28.1 10.5c0 0 14.4 26.1 14.4 58.3 0 0-8.5 14.5-30.6 15.2z"/></svg>
\ No newline at end of file
......@@ -5,7 +5,7 @@ html
meta(name="viewport", content="width=device-width, initial-scale=1, shrink-to-fit=no")
block links
link(rel="stylesheet", type="text/css", href="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css")
link(rel="stylesheet", type="text/css", href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css")
link(rel="stylesheet", type="text/css", href="//cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/all.min.css")
link(rel="stylesheet", type="text/css", href="/style/main.css")
link(rel="stylesheet", type="text/css", href="/style/admin.css")
script.
......
......@@ -18,7 +18,7 @@ block body
img(src=client.icon)
else
.noicon
i.fa.fa-fw.fa-gears
i.fas.fa-fw.fa-cogs
.info
.name= client.title
.description= client.description
......@@ -38,23 +38,23 @@ block body
ul.nobulletin
if scope.indexOf('email') !== -1
li
i.fa.fa-fw.fa-envelope
i.fas.fa-fw.fa-envelope
|See your Email address
li
i.fa.fa-fw.fa-user
i.fas.fa-fw.fa-user
|See your Display Name
.noaccess
span This application cannot
ul.nobulletin
if scope.indexOf('email') === -1
li
i.fa.fa-fw.fa-envelope
i.fas.fa-fw.fa-envelope
|See your Email address
li
i.fa.fa-fw.fa-lock
i.fas.fa-fw.fa-lock
|See your Password
li
i.fa.fa-fw.fa-gears
i.fas.fa-fw.fa-gears
|Change your Account Settings
.alert.alert-info
b Note!
......
......@@ -3,4 +3,4 @@
img#userAvatarFile(src="/usercontent/images/" + user.avatar_file)
else
.noavatar
i.fa.fa-fw.fa-user
i.fas.fa-fw.fa-user
......@@ -23,7 +23,7 @@
if auth.google
script(src="https://apis.google.com/js/api:client.js")
a.login-btn.google-login.float-lg-right
i.fa.fa-fw.fa-google
i.fab.fa-fw.fa-google
span Log in With Google
script.
var googleUser = {};
......@@ -61,9 +61,9 @@
startApp()
if auth.twitter
a.login-btn.twitter-login.login-dialog-pop.float-lg-right(href="/api/external/twitter/login")
i.fa.fa-fw.fa-twitter
i.fab.fa-fw.fa-twitter
span Log in With Twitter
if auth.discord
a.login-btn.discord-login.login-dialog-pop.float-lg-right(href="/api/external/discord/login")
img(src="/static/image/discord.svg")
i.fab.fa-fw.fa-discord
span Log in With Discord
......@@ -31,18 +31,18 @@ block body
.row
.col-lg-4
span.circular-header.bg-warning
i.fa.fa-fw.fa-lock
i.fas.fa-fw.fa-lock
h2 Secure Login
p We have a secure login system with the possibility to even further secure your account with Two-Factor Authentication.
.col-lg-4
span.circular-header.bg-success
i.fa.fa-fw.fa-git
i.fab.fa-fw.fa-git
h2 Open Source
p All of our services are Free and Open Source Software (FOSS) hosted on our own GitLab instance.
p
a.btn.btn-secondary(href="https://gitlab.icynet.eu/IcyNetwork", target="_blank") Browse Repositories
.col-lg-4
span.circular-header.bg-info
i.fa.fa-fw.fa-users
i.fas.fa-fw.fa-users
h2 Community-oriented
p Our services are made to serve communities. We unite them all with a single login system with support for multiple authentication protocols.
......@@ -29,7 +29,7 @@ html
block links
link(rel="stylesheet", type="text/css", href="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css")
link(rel="stylesheet", type="text/css", href="/style/main.css")
link(rel="stylesheet", type="text/css", href="//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css")
link(rel="stylesheet", type="text/css", href="//cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/all.min.css")
script(src="/script/main.js")
block cookieconsent
link(rel="stylesheet", type="text/css", href="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.0.4/cookieconsent.min.css")
......@@ -101,5 +101,7 @@ html
| ·
a(href="/donate") Donate
.d-flex.justify-content-center
a.btn-social#gitlab(href="https://gitlab.icynet.eu/IcyNetwork/" target="_blank")
i.fa.fa-fw.fa-gitlab
a.btn-social#gitlab(href="https://gitlab.icynet.eu/IcyNetwork/" rel="me" target="_blank")
i.fab.fa-fw.fa-gitlab
a.btn-social#mastodon(href="https://fosstodon.org/@icynet" rel="me" target="_blank")
i.fab.fa-fw.fa-mastodon
......@@ -67,19 +67,19 @@ block body
include ../includes/external.pug
if google_auth == false
a.option.disconnect.login-btn.float-lg-right(href="/api/external/google/remove")
i.fa.fa-fw.fa-times
i.fas.fa-fw.fa-times
|Unlink Google
if twitter_auth == false
a.option.disconnect.login-btn.float-lg-right(href="/api/external/twitter/remove")
i.fa.fa-fw.fa-times
i.fas.fa-fw.fa-times
|Unlink Twitter
if facebook_auth == false
a.option.disconnect.login-btn.float-lg-right(href="/api/external/facebook/remove")
i.fa.fa-fw.fa-times
i.fas.fa-fw.fa-times
|Unlink Facebook
if discord_auth == false
a.option.disconnect.login-btn.float-lg-right(href="/api/external/discord/remove")
i.fa.fa-fw.fa-times
i.fas.fa-fw.fa-times
|Unlink Discord
.tab-pane.fade#v-pills-oauth2(role="tabpanel", aria-labelledby="v-pills-oauth2")
h2 Authorized Applications
......@@ -90,16 +90,16 @@ block body
h3 Account Actions
if password
a.option(href="/user/manage/password")
i.fa.fa-fw.fa-lock
i.fas.fa-fw.fa-lock
|Change Password
if totp
a.option(href="/user/two-factor/disable")
i.fa.fa-fw.fa-lock
i.fas.fa-fw.fa-lock
|Disable Two-Factor Authentication
else
a.option(href="/user/two-factor")
i.fa.fa-fw.fa-lock
i.fas.fa-fw.fa-lock
|Enable Two-Factor Authentication
a.option(href="/user/manage/email")
i.fa.fa-fw.fa-envelope
i.fas.fa-fw.fa-envelope
|Change Email Address
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment