|
|
|
<div class="bg-secondary max-h-1/2 max-w-md mx-auto overflow-hidden rounded-lg shadow-xl">
|
V1.1.0 (#24)
## Update Info
🍆 **DICK** v1.1.0 🍆
Our number is getting bigger! Though, I hear size is not what matters
but how you use it. So, I am happy to introduce you to a bunch of new
stuff within the front end!
🔀 **UPDATING**
Updating your instance should be easy, unless you already edited the
code base, at that point your on your own.
If you have a direct clone of the master of the current 1.0.2(old
master) branch, then all you need to do is
1. Browse to your DICK folder
2. Run `git pull` to pull new changes
3. Run `npm i` to install new dependancies
4. Delete the `dist` folder
5. Start DICK using `npm start`
6. Enjoy
> **Note**
> If you load your instance and styling seems wrong, please clear your
browsers cache, and reload the page.
> **Note**
> The first user to log into your DICK WebUI will be marked as the
instance admin. You can change which users are admin by editing the user
database file located at `/src/database/users.json`. This file will only
appear once you've started your instance for the first time.
✏️ **CHANGELOG**
```diff
ADDITIONS
+ Admin Dashboard
> This page will be where system administrators can view their syatem settings and stats!
+ Database
> Added DICK database, inside JSON files with management utils.
+ Added new app settings page to Admin Dashboard
> This will allow administrators to customize their instance on the fly without having to edit the codebase. White labeling!
+ Added user list to Admin Dashboard
> This allows administrators to view which users are registered in their ASS currently, and their roles set. You can also create new users from this page. (There are a lot of hidden divs in this page so imstance admins can add extra code to dick to enable stuff like deletion of users)
+ Registrations
> Administrators can toggle registrations into their ASS from their DICK UI via the /register page!
+ Captcha
> By default, when a user gets login information wrong they will be forwarded to a Rick Roll. Now you can add a hCaptcha site key to DICK to enable hCaptcha for your login and register public pages!
+ Added a "default profile picture"
> Every users default profile picture. This is planned to be able to be set per user in the future, so users can pick their own seperate from the default.
REMOVALS
- Removeed STAFF_IDs from codebase.
> This means you can remove this CONSTANT from your instance CONSTANTS file, please see the repo's constants example file to see if yours matches it.
```
```fix
CHANGES
= Large codebase cleanup
= Seperated js for components into their own files based on job
= Redid some naming for tailwind colour theme classes to provide proper theming from the tailwind config file
= Cleaned up a lot of the utils
= Added embed gen page as a hidden extra for devs to add themselves in their own time if they wish (please PR if you achieve this 🤘)
= Fixed the flash message warning colours to actually be red or green depending on error/success
```
## Issues Resolved / Fixes In This Release
Resolves #17 , Resolves #14 , Resolves #10 , Resolves #7
2 years ago
|
|
|
<div class="flex flex-col items-center justify-center overflow-y-auto md:flex-row">
|
|
|
|
<div class="flex items-center justify-center p-6 sm:p-12">
|
|
|
|
<div class="w-full">
|
|
|
|
<h3 class="text-color-tertiary font-bold text-2xl text-center">
|
|
|
|
<%= settingsDatabase.name ? settingsDatabase.name.toUpperCase() : "DICK" %>
|
|
|
|
</h3>
|
|
|
|
<p class="text-color-accent text-xs pt-2 pb-5 text-center">
|
|
|
|
<%= settingsDatabase.loginText ? settingsDatabase.loginText : "Sign in to easily manage your nudes." %>
|
|
|
|
</p>
|
|
|
|
|
V1.1.0 (#24)
## Update Info
🍆 **DICK** v1.1.0 🍆
Our number is getting bigger! Though, I hear size is not what matters
but how you use it. So, I am happy to introduce you to a bunch of new
stuff within the front end!
🔀 **UPDATING**
Updating your instance should be easy, unless you already edited the
code base, at that point your on your own.
If you have a direct clone of the master of the current 1.0.2(old
master) branch, then all you need to do is
1. Browse to your DICK folder
2. Run `git pull` to pull new changes
3. Run `npm i` to install new dependancies
4. Delete the `dist` folder
5. Start DICK using `npm start`
6. Enjoy
> **Note**
> If you load your instance and styling seems wrong, please clear your
browsers cache, and reload the page.
> **Note**
> The first user to log into your DICK WebUI will be marked as the
instance admin. You can change which users are admin by editing the user
database file located at `/src/database/users.json`. This file will only
appear once you've started your instance for the first time.
✏️ **CHANGELOG**
```diff
ADDITIONS
+ Admin Dashboard
> This page will be where system administrators can view their syatem settings and stats!
+ Database
> Added DICK database, inside JSON files with management utils.
+ Added new app settings page to Admin Dashboard
> This will allow administrators to customize their instance on the fly without having to edit the codebase. White labeling!
+ Added user list to Admin Dashboard
> This allows administrators to view which users are registered in their ASS currently, and their roles set. You can also create new users from this page. (There are a lot of hidden divs in this page so imstance admins can add extra code to dick to enable stuff like deletion of users)
+ Registrations
> Administrators can toggle registrations into their ASS from their DICK UI via the /register page!
+ Captcha
> By default, when a user gets login information wrong they will be forwarded to a Rick Roll. Now you can add a hCaptcha site key to DICK to enable hCaptcha for your login and register public pages!
+ Added a "default profile picture"
> Every users default profile picture. This is planned to be able to be set per user in the future, so users can pick their own seperate from the default.
REMOVALS
- Removeed STAFF_IDs from codebase.
> This means you can remove this CONSTANT from your instance CONSTANTS file, please see the repo's constants example file to see if yours matches it.
```
```fix
CHANGES
= Large codebase cleanup
= Seperated js for components into their own files based on job
= Redid some naming for tailwind colour theme classes to provide proper theming from the tailwind config file
= Cleaned up a lot of the utils
= Added embed gen page as a hidden extra for devs to add themselves in their own time if they wish (please PR if you achieve this 🤘)
= Fixed the flash message warning colours to actually be red or green depending on error/success
```
## Issues Resolved / Fixes In This Release
Resolves #17 , Resolves #14 , Resolves #10 , Resolves #7
2 years ago
|
|
|
<% if(success_alert_message !='' ){ %>
|
|
|
|
<p class="text-green-600 pb-2 text-center">
|
|
|
|
<%= success_alert_message %>
|
|
|
|
</p>
|
|
|
|
<% } %>
|
|
|
|
|
V1.1.0 (#24)
## Update Info
🍆 **DICK** v1.1.0 🍆
Our number is getting bigger! Though, I hear size is not what matters
but how you use it. So, I am happy to introduce you to a bunch of new
stuff within the front end!
🔀 **UPDATING**
Updating your instance should be easy, unless you already edited the
code base, at that point your on your own.
If you have a direct clone of the master of the current 1.0.2(old
master) branch, then all you need to do is
1. Browse to your DICK folder
2. Run `git pull` to pull new changes
3. Run `npm i` to install new dependancies
4. Delete the `dist` folder
5. Start DICK using `npm start`
6. Enjoy
> **Note**
> If you load your instance and styling seems wrong, please clear your
browsers cache, and reload the page.
> **Note**
> The first user to log into your DICK WebUI will be marked as the
instance admin. You can change which users are admin by editing the user
database file located at `/src/database/users.json`. This file will only
appear once you've started your instance for the first time.
✏️ **CHANGELOG**
```diff
ADDITIONS
+ Admin Dashboard
> This page will be where system administrators can view their syatem settings and stats!
+ Database
> Added DICK database, inside JSON files with management utils.
+ Added new app settings page to Admin Dashboard
> This will allow administrators to customize their instance on the fly without having to edit the codebase. White labeling!
+ Added user list to Admin Dashboard
> This allows administrators to view which users are registered in their ASS currently, and their roles set. You can also create new users from this page. (There are a lot of hidden divs in this page so imstance admins can add extra code to dick to enable stuff like deletion of users)
+ Registrations
> Administrators can toggle registrations into their ASS from their DICK UI via the /register page!
+ Captcha
> By default, when a user gets login information wrong they will be forwarded to a Rick Roll. Now you can add a hCaptcha site key to DICK to enable hCaptcha for your login and register public pages!
+ Added a "default profile picture"
> Every users default profile picture. This is planned to be able to be set per user in the future, so users can pick their own seperate from the default.
REMOVALS
- Removeed STAFF_IDs from codebase.
> This means you can remove this CONSTANT from your instance CONSTANTS file, please see the repo's constants example file to see if yours matches it.
```
```fix
CHANGES
= Large codebase cleanup
= Seperated js for components into their own files based on job
= Redid some naming for tailwind colour theme classes to provide proper theming from the tailwind config file
= Cleaned up a lot of the utils
= Added embed gen page as a hidden extra for devs to add themselves in their own time if they wish (please PR if you achieve this 🤘)
= Fixed the flash message warning colours to actually be red or green depending on error/success
```
## Issues Resolved / Fixes In This Release
Resolves #17 , Resolves #14 , Resolves #10 , Resolves #7
2 years ago
|
|
|
<% if(error_message !='' ){ %>
|
|
|
|
<p class="text-red-600 pb-2 text-center">
|
|
|
|
<%= error_message %>
|
|
|
|
</p>
|
|
|
|
<% } %>
|
|
|
|
|
V1.1.0 (#24)
## Update Info
🍆 **DICK** v1.1.0 🍆
Our number is getting bigger! Though, I hear size is not what matters
but how you use it. So, I am happy to introduce you to a bunch of new
stuff within the front end!
🔀 **UPDATING**
Updating your instance should be easy, unless you already edited the
code base, at that point your on your own.
If you have a direct clone of the master of the current 1.0.2(old
master) branch, then all you need to do is
1. Browse to your DICK folder
2. Run `git pull` to pull new changes
3. Run `npm i` to install new dependancies
4. Delete the `dist` folder
5. Start DICK using `npm start`
6. Enjoy
> **Note**
> If you load your instance and styling seems wrong, please clear your
browsers cache, and reload the page.
> **Note**
> The first user to log into your DICK WebUI will be marked as the
instance admin. You can change which users are admin by editing the user
database file located at `/src/database/users.json`. This file will only
appear once you've started your instance for the first time.
✏️ **CHANGELOG**
```diff
ADDITIONS
+ Admin Dashboard
> This page will be where system administrators can view their syatem settings and stats!
+ Database
> Added DICK database, inside JSON files with management utils.
+ Added new app settings page to Admin Dashboard
> This will allow administrators to customize their instance on the fly without having to edit the codebase. White labeling!
+ Added user list to Admin Dashboard
> This allows administrators to view which users are registered in their ASS currently, and their roles set. You can also create new users from this page. (There are a lot of hidden divs in this page so imstance admins can add extra code to dick to enable stuff like deletion of users)
+ Registrations
> Administrators can toggle registrations into their ASS from their DICK UI via the /register page!
+ Captcha
> By default, when a user gets login information wrong they will be forwarded to a Rick Roll. Now you can add a hCaptcha site key to DICK to enable hCaptcha for your login and register public pages!
+ Added a "default profile picture"
> Every users default profile picture. This is planned to be able to be set per user in the future, so users can pick their own seperate from the default.
REMOVALS
- Removeed STAFF_IDs from codebase.
> This means you can remove this CONSTANT from your instance CONSTANTS file, please see the repo's constants example file to see if yours matches it.
```
```fix
CHANGES
= Large codebase cleanup
= Seperated js for components into their own files based on job
= Redid some naming for tailwind colour theme classes to provide proper theming from the tailwind config file
= Cleaned up a lot of the utils
= Added embed gen page as a hidden extra for devs to add themselves in their own time if they wish (please PR if you achieve this 🤘)
= Fixed the flash message warning colours to actually be red or green depending on error/success
```
## Issues Resolved / Fixes In This Release
Resolves #17 , Resolves #14 , Resolves #10 , Resolves #7
2 years ago
|
|
|
<form class="flex flex-col" method="post" action="/auth/login">
|
|
|
|
<label class="block text-sm">
|
|
|
|
<span class="text-color-tertiary">Username</span>
|
|
|
|
<input class="form-input block w-full mt-1 rounded text-sm text-color-tertiary border-form bg-forminput transition duration-500 focus:border-transparent border-transparent focus:ring-0 focus:border-formaccent focus:text-color-accent"
|
|
|
|
placeholder="Imposter" name="username" type="text" />
|
|
|
|
</label>
|
|
|
|
<label class="block mt-4 text-sm">
|
|
|
|
<span class="text-color-tertiary">Secret Key</span>
|
|
|
|
<input class="form-input block w-full mt-1 rounded text-sm text-color-tertiary border-form bg-forminput transition duration-500 focus:border-transparent border-transparent focus:ring-0 focus:border-formaccent focus:text-color-accent"
|
|
|
|
placeholder="***************" name="password" type="password" />
|
|
|
|
</label>
|
|
|
|
<% if(settingsDatabase.captchaEnabled) { %>
|
|
|
|
<div class="h-captcha mt-4" data-theme="dark" data-sitekey=<%= settingsDatabase.captchaSiteID %>></div>
|
|
|
|
<% } %>
|
|
|
|
<button
|
|
|
|
class="block w-full px-4 py-2 mt-4 text-sm font-medium leading-5 text-center text-color-primary transition-colors duration-150 bg-accentsecondary border border-transparent rounded-lg active:bg-accentsecondary hover:bg-accent focus:outline-none focus:shadow-outline-purple"
|
|
|
|
type="submit">
|
|
|
|
Sign In
|
|
|
|
</button>
|
|
|
|
</form>
|
|
|
|
|
V1.1.0 (#24)
## Update Info
🍆 **DICK** v1.1.0 🍆
Our number is getting bigger! Though, I hear size is not what matters
but how you use it. So, I am happy to introduce you to a bunch of new
stuff within the front end!
🔀 **UPDATING**
Updating your instance should be easy, unless you already edited the
code base, at that point your on your own.
If you have a direct clone of the master of the current 1.0.2(old
master) branch, then all you need to do is
1. Browse to your DICK folder
2. Run `git pull` to pull new changes
3. Run `npm i` to install new dependancies
4. Delete the `dist` folder
5. Start DICK using `npm start`
6. Enjoy
> **Note**
> If you load your instance and styling seems wrong, please clear your
browsers cache, and reload the page.
> **Note**
> The first user to log into your DICK WebUI will be marked as the
instance admin. You can change which users are admin by editing the user
database file located at `/src/database/users.json`. This file will only
appear once you've started your instance for the first time.
✏️ **CHANGELOG**
```diff
ADDITIONS
+ Admin Dashboard
> This page will be where system administrators can view their syatem settings and stats!
+ Database
> Added DICK database, inside JSON files with management utils.
+ Added new app settings page to Admin Dashboard
> This will allow administrators to customize their instance on the fly without having to edit the codebase. White labeling!
+ Added user list to Admin Dashboard
> This allows administrators to view which users are registered in their ASS currently, and their roles set. You can also create new users from this page. (There are a lot of hidden divs in this page so imstance admins can add extra code to dick to enable stuff like deletion of users)
+ Registrations
> Administrators can toggle registrations into their ASS from their DICK UI via the /register page!
+ Captcha
> By default, when a user gets login information wrong they will be forwarded to a Rick Roll. Now you can add a hCaptcha site key to DICK to enable hCaptcha for your login and register public pages!
+ Added a "default profile picture"
> Every users default profile picture. This is planned to be able to be set per user in the future, so users can pick their own seperate from the default.
REMOVALS
- Removeed STAFF_IDs from codebase.
> This means you can remove this CONSTANT from your instance CONSTANTS file, please see the repo's constants example file to see if yours matches it.
```
```fix
CHANGES
= Large codebase cleanup
= Seperated js for components into their own files based on job
= Redid some naming for tailwind colour theme classes to provide proper theming from the tailwind config file
= Cleaned up a lot of the utils
= Added embed gen page as a hidden extra for devs to add themselves in their own time if they wish (please PR if you achieve this 🤘)
= Fixed the flash message warning colours to actually be red or green depending on error/success
```
## Issues Resolved / Fixes In This Release
Resolves #17 , Resolves #14 , Resolves #10 , Resolves #7
2 years ago
|
|
|
<% if(settingsDatabase.registrationEnabled) { %>
|
|
|
|
<p class="mt-4 text-center">
|
|
|
|
<a class="text-sm font-medium text-color-accent hover:underline" href="/register">
|
|
|
|
Create account
|
|
|
|
</a>
|
|
|
|
</p>
|
|
|
|
<% } %>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
V1.1.0 (#24)
## Update Info
🍆 **DICK** v1.1.0 🍆
Our number is getting bigger! Though, I hear size is not what matters
but how you use it. So, I am happy to introduce you to a bunch of new
stuff within the front end!
🔀 **UPDATING**
Updating your instance should be easy, unless you already edited the
code base, at that point your on your own.
If you have a direct clone of the master of the current 1.0.2(old
master) branch, then all you need to do is
1. Browse to your DICK folder
2. Run `git pull` to pull new changes
3. Run `npm i` to install new dependancies
4. Delete the `dist` folder
5. Start DICK using `npm start`
6. Enjoy
> **Note**
> If you load your instance and styling seems wrong, please clear your
browsers cache, and reload the page.
> **Note**
> The first user to log into your DICK WebUI will be marked as the
instance admin. You can change which users are admin by editing the user
database file located at `/src/database/users.json`. This file will only
appear once you've started your instance for the first time.
✏️ **CHANGELOG**
```diff
ADDITIONS
+ Admin Dashboard
> This page will be where system administrators can view their syatem settings and stats!
+ Database
> Added DICK database, inside JSON files with management utils.
+ Added new app settings page to Admin Dashboard
> This will allow administrators to customize their instance on the fly without having to edit the codebase. White labeling!
+ Added user list to Admin Dashboard
> This allows administrators to view which users are registered in their ASS currently, and their roles set. You can also create new users from this page. (There are a lot of hidden divs in this page so imstance admins can add extra code to dick to enable stuff like deletion of users)
+ Registrations
> Administrators can toggle registrations into their ASS from their DICK UI via the /register page!
+ Captcha
> By default, when a user gets login information wrong they will be forwarded to a Rick Roll. Now you can add a hCaptcha site key to DICK to enable hCaptcha for your login and register public pages!
+ Added a "default profile picture"
> Every users default profile picture. This is planned to be able to be set per user in the future, so users can pick their own seperate from the default.
REMOVALS
- Removeed STAFF_IDs from codebase.
> This means you can remove this CONSTANT from your instance CONSTANTS file, please see the repo's constants example file to see if yours matches it.
```
```fix
CHANGES
= Large codebase cleanup
= Seperated js for components into their own files based on job
= Redid some naming for tailwind colour theme classes to provide proper theming from the tailwind config file
= Cleaned up a lot of the utils
= Added embed gen page as a hidden extra for devs to add themselves in their own time if they wish (please PR if you achieve this 🤘)
= Fixed the flash message warning colours to actually be red or green depending on error/success
```
## Issues Resolved / Fixes In This Release
Resolves #17 , Resolves #14 , Resolves #10 , Resolves #7
2 years ago
|
|
|
<% if(settingsDatabase.privateModeEnabled == false) { %>
|
|
|
|
<div class="bg-secondary h-1/2 max-w-md mt-5 mx-auto rounded-lg shadow-xl">
|
|
|
|
<div class="flex justify-around p-3">
|
|
|
|
<div class="text-center">
|
|
|
|
<i data-lucide="files" class="text-color-accent mx-auto"></i>
|
|
|
|
<p class="text-color-tertiary">Total Files Saved </p>
|
|
|
|
<p class="text-color-tertiary">
|
|
|
|
<%= totalData %>
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
<div class="text-center px-5">
|
|
|
|
<i data-lucide="hard-drive" class="text-color-accent mx-auto"></i>
|
|
|
|
<p class="text-color-tertiary">Total Space Used </p>
|
|
|
|
<p class="text-color-tertiary">
|
|
|
|
<%= totalSize %>
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
<div class="text-center">
|
|
|
|
<i data-lucide="users" class="text-color-accent mx-auto"></i>
|
|
|
|
<p class="text-color-tertiary">Total Users </p>
|
|
|
|
<p class="text-color-tertiary">
|
|
|
|
<%= totalUsers %>
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<% } %>
|