forked from bunkerity/bunkerweb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Lint ui files and change .prettierignore file
- Loading branch information
1 parent
5cc80d2
commit d81c526
Showing
15 changed files
with
3,256 additions
and
2,685 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 |
---|---|---|
|
@@ -10,4 +10,4 @@ CONTRIBUTING.md | |
LICENSE.md | ||
README.md | ||
SECURITY.md | ||
ui | ||
src/ui/static |
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,42 +1,42 @@ | ||
<div class="col-xl-3 col-md-6 mb-4"> | ||
<div class="card border-left-primary shadow h-100 py-2"> | ||
<div class="card-body"> | ||
<div class="row no-gutters align-items-center"> | ||
<div class="col mr-2"> | ||
<div | ||
class="text-xs font-weight-bold text-primary text-uppercase mb-1" | ||
> | ||
BunkerWeb version | ||
</div> | ||
{% if check_version %} | ||
<div class="h5 mb-0 font-weight-bold text-gray-800"> | ||
{{ version }} {% if not remote_version %} | ||
<span class="h6 mb-0 text-warning" | ||
>(couldn't fetch remote version)</span | ||
> | ||
{% endif %} | ||
</div> | ||
{% else %} | ||
<div class="h5 mb-0 font-weight-bold"> | ||
<span class="text-warning">{{ version }} (your version)</span> | ||
<i class="fa-solid fa-arrow-right-long"></i> | ||
<span class="text-success">{{ remote_version }} (latest)</span> | ||
</div> | ||
{% endif %} | ||
</div> | ||
{% if not check_version %} | ||
<div class="col-auto"> | ||
<a | ||
href="https://github.com/bunkerity/bunkerweb" | ||
class="btn btn-success" | ||
>Update</a | ||
> | ||
</div> | ||
{% endif %} | ||
<div class="col-auto"> | ||
<i class="fa-solid fa-code-branch fa-2x text-gray-300"></i> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="col-xl-3 col-md-6 mb-4"> | ||
<div class="card border-left-primary shadow h-100 py-2"> | ||
<div class="card-body"> | ||
<div class="row no-gutters align-items-center"> | ||
<div class="col mr-2"> | ||
<div | ||
class="text-xs font-weight-bold text-primary text-uppercase mb-1" | ||
> | ||
BunkerWeb version | ||
</div> | ||
{% if check_version %} | ||
<div class="h5 mb-0 font-weight-bold text-gray-800"> | ||
{{ version }} {% if not remote_version %} | ||
<span class="h6 mb-0 text-warning" | ||
>(couldn't fetch remote version)</span | ||
> | ||
{% endif %} | ||
</div> | ||
{% else %} | ||
<div class="h5 mb-0 font-weight-bold"> | ||
<span class="text-warning">{{ version }} (your version)</span> | ||
<i class="fa-solid fa-arrow-right-long"></i> | ||
<span class="text-success">{{ remote_version }} (latest)</span> | ||
</div> | ||
{% endif %} | ||
</div> | ||
{% if not check_version %} | ||
<div class="col-auto"> | ||
<a | ||
href="https://github.com/bunkerity/bunkerweb" | ||
class="btn btn-success" | ||
>Update</a | ||
> | ||
</div> | ||
{% endif %} | ||
<div class="col-auto"> | ||
<i class="fa-solid fa-code-branch fa-2x text-gray-300"></i> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> |
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,20 +1,20 @@ | ||
<ul class="list-unstyled pages"> | ||
<li> | ||
<a href="https://www.bunkerweb.io" target="_blank">BunkerWeb</a> | ||
</li> | ||
<li> | ||
<a href="https://docs.bunkerweb.io" target="_blank">Documentation</a> | ||
</li> | ||
<li> | ||
<a | ||
href="https://github.com/bunkerity/bunkerweb/blob/master/LICENSE" | ||
target="_blank" | ||
>License</a | ||
> | ||
</li> | ||
<li> | ||
<a href="https://www.bunkerweb.io/privacy-policy" target="_blank" | ||
>Privacy Policy</a | ||
> | ||
</li> | ||
</ul> | ||
<ul class="list-unstyled pages"> | ||
<li> | ||
<a href="https://www.bunkerweb.io" target="_blank">BunkerWeb</a> | ||
</li> | ||
<li> | ||
<a href="https://docs.bunkerweb.io" target="_blank">Documentation</a> | ||
</li> | ||
<li> | ||
<a | ||
href="https://github.com/bunkerity/bunkerweb/blob/master/LICENSE" | ||
target="_blank" | ||
>License</a | ||
> | ||
</li> | ||
<li> | ||
<a href="https://www.bunkerweb.io/privacy-policy" target="_blank" | ||
>Privacy Policy</a | ||
> | ||
</li> | ||
</ul> |
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,36 +1,36 @@ | ||
<form | ||
action="https://bunkerity.us1.list-manage.com/subscribe/post?u=ec5b1577cf427972b9bd491a6&id=37076d9d67" | ||
method="POST" | ||
class="needs-validation" | ||
id="subscribe-newsletter" | ||
> | ||
<div class="input-group mb-2"> | ||
<input | ||
type="text" | ||
id="newsletter-email" | ||
name="EMAIL" | ||
class="form-control" | ||
placeholder="John.doe@example.com" | ||
pattern="[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-z]{2,}$" | ||
required="" | ||
/> | ||
<button class="btn btn-outline-light" type="submit" formtarget="_blank"> | ||
Subscribe | ||
</button> | ||
</div> | ||
<div class="input-group align-items-center"> | ||
<input | ||
class="col-auto form-check form-switch" | ||
type="checkbox" | ||
id="newsletter-check" | ||
required="" | ||
/> | ||
| ||
<h6 class="col-auto h6 mb-0"> | ||
I've read and agree to the | ||
<a href="https://www.bunkerity.com/privacy-policy/" _target="_blank" | ||
>privacy policy</a | ||
> | ||
</h6> | ||
</div> | ||
</form> | ||
<form | ||
action="https://bunkerity.us1.list-manage.com/subscribe/post?u=ec5b1577cf427972b9bd491a6&id=37076d9d67" | ||
method="POST" | ||
class="needs-validation" | ||
id="subscribe-newsletter" | ||
> | ||
<div class="input-group mb-2"> | ||
<input | ||
type="text" | ||
id="newsletter-email" | ||
name="EMAIL" | ||
class="form-control" | ||
placeholder="John.doe@example.com" | ||
pattern="[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-z]{2,}$" | ||
required="" | ||
/> | ||
<button class="btn btn-outline-light" type="submit" formtarget="_blank"> | ||
Subscribe | ||
</button> | ||
</div> | ||
<div class="input-group align-items-center"> | ||
<input | ||
class="col-auto form-check form-switch" | ||
type="checkbox" | ||
id="newsletter-check" | ||
required="" | ||
/> | ||
| ||
<h6 class="col-auto h6 mb-0"> | ||
I've read and agree to the | ||
<a href="https://www.bunkerity.com/privacy-policy/" _target="_blank" | ||
>privacy policy</a | ||
> | ||
</h6> | ||
</div> | ||
</form> |
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,25 +1,25 @@ | ||
<div class="col-lg-2 footer-social animated fadeInDown"> | ||
<h4>Follow Us</h4> | ||
<ul class="list-unstyled"> | ||
<li> | ||
<a href="https://twitter.com/bunkerity" target="_blank" | ||
><i class="bi bi-twitter" aria-label="Twitter"></i>Twitter</a | ||
> | ||
</li> | ||
<li> | ||
<a href="https://www.linkedin.com/company/bunkerity/" target="_blank" | ||
><i class="bi bi-linkedin" aria-label="LinkedIn"></i>LinkedIn</a | ||
> | ||
</li> | ||
<li> | ||
<a href="https://discord.gg/fTf46FmtyD" target="_blank" | ||
><i class="bi bi-discord" aria-label="Discord"></i>Discord</a | ||
> | ||
</li> | ||
<li> | ||
<a href="https://github.com/bunkerity" target="_blank" | ||
><i class="bi bi-github" aria-label="GitHub"></i>GitHub</a | ||
> | ||
</li> | ||
</ul> | ||
</div> | ||
<div class="col-lg-2 footer-social animated fadeInDown"> | ||
<h4>Follow Us</h4> | ||
<ul class="list-unstyled"> | ||
<li> | ||
<a href="https://twitter.com/bunkerity" target="_blank" | ||
><i class="bi bi-twitter" aria-label="Twitter"></i>Twitter</a | ||
> | ||
</li> | ||
<li> | ||
<a href="https://www.linkedin.com/company/bunkerity/" target="_blank" | ||
><i class="bi bi-linkedin" aria-label="LinkedIn"></i>LinkedIn</a | ||
> | ||
</li> | ||
<li> | ||
<a href="https://discord.gg/fTf46FmtyD" target="_blank" | ||
><i class="bi bi-discord" aria-label="Discord"></i>Discord</a | ||
> | ||
</li> | ||
<li> | ||
<a href="https://github.com/bunkerity" target="_blank" | ||
><i class="bi bi-github" aria-label="GitHub"></i>GitHub</a | ||
> | ||
</li> | ||
</ul> | ||
</div> |
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,20 +1,20 @@ | ||
<!-- simple alert --> | ||
<div class="relative w-full p-4 text-white bg-blue-500 rounded-lg"> | ||
Alert blue | ||
</div> | ||
<!-- dismiss alert --> | ||
<div | ||
alert | ||
class="relative p-4 pr-12 mb-4 text-white border border-blue-300 border-solid rounded-lg bg-gradient-to-tl from-blue-500 to-violet-500" | ||
> | ||
A simple blue alert with | ||
<a href="javascript:;" class="font-semibold text-white">an example link</a>. | ||
Give it a click if you like. | ||
<button | ||
alert-close | ||
type="button" | ||
class="box-content absolute top-0 right-0 w-4 h-4 p-4 text-sm text-white bg-transparent border-0 rounded z-2" | ||
> | ||
<span aria-hidden="true" class="text-center cursor-pointer">✕</span> | ||
</button> | ||
</div> | ||
<!-- simple alert --> | ||
<div class="relative w-full p-4 text-white bg-blue-500 rounded-lg"> | ||
Alert blue | ||
</div> | ||
<!-- dismiss alert --> | ||
<div | ||
alert | ||
class="relative p-4 pr-12 mb-4 text-white border border-blue-300 border-solid rounded-lg bg-gradient-to-tl from-blue-500 to-violet-500" | ||
> | ||
A simple blue alert with | ||
<a href="javascript:;" class="font-semibold text-white">an example link</a>. | ||
Give it a click if you like. | ||
<button | ||
alert-close | ||
type="button" | ||
class="box-content absolute top-0 right-0 w-4 h-4 p-4 text-sm text-white bg-transparent border-0 rounded z-2" | ||
> | ||
<span aria-hidden="true" class="text-center cursor-pointer">✕</span> | ||
</button> | ||
</div> |
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,6 +1,6 @@ | ||
<button | ||
type="button" | ||
class="dark:brightness-90 inline-block px-6 py-3 font-bold text-center text-white uppercase align-middle transition-all rounded-lg cursor-pointer bg-gradient-to-tl bg-primary hover:bg-primary/80 focus:bg-primary/80 leading-normal text-xs ease-in tracking-tight-rem shadow-xs bg-150 bg-x-25 hover:-translate-y-px active:opacity-85 hover:shadow-md" | ||
> | ||
Button | ||
</button> | ||
<button | ||
type="button" | ||
class="dark:brightness-90 inline-block px-6 py-3 font-bold text-center text-white uppercase align-middle transition-all rounded-lg cursor-pointer bg-gradient-to-tl bg-primary hover:bg-primary/80 focus:bg-primary/80 leading-normal text-xs ease-in tracking-tight-rem shadow-xs bg-150 bg-x-25 hover:-translate-y-px active:opacity-85 hover:shadow-md" | ||
> | ||
Button | ||
</button> |
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,40 +1,40 @@ | ||
<!-- CONTAINER --> | ||
<div | ||
class="relative flex flex-col min-w-0 break-words bg-white shadow-xl dark:bg-slate-850 dark:shadow-dark-xl rounded-2xl bg-clip-border" | ||
></div> | ||
<!-- CONTAINER --> | ||
|
||
<!-- TITLE --> | ||
<p class="mb-0 font-sans font-semibold leading-normal uppercase text-sm"> | ||
Today's Money | ||
</p> | ||
<!-- TITLE --> | ||
|
||
<!-- DATA --> | ||
<h5 class="mb-2 font-bold dark:text-white">$53,000</h5> | ||
<!-- DATA --> | ||
|
||
<!-- DETAIL--> | ||
<p class="mb-0 dark:text-white dark:opacity-60"> | ||
<span class="font-bold leading-normal text-sm text-emerald-500">+55%</span> | ||
since yesterday | ||
</p> | ||
<!-- DETAIL--> | ||
|
||
<!-- ICON --> | ||
<div class="inline-block w-12 h-12 text-center rounded-circle bg-primaryr"> | ||
<i class="fa fa-coins text-lg relative top-3.5 text-white"></i> | ||
</div> | ||
<!-- ICON --> | ||
|
||
<!-- LEARN MORE --> | ||
<a | ||
class="mt-auto mb-0 font-semibold leading-normal text-sm group text-slate-500" | ||
href="javascript:;" | ||
> | ||
Read More | ||
<i | ||
class="fas fa-arrow-right ease-bounce text-sm group-hover:translate-x-1.25 ml-1 leading-normal transition-all duration-200" | ||
></i> | ||
</a> | ||
<!-- LEARN MORE --> | ||
<!-- CONTAINER --> | ||
<div | ||
class="relative flex flex-col min-w-0 break-words bg-white shadow-xl dark:bg-slate-850 dark:shadow-dark-xl rounded-2xl bg-clip-border" | ||
></div> | ||
<!-- CONTAINER --> | ||
|
||
<!-- TITLE --> | ||
<p class="mb-0 font-sans font-semibold leading-normal uppercase text-sm"> | ||
Today's Money | ||
</p> | ||
<!-- TITLE --> | ||
|
||
<!-- DATA --> | ||
<h5 class="mb-2 font-bold dark:text-white">$53,000</h5> | ||
<!-- DATA --> | ||
|
||
<!-- DETAIL--> | ||
<p class="mb-0 dark:text-white dark:opacity-60"> | ||
<span class="font-bold leading-normal text-sm text-emerald-500">+55%</span> | ||
since yesterday | ||
</p> | ||
<!-- DETAIL--> | ||
|
||
<!-- ICON --> | ||
<div class="inline-block w-12 h-12 text-center rounded-circle bg-primaryr"> | ||
<i class="fa fa-coins text-lg relative top-3.5 text-white"></i> | ||
</div> | ||
<!-- ICON --> | ||
|
||
<!-- LEARN MORE --> | ||
<a | ||
class="mt-auto mb-0 font-semibold leading-normal text-sm group text-slate-500" | ||
href="javascript:;" | ||
> | ||
Read More | ||
<i | ||
class="fas fa-arrow-right ease-bounce text-sm group-hover:translate-x-1.25 ml-1 leading-normal transition-all duration-200" | ||
></i> | ||
</a> | ||
<!-- LEARN MORE --> |
Oops, something went wrong.