-
Notifications
You must be signed in to change notification settings - Fork 57
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 #80 from Psycojoker/encrypt
Global password access
- Loading branch information
Showing
16 changed files
with
538 additions
and
429 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
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,93 @@ | ||
.staticrypt-hr { | ||
margin-top: 20px; | ||
margin-bottom: 20px; | ||
border: 0; | ||
border-top: 1px solid #eee; | ||
} | ||
|
||
.staticrypt-page { | ||
width: 360px; | ||
padding: 8% 0 0; | ||
margin: auto; | ||
box-sizing: border-box; | ||
} | ||
|
||
.staticrypt-form { | ||
position: relative; | ||
z-index: 1; | ||
background: #FFFFFF; | ||
max-width: 360px; | ||
margin: 0 auto 100px; | ||
padding: 45px; | ||
text-align: center; | ||
box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24); | ||
} | ||
|
||
.staticrypt-form input { | ||
outline: 0; | ||
background: #292525; | ||
width: 100%; | ||
border: 0; | ||
margin: 0 0 15px; | ||
padding: 15px; | ||
box-sizing: border-box; | ||
font-size: 14px; | ||
} | ||
|
||
.staticrypt-form .staticrypt-decrypt-button { | ||
text-transform: uppercase; | ||
outline: 0; | ||
background: #91C25F; | ||
width: 100%; | ||
border: 0; | ||
padding: 15px; | ||
color: #FFFFFF; | ||
font-size: 14px; | ||
cursor: pointer; | ||
} | ||
|
||
.staticrypt-html { | ||
height: 100%; | ||
} | ||
|
||
.staticrypt-body { | ||
background: #FFF; /* fallback for old browsers */ | ||
font-family: "Arial", sans-serif; | ||
} | ||
|
||
.staticrypt-instructions { | ||
margin-top: -1em; | ||
margin-bottom: 1em; | ||
} | ||
|
||
.staticrypt-title { | ||
font-size: 1.5em; | ||
} | ||
|
||
footer { | ||
position: relative; | ||
right: 0; | ||
bottom: 0; | ||
left: 0; | ||
margin-top: 6em; | ||
text-align: center; | ||
font-family: 'crimson', serif; | ||
font-size: 11px; | ||
color: #555; | ||
background-color: #EEE; | ||
border-top: solid 2px #DDD; | ||
padding-bottom: 10px; | ||
padding-top: 14px; | ||
} | ||
|
||
footer p { | ||
margin: 0; | ||
} | ||
|
||
footer a { | ||
text-decoration: none; | ||
font-weight: 600; | ||
font-family: 'montserrat', sans-serif; | ||
color: #111; | ||
} | ||
|
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,21 @@ | ||
<div class="staticrypt-page"> | ||
<div class="staticrypt-form"> | ||
<div class="staticrypt-instructions"> | ||
<img id="logo" src="./../static/img/logo.svg"> | ||
<p class="staticrypt-title">{% if gallery %}{{ gallery.title }}{% else %}{{ settings.title }}{% endif %}</p> | ||
</div> | ||
<hr class="staticrypt-hr"> | ||
<form id="staticrypt-form" action="#" method="post"> | ||
<div id="error" style="color: red; padding-bottom: 10px; height: 20px;"></div> | ||
<input id="staticrypt-password" | ||
type="password" | ||
name="password" | ||
placeholder="passphrase" | ||
autofocus/> | ||
<input type="submit" class="staticrypt-decrypt-button" value="ENTER"/> | ||
</form> | ||
</div> | ||
</div> | ||
<footer style="position: absolute;"> | ||
<p>Generated using <a href="https://github.com/psycojoker/prosopopee">Prosopopée</a> · content under <a href="https://creativecommons.org/licenses/by-sa/3.0/">CC-BY-SA</a> · atom logo by <a href="https://thenounproject.com/jjjon/">Jonathan Li</a> under <a href="https://creativecommons.org/licenses/by/3.0/">CC-BY</a></p> | ||
</footer> |
Oops, something went wrong.