Changed templates, added moar css
parent
186294b1fd
commit
8c0e8a0fc8
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,28 @@
|
||||
input {
|
||||
padding: 12px 20px;
|
||||
width: inherit;
|
||||
box-sizing: border-box;
|
||||
border: 1px solid #cedadf;
|
||||
border-radius: 4px;
|
||||
font-size: 1.5em;
|
||||
font-family: "Montserrat"; }
|
||||
|
||||
input:focus {
|
||||
border: 1px solid #fff; }
|
||||
|
||||
button {
|
||||
background-color: #aca4bc;
|
||||
border: none;
|
||||
color: white;
|
||||
padding: 16px 32px;
|
||||
text-decoration: none;
|
||||
margin: 4px 2px;
|
||||
cursor: pointer;
|
||||
font-size: 1.5em;
|
||||
font-family: "Montserrat"; }
|
||||
|
||||
label {
|
||||
font-size: 1em;
|
||||
line-height: 2em; }
|
||||
|
||||
/*# sourceMappingURL=forms.css.map */
|
@ -0,0 +1,7 @@
|
||||
{
|
||||
"version": 3,
|
||||
"mappings": "AAAA,KAAK;EACH,OAAO,EAAE,SAAS;EAClB,KAAK,EAAE,OAAO;EACd,UAAU,EAAE,UAAU;EACtB,MAAM,EAAE,iBAAiB;EACzB,aAAa,EAAE,GAAG;EAClB,SAAS,EAAE,KAAK;EAChB,WAAW,EAAE,YAAY;;AAE3B,WAAW;EACT,MAAM,EAAE,cAAc;;AAExB,MAAM;EACJ,gBAAgB,EAAE,OAAO;EACzB,MAAM,EAAE,IAAI;EACZ,KAAK,EAAE,KAAK;EACZ,OAAO,EAAE,SAAS;EAClB,eAAe,EAAE,IAAI;EACrB,MAAM,EAAE,OAAO;EACf,MAAM,EAAE,OAAO;EACf,SAAS,EAAE,KAAK;EAChB,WAAW,EAAE,YAAY;;AAE3B,KAAK;EACH,SAAS,EAAE,GAAG;EACd,WAAW,EAAE,GAAG",
|
||||
"sources": ["forms.sass"],
|
||||
"names": [],
|
||||
"file": "forms.css"
|
||||
}
|
@ -0,0 +1,26 @@
|
||||
input
|
||||
padding: 12px 20px
|
||||
width: inherit
|
||||
box-sizing: border-box
|
||||
border: 1px solid #cedadf
|
||||
border-radius: 4px
|
||||
font-size: 1.5em
|
||||
font-family: 'Montserrat'
|
||||
|
||||
input:focus
|
||||
border: 1px solid #fff
|
||||
|
||||
button
|
||||
background-color: #aca4bc
|
||||
border: none
|
||||
color: white
|
||||
padding: 16px 32px
|
||||
text-decoration: none
|
||||
margin: 4px 2px
|
||||
cursor: pointer
|
||||
font-size: 1.5em
|
||||
font-family: 'Montserrat'
|
||||
|
||||
label
|
||||
font-size: 1em
|
||||
line-height: 2em
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"version": 3,
|
||||
"mappings": "AAAQ,0BAAe;AAEf,yBAAc;AAEd,6IAAqI;ACJ7I,SAAS;EACP,eAAe,EAAE,IAAI;EACrB,MAAM,EAAE,CAAC;EACT,OAAO,EAAE,CAAC;EACV,QAAQ,EAAE,MAAM;;AAElB,YAAY;EACV,KAAK,EAAE,IAAI;;AAEb,cAAc;EACZ,OAAO,EAAE,YAAY;EACrB,KAAK,EAAE,OAAO;EACd,UAAU,EAAE,MAAM;EAClB,OAAO,EAAE,SAAS;EAClB,eAAe,EAAE,IAAI;EACrB,UAAU,EAAE,IAAI;EAChB,SAAS,EAAE,IAAI;EACf,gBAAgB,EAAE,IAAI;EACtB,MAAM,EAAE,IAAI;EACZ,aAAa,EAAE,GAAG;;AAEpB,oBAAoB;EAClB,gBAAgB,EAAE,IAAI;EACtB,eAAe,EAAE,IAAI;;AAEvB,iBAAiB;EACf,OAAO,EAAE,IAAI;;AAEf,oCAAmC;EACjC,8BAA8B;IAC5B,OAAO,EAAE,IAAI;;EACf,iBAAiB;IACf,KAAK,EAAE,KAAK;IACZ,OAAO,EAAE,YAAY;AAEzB,oCAAmC;EACjC,oBAAoB;IAClB,QAAQ,EAAE,QAAQ;;EAEpB,4BAA4B;IAC1B,QAAQ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EAAE,OAAO",
|
||||
"sources": ["main.scss","navigation.sass","forms.sass"],
|
||||
"names": [],
|
||||
"file": "main.css"
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"version": 3,
|
||||
"mappings": "AAAA,SAAS;EACP,eAAe,EAAE,IAAI;EACrB,MAAM,EAAE,CAAC;EACT,OAAO,EAAE,CAAC;EACV,QAAQ,EAAE,MAAM;;AAElB,YAAY;EACV,KAAK,EAAE,IAAI;;AAEb,cAAc;EACZ,OAAO,EAAE,YAAY;EACrB,KAAK,EAAE,OAAO;EACd,UAAU,EAAE,MAAM;EAClB,OAAO,EAAE,SAAS;EAClB,eAAe,EAAE,IAAI;EACrB,UAAU,EAAE,IAAI;EAChB,SAAS,EAAE,IAAI;EACf,gBAAgB,EAAE,IAAI;EACtB,MAAM,EAAE,IAAI;EACZ,aAAa,EAAE,GAAG;;AAEpB,oBAAoB;EAClB,gBAAgB,EAAE,IAAI;EACtB,eAAe,EAAE,IAAI;;AAEvB,iBAAiB;EACf,OAAO,EAAE,IAAI;;AAEf,oCAAmC;EACjC,8BAA8B;IAC5B,OAAO,EAAE,IAAI;;EACf,iBAAiB;IACf,KAAK,EAAE,KAAK;IACZ,OAAO,EAAE,YAAY;AAEzB,oCAAmC;EACjC,oBAAoB;IAClB,QAAQ,EAAE,QAAQ;;EAEpB,4BAA4B;IAC1B,QAAQ,EAAE,QAAQ;IAClB,KAAK,EAAE,CAAC;IACR,GAAG,EAAE,CAAC;;EAER,uBAAuB;IACrB,KAAK,EAAE,IAAI;IACX,OAAO,EAAE,MAAM;;EAEjB,yBAAyB;IACvB,OAAO,EAAE,KAAK;IACd,UAAU,EAAE,IAAI",
|
||||
"mappings": "AAAA,SAAS;EACP,eAAe,EAAE,IAAI;EACrB,MAAM,EAAE,CAAC;EACT,OAAO,EAAE,CAAC;EACV,QAAQ,EAAE,MAAM;;AAElB,YAAY;EACV,KAAK,EAAE,IAAI;;AAEb,cAAc;EACZ,OAAO,EAAE,YAAY;EACrB,OAAO,EAAE,SAAS;EAClB,eAAe,EAAE,IAAI;EACrB,SAAS,EAAE,IAAI;EACf,gBAAgB,EAAE,IAAI;EACtB,MAAM,EAAE,eAAe;EACvB,aAAa,EAAE,GAAG;EAClB,KAAK,EAAE,OAAO;;AAEhB,oBAAoB;EAClB,gBAAgB,EAAE,OAAO;EACzB,eAAe,EAAE,IAAI;;AAEvB,iBAAiB;EACf,OAAO,EAAE,IAAI;;AAEf,oCAAmC;EACjC,8BAA8B;IAC5B,OAAO,EAAE,IAAI;;EACf,iBAAiB;IACf,KAAK,EAAE,KAAK;IACZ,OAAO,EAAE,YAAY;AAEzB,oCAAmC;EACjC,oBAAoB;IAClB,QAAQ,EAAE,QAAQ;;EAEpB,4BAA4B;IAC1B,QAAQ,EAAE,QAAQ;IAClB,KAAK,EAAE,CAAC;IACR,GAAG,EAAE,CAAC;;EAER,uBAAuB;IACrB,KAAK,EAAE,IAAI;IACX,OAAO,EAAE,MAAM;;EAEjB,yBAAyB;IACvB,OAAO,EAAE,KAAK;IACd,UAAU,EAAE,IAAI",
|
||||
"sources": ["navigation.sass"],
|
||||
"names": [],
|
||||
"file": "navigation.css"
|
||||
|
@ -1,30 +1,42 @@
|
||||
{% extends "base.html.twig" %}
|
||||
{% block content %}
|
||||
<div class="second-page">
|
||||
<div class="intro-page">
|
||||
<div class="intro-page-logo">zer.ooo</div>
|
||||
<div class="intro-page-welcome-text">what even is infosec?</div>
|
||||
<ul class="topnav">
|
||||
{% if user %}
|
||||
<li><a href="/logout">Logout</a></li>
|
||||
<li><a href="/panel">Control Panel</a></li>
|
||||
{% else %}
|
||||
<li><a href="/login">Login</a></li>
|
||||
<li><a href="/register">Register</a></li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
<a href="#info-page"><i class="fa fa-angle-double-down fa-5x" aria-hidden="true"></i></a>
|
||||
</div>
|
||||
|
||||
<div class="item">
|
||||
<center><span class="flaticon-locked-1"></span></center>
|
||||
<h1>Insecure</h1>
|
||||
<p>At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga.</p>
|
||||
</div>
|
||||
|
||||
<div class="item">
|
||||
<div class="info-page">
|
||||
<a name="info-page"></a>
|
||||
<div class="info-page-item">
|
||||
<center><span class="flaticon-like"></span></center>
|
||||
<h1>Unreliable</h1>
|
||||
<p>At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga.</p>
|
||||
<p>Don't complain if this goes down.</p>
|
||||
</div>
|
||||
|
||||
<div class="item">
|
||||
<div class="info-page-item">
|
||||
<center><span class="flaticon-garbage"></span></center>
|
||||
<h1>Incompetent</h1>
|
||||
<p>At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga.</p>
|
||||
<p>I have no idea what I'm doing dog meme.jpg</p>
|
||||
</div>
|
||||
|
||||
<div class="item">
|
||||
<center><span class="flaticon-view-1"></span></center>
|
||||
<h1>Evasive</h1>
|
||||
<p>At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga.</p>
|
||||
<div class="info-page-item">
|
||||
<center><span class="flaticon-locked-1"></span></center>
|
||||
<h1>Insecure</h1>
|
||||
<p>Don't rely on this VPN if your life depends on it.</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer-page">
|
||||
<h1>an eaterofcode production</h1>
|
||||
<a href="/"><i class="fa fa-github fa-4x" aria-hidden="true"></i></a>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
@ -1,36 +1,31 @@
|
||||
{% extends "base.html.twig" %}
|
||||
|
||||
{% block content %}
|
||||
<div class="container">
|
||||
<div class="col-md-offset-3 col-md-6">
|
||||
<div class="row">
|
||||
<h2>Login</h2>
|
||||
</div>
|
||||
{% if error %}
|
||||
<div class="row">
|
||||
<div class="alert alert-warning" role="alert">
|
||||
{{ error }}
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class="row">
|
||||
<form method="post" action="/login">
|
||||
<div class="form-group">
|
||||
<label for="username">Username</label>
|
||||
<input id="username" class="form-control" type="text" name="username">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="password">Password</label>
|
||||
<input id="password" class="form-control" type="password" name="password">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<span>
|
||||
Not registered yet, but have an invite? <a href="/register">register here.</a>
|
||||
</span>
|
||||
<button type="submit" class="btn btn-primary pull-right">Login</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="login-page">
|
||||
<div class="login-page-logo">Zer.ooo</div>
|
||||
<div class="intro-page-welcome-text">Login with an exisiting account</div>
|
||||
<ul class="topnav">
|
||||
<li><a href="/">Home</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="info-page">
|
||||
<div class="login-page-form">
|
||||
|
||||
{% if error %}
|
||||
<div class="alert alert-warning" role="alert">
|
||||
{{ error }}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<form method="post" action="/login">
|
||||
<input id="username" type="text" placeholder="Username" name="username">
|
||||
<br><br>
|
||||
<input id="password" type="password" placeholder="Password" name="password">
|
||||
<br><br>
|
||||
<p>Not yet registered, but have an invite? <a href="/register">Register here.</a></p>
|
||||
<button type="submit">Login</button>
|
||||
</form>
|
||||
</div>
|
||||
{% endblock %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
@ -1,37 +1,27 @@
|
||||
{% extends "base.html.twig" %}
|
||||
|
||||
{% block content %}
|
||||
<div class="container">
|
||||
<div class="col-md-offset-3 col-md-6">
|
||||
<div class="row">
|
||||
<h2>Register</h2>
|
||||
</div>
|
||||
{% if error %}
|
||||
<div class="row">
|
||||
<div class="alert alert-warning" role="alert">
|
||||
{{ error }}
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class="row">
|
||||
<form method="post" action="/register">
|
||||
<div class="form-group">
|
||||
<label for="invite">Invite</label>
|
||||
<input id="invite" class="form-control" type="text" name="invite">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="username">Username</label>
|
||||
<input id="username" class="form-control" type="text" name="username">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="password">Password</label>
|
||||
<input id="password" class="form-control" type="password" name="password">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<button type="submit" class="btn btn-primary pull-right">register</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="login-page">
|
||||
<div class="login-page-logo">Zer.ooo Register</div>
|
||||
</div>
|
||||
|
||||
<div class="info-page">
|
||||
<div class="login-page-form">
|
||||
|
||||
{% if error %}
|
||||
<div class="alert alert-warning" role="alert">
|
||||
{{ error }}
|
||||
</div>
|
||||
{% endif %}
|
||||
<form method="post" action="/register">
|
||||
<input id="invite" type="text" placeholder="Invitation code" name="invite">
|
||||
<br><br>
|
||||
<input id="username" type="text" placeholder="Your username" name="username">
|
||||
<br><br>
|
||||
<input id="password" type="password" placeholder="Password" name="password">
|
||||
<br><br>
|
||||
<button type="submit">Register</button>
|
||||
</form>
|
||||
</div>
|
||||
{% endblock %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
Loading…
Reference in New Issue