-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #25 from G4brym/add-basic-auth
Add basic auth
- Loading branch information
Showing
41 changed files
with
12,633 additions
and
7,658 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# R2 Explorer Dashboard | ||
|
||
|
||
Generate PWA icons | ||
|
||
```bash | ||
convert logo.svg -resize '192x192' icons/android-chrome-192x192.png | ||
convert logo.svg -resize '512x512' icons/android-chrome-512x512.png | ||
convert logo.svg -resize '154x154' -gravity center -background transparent -extent 192x192 icons/android-chrome-maskable-192x192.png | ||
convert logo.svg -resize '410x410' -gravity center -background transparent -extent 512x512 icons/android-chrome-maskable-512x512.png | ||
convert logo.svg -resize '180x180' -background white icons/apple-touch-icon.png | ||
convert logo.svg -resize '60x60' -background white icons/apple-touch-icon-60x60.png | ||
convert logo.svg -resize '76x76' -background white icons/apple-touch-icon-76x76.png | ||
convert logo.svg -resize '120x120' -background white icons/apple-touch-icon-120x120.png | ||
convert logo.svg -resize '180x180' -background white icons/apple-touch-icon-180x180.png | ||
convert logo.svg -resize '152x152' -background white icons/apple-touch-icon-152x152.png | ||
convert logo.svg -resize '16x16' icons/favicon-16x16.png | ||
convert logo.svg -resize '32x32' icons/favicon-32x32.png | ||
convert logo.svg -resize '144x144' icons/msapplication-icon-144x144.png | ||
convert logo.svg -resize '150x150' -background transparent -compose Copy -gravity center -extent 270x270 icons/mstile-150x150.png | ||
convert logo.svg -resize '512x512' icons/safari-pinned-tab.svg | ||
``` |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+3.56 KB
packages/dashboard/public/img/icons/android-chrome-maskable-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+11.9 KB
packages/dashboard/public/img/icons/android-chrome-maskable-512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
User-agent: * | ||
Disallow: / |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,8 @@ $variable-prefix: 'ct-'; | |
@import './dark-mode'; | ||
@import './custom-variables'; | ||
@import '../node_modules/bootstrap/scss/bootstrap'; | ||
@import url('https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css'); | ||
@import '../node_modules/bootstrap-icons/font/bootstrap-icons.css'; | ||
//@import url('https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css'); | ||
|
||
//Components | ||
@import './custom/components/accordions'; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,15 @@ | ||
<template> | ||
<div id="wrapper"> | ||
<!-- Topbar Start --> | ||
<TopbarView/> | ||
<!-- end Topbar --> | ||
|
||
<!-- ========== Left Sidebar Start ========== --> | ||
<SidebarView/> | ||
<!-- Left Sidebar End --> | ||
|
||
<!-- ============================================================== --> | ||
<!-- Start Page Content here --> | ||
<!-- ============================================================== --> | ||
|
||
<div class="content-page"> | ||
<div class="content"> | ||
<!-- Start Content--> | ||
<div class="container-fluid mobile-wrap"> | ||
<router-view/> | ||
</div> | ||
<!-- container --> | ||
</div> | ||
<!-- content --> | ||
|
||
</div> | ||
<router-view /> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
import TopbarView from '@/components/base/TopbarView' | ||
import SidebarView from '@/components/base/SidebarView' | ||
export default { | ||
components: { TopbarView, SidebarView } | ||
async created () { | ||
await this.$store.dispatch('checkBasicAuthStorage') | ||
this.$store.dispatch('loadServerConfigs') | ||
this.$store.dispatch('loadUserDisks') | ||
} | ||
} | ||
</script> | ||
|
||
<style scoped lang="scss"> | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<template> | ||
<!-- Topbar Start --> | ||
<TopbarView/> | ||
<!-- end Topbar --> | ||
|
||
<!-- ========== Left Sidebar Start ========== --> | ||
<SidebarView/> | ||
<!-- Left Sidebar End --> | ||
|
||
<!-- ============================================================== --> | ||
<!-- Start Page Content here --> | ||
<!-- ============================================================== --> | ||
|
||
<div class="content-page"> | ||
<div class="content"> | ||
<!-- Start Content--> | ||
<div class="container-fluid mobile-wrap"> | ||
<slot></slot> | ||
</div> | ||
<!-- container --> | ||
</div> | ||
<!-- content --> | ||
|
||
</div> | ||
</template> | ||
|
||
<script> | ||
import TopbarView from '@/components/base/TopbarView' | ||
import SidebarView from '@/components/base/SidebarView' | ||
export default { | ||
components: { TopbarView, SidebarView } | ||
} | ||
</script> | ||
|
||
<style scoped lang="scss"> | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.