mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2024-12-13 16:06:21 +00:00
Updates
* Added Firefox extension link. For now this will simply link my fork of the Chrome extension. You will have to build the extension by your own. * Updated icons (added Firefox). * Tiny refactor in home.js, thus I had to update version string in _globals.njk as well.
This commit is contained in:
parent
431be5cccd
commit
7376ce3d7c
@ -109,8 +109,8 @@ upload.prepareUpload = () => {
|
||||
// Display the album selection
|
||||
document.getElementById('albumDiv').style.display = 'block'
|
||||
})
|
||||
.catch(e => {
|
||||
console.log(e)
|
||||
.catch(error => {
|
||||
console.log(error)
|
||||
return swal('An error occurred!', 'There was an error with the request, please check the console for more information.', 'error')
|
||||
})
|
||||
}
|
||||
|
13
public/libs/fontello/fontello.css
vendored
13
public/libs/fontello/fontello.css
vendored
@ -1,11 +1,11 @@
|
||||
@font-face {
|
||||
font-family: 'fontello';
|
||||
src: url('fontello.eot?93747628');
|
||||
src: url('fontello.eot?93747628#iefix') format('embedded-opentype'),
|
||||
url('fontello.woff2?93747628') format('woff2'),
|
||||
url('fontello.woff?93747628') format('woff'),
|
||||
url('fontello.ttf?93747628') format('truetype'),
|
||||
url('fontello.svg?93747628#fontello') format('svg');
|
||||
src: url('fontello.eot?8080531');
|
||||
src: url('fontello.eot?8080531#iefix') format('embedded-opentype'),
|
||||
url('fontello.woff2?8080531') format('woff2'),
|
||||
url('fontello.woff?8080531') format('woff'),
|
||||
url('fontello.ttf?8080531') format('truetype'),
|
||||
url('fontello.svg?8080531#fontello') format('svg');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
@ -76,3 +76,4 @@
|
||||
.icon-paper-plane-empty:before { content: '\f1d9'; } /* '' */
|
||||
.icon-user-plus:before { content: '\f234'; } /* '' */
|
||||
.icon-chrome:before { content: '\f268'; } /* '' */
|
||||
.icon-firefox:before { content: '\f269'; } /* '' */
|
||||
|
Binary file not shown.
@ -47,6 +47,8 @@
|
||||
<glyph glyph-name="user-plus" unicode="" d="M393 350q-89 0-152 63t-62 151 62 152 152 63 151-63 63-152-63-151-151-63z m536-71h196q7 0 13-6t5-12v-107q0-8-5-13t-13-5h-196v-197q0-7-6-12t-12-6h-107q-8 0-13 6t-5 12v197h-197q-7 0-12 5t-6 13v107q0 7 6 12t12 6h197v196q0 7 5 13t13 5h107q7 0 12-5t6-13v-196z m-411-125q0-29 21-51t50-21h143v-133q-38-28-95-28h-488q-67 0-108 39t-41 106q0 30 2 58t8 61 15 60 24 55 34 45 48 30 62 11q11 0 22-10 44-34 86-51t92-17 92 17 86 51q11 10 22 10 73 0 121-54h-125q-29 0-50-21t-21-50v-107z" horiz-adv-x="1142.9" />
|
||||
|
||||
<glyph glyph-name="chrome" unicode="" d="M498 850q134 1 252-67 130-75 196-208l-414 22q-89 5-164-41t-103-128l-154 236q72 89 174 137t213 49z m-416-226l188-370q40-80 117-121t164-25l-129-252q-118 19-214 88t-152 176-56 230q0 149 82 274z m885-94q32-84 33-174t-27-170-86-152-137-117q-128-74-278-66l226 347q49 73 46 162t-59 155z m-467-11q70 0 119-50t50-119-50-119-119-49-119 49-49 119 49 119 119 50z" horiz-adv-x="1000" />
|
||||
|
||||
<glyph glyph-name="firefox" unicode="" d="M504-150q-158 0-282 84t-183 222q-33 74-38 168t15 186 62 174 100 135l-7-156q7 7 38 8t39-8q24 45 90 77t131 32q-30-25-67-82t-33-92q14-4 35-7t36-4 37-3 29-1q8-3 5-26t-17-42q-3-4-9-10t-32-20-56-19l8-105-77 37q-10-24-5-45t21-38 36-23 45-3q29 5 55 19t47 25 41 10q34-2 50-19t10-36q0-1-1-3t-5-7-10-9-17-5-26-1q-34-53-81-76t-117-16q41-34 91-46t94-3 86 29 71 48 45 58q24 51 22 108t-21 105-44 70q49-21 77-45t43-62q8 95-32 191t-117 159q148-43 230-156t84-289q1-71-23-143t-68-132-106-110-138-75-161-28z" horiz-adv-x="1000" />
|
||||
</font>
|
||||
</defs>
|
||||
</svg>
|
Before Width: | Height: | Size: 9.8 KiB After Width: | Height: | Size: 10 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -9,7 +9,7 @@
|
||||
{#
|
||||
This will be appended to all CSS and JS files, and should be changed on every updates to make sure clients load the very latest version of them.
|
||||
#}
|
||||
{% set v = "wOEAXfLNwY" %}
|
||||
{% set v = "A1dpL9wiAz" %}
|
||||
|
||||
{#
|
||||
These will be the links in the homepage and the No-JS uploader.
|
||||
@ -46,6 +46,14 @@
|
||||
},
|
||||
icon: 'icon-chrome icon-2x'
|
||||
},
|
||||
{
|
||||
attrs: {
|
||||
title: 'Firefox extension (devel)',
|
||||
href: 'https://github.com/BobbyWibowo/loli-safe-extension/tree/firefox',
|
||||
target: '_blank'
|
||||
},
|
||||
icon: 'icon-firefox icon-2x'
|
||||
},
|
||||
{
|
||||
attrs: {
|
||||
title: 'Bash uploader',
|
||||
|
Loading…
Reference in New Issue
Block a user