Compare commits
No commits in common. "951f0246dbf9893f9f10889fadf37a0a6148e3cb" and "8ffcf6c9e0a6a4e09ec1187d748af47b7c5f20cb" have entirely different histories.
951f0246db
...
8ffcf6c9e0
|
@ -10,7 +10,6 @@ edition = "2018"
|
||||||
actix-web = "3.3.2"
|
actix-web = "3.3.2"
|
||||||
actix-session = "0.4.1"
|
actix-session = "0.4.1"
|
||||||
actix-web-httpauth = "0.5.1"
|
actix-web-httpauth = "0.5.1"
|
||||||
actix-files = "0.5.0"
|
|
||||||
askama = "0.10.5"
|
askama = "0.10.5"
|
||||||
askama_actix = "0.11.1"
|
askama_actix = "0.11.1"
|
||||||
env_logger = "0.8.4"
|
env_logger = "0.8.4"
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
mod git;
|
mod git;
|
||||||
mod ite;
|
mod ite;
|
||||||
|
|
||||||
use actix_files::Files;
|
|
||||||
use actix_web::{get, post, web, App, HttpResponse, HttpServer, Responder, Error, HttpRequest};
|
use actix_web::{get, post, web, App, HttpResponse, HttpServer, Responder, Error, HttpRequest};
|
||||||
use askama_actix::Template;
|
use askama_actix::Template;
|
||||||
use actix_session::{Session, CookieSession};
|
use actix_session::{Session, CookieSession};
|
||||||
|
@ -165,12 +164,6 @@ async fn main() -> std::io::Result<()> {
|
||||||
.wrap(auth)
|
.wrap(auth)
|
||||||
.route(web::get().to(hello_auth))
|
.route(web::get().to(hello_auth))
|
||||||
)
|
)
|
||||||
.service(
|
|
||||||
Files::new("/static", "static")
|
|
||||||
.use_last_modified(true)
|
|
||||||
.use_etag(true)
|
|
||||||
// .show_files_listing()
|
|
||||||
)
|
|
||||||
.route("/hey", web::get().to(manual_hello))
|
.route("/hey", web::get().to(manual_hello))
|
||||||
})
|
})
|
||||||
.bind("127.0.0.1:8080")?
|
.bind("127.0.0.1:8080")?
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -1,15 +0,0 @@
|
||||||
/*!
|
|
||||||
* Font Awesome Free 5.15.3 by @fontawesome - https://fontawesome.com
|
|
||||||
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
||||||
*/
|
|
||||||
@font-face {
|
|
||||||
font-family: 'Font Awesome 5 Brands';
|
|
||||||
font-style: normal;
|
|
||||||
font-weight: 400;
|
|
||||||
font-display: block;
|
|
||||||
src: url("../webfonts/fa-brands-400.eot");
|
|
||||||
src: url("../webfonts/fa-brands-400.eot?#iefix") format("embedded-opentype"), url("../webfonts/fa-brands-400.woff2") format("woff2"), url("../webfonts/fa-brands-400.woff") format("woff"), url("../webfonts/fa-brands-400.ttf") format("truetype"), url("../webfonts/fa-brands-400.svg#fontawesome") format("svg"); }
|
|
||||||
|
|
||||||
.fab {
|
|
||||||
font-family: 'Font Awesome 5 Brands';
|
|
||||||
font-weight: 400; }
|
|
|
@ -1,5 +0,0 @@
|
||||||
/*!
|
|
||||||
* Font Awesome Free 5.15.3 by @fontawesome - https://fontawesome.com
|
|
||||||
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
||||||
*/
|
|
||||||
@font-face{font-family:"Font Awesome 5 Brands";font-style:normal;font-weight:400;font-display:block;src:url(../webfonts/fa-brands-400.eot);src:url(../webfonts/fa-brands-400.eot?#iefix) format("embedded-opentype"),url(../webfonts/fa-brands-400.woff2) format("woff2"),url(../webfonts/fa-brands-400.woff) format("woff"),url(../webfonts/fa-brands-400.ttf) format("truetype"),url(../webfonts/fa-brands-400.svg#fontawesome) format("svg")}.fab{font-family:"Font Awesome 5 Brands";font-weight:400}
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -1,15 +0,0 @@
|
||||||
/*!
|
|
||||||
* Font Awesome Free 5.15.3 by @fontawesome - https://fontawesome.com
|
|
||||||
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
||||||
*/
|
|
||||||
@font-face {
|
|
||||||
font-family: 'Font Awesome 5 Free';
|
|
||||||
font-style: normal;
|
|
||||||
font-weight: 400;
|
|
||||||
font-display: block;
|
|
||||||
src: url("../webfonts/fa-regular-400.eot");
|
|
||||||
src: url("../webfonts/fa-regular-400.eot?#iefix") format("embedded-opentype"), url("../webfonts/fa-regular-400.woff2") format("woff2"), url("../webfonts/fa-regular-400.woff") format("woff"), url("../webfonts/fa-regular-400.ttf") format("truetype"), url("../webfonts/fa-regular-400.svg#fontawesome") format("svg"); }
|
|
||||||
|
|
||||||
.far {
|
|
||||||
font-family: 'Font Awesome 5 Free';
|
|
||||||
font-weight: 400; }
|
|
|
@ -1,5 +0,0 @@
|
||||||
/*!
|
|
||||||
* Font Awesome Free 5.15.3 by @fontawesome - https://fontawesome.com
|
|
||||||
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
||||||
*/
|
|
||||||
@font-face{font-family:"Font Awesome 5 Free";font-style:normal;font-weight:400;font-display:block;src:url(../webfonts/fa-regular-400.eot);src:url(../webfonts/fa-regular-400.eot?#iefix) format("embedded-opentype"),url(../webfonts/fa-regular-400.woff2) format("woff2"),url(../webfonts/fa-regular-400.woff) format("woff"),url(../webfonts/fa-regular-400.ttf) format("truetype"),url(../webfonts/fa-regular-400.svg#fontawesome) format("svg")}.far{font-family:"Font Awesome 5 Free";font-weight:400}
|
|
|
@ -1,16 +0,0 @@
|
||||||
/*!
|
|
||||||
* Font Awesome Free 5.15.3 by @fontawesome - https://fontawesome.com
|
|
||||||
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
||||||
*/
|
|
||||||
@font-face {
|
|
||||||
font-family: 'Font Awesome 5 Free';
|
|
||||||
font-style: normal;
|
|
||||||
font-weight: 900;
|
|
||||||
font-display: block;
|
|
||||||
src: url("../webfonts/fa-solid-900.eot");
|
|
||||||
src: url("../webfonts/fa-solid-900.eot?#iefix") format("embedded-opentype"), url("../webfonts/fa-solid-900.woff2") format("woff2"), url("../webfonts/fa-solid-900.woff") format("woff"), url("../webfonts/fa-solid-900.ttf") format("truetype"), url("../webfonts/fa-solid-900.svg#fontawesome") format("svg"); }
|
|
||||||
|
|
||||||
.fa,
|
|
||||||
.fas {
|
|
||||||
font-family: 'Font Awesome 5 Free';
|
|
||||||
font-weight: 900; }
|
|
|
@ -1,5 +0,0 @@
|
||||||
/*!
|
|
||||||
* Font Awesome Free 5.15.3 by @fontawesome - https://fontawesome.com
|
|
||||||
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
||||||
*/
|
|
||||||
@font-face{font-family:"Font Awesome 5 Free";font-style:normal;font-weight:900;font-display:block;src:url(../webfonts/fa-solid-900.eot);src:url(../webfonts/fa-solid-900.eot?#iefix) format("embedded-opentype"),url(../webfonts/fa-solid-900.woff2) format("woff2"),url(../webfonts/fa-solid-900.woff) format("woff"),url(../webfonts/fa-solid-900.ttf) format("truetype"),url(../webfonts/fa-solid-900.svg#fontawesome) format("svg")}.fa,.fas{font-family:"Font Awesome 5 Free";font-weight:900}
|
|
|
@ -1,371 +0,0 @@
|
||||||
/*!
|
|
||||||
* Font Awesome Free 5.15.3 by @fontawesome - https://fontawesome.com
|
|
||||||
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
||||||
*/
|
|
||||||
svg:not(:root).svg-inline--fa {
|
|
||||||
overflow: visible; }
|
|
||||||
|
|
||||||
.svg-inline--fa {
|
|
||||||
display: inline-block;
|
|
||||||
font-size: inherit;
|
|
||||||
height: 1em;
|
|
||||||
overflow: visible;
|
|
||||||
vertical-align: -.125em; }
|
|
||||||
.svg-inline--fa.fa-lg {
|
|
||||||
vertical-align: -.225em; }
|
|
||||||
.svg-inline--fa.fa-w-1 {
|
|
||||||
width: 0.0625em; }
|
|
||||||
.svg-inline--fa.fa-w-2 {
|
|
||||||
width: 0.125em; }
|
|
||||||
.svg-inline--fa.fa-w-3 {
|
|
||||||
width: 0.1875em; }
|
|
||||||
.svg-inline--fa.fa-w-4 {
|
|
||||||
width: 0.25em; }
|
|
||||||
.svg-inline--fa.fa-w-5 {
|
|
||||||
width: 0.3125em; }
|
|
||||||
.svg-inline--fa.fa-w-6 {
|
|
||||||
width: 0.375em; }
|
|
||||||
.svg-inline--fa.fa-w-7 {
|
|
||||||
width: 0.4375em; }
|
|
||||||
.svg-inline--fa.fa-w-8 {
|
|
||||||
width: 0.5em; }
|
|
||||||
.svg-inline--fa.fa-w-9 {
|
|
||||||
width: 0.5625em; }
|
|
||||||
.svg-inline--fa.fa-w-10 {
|
|
||||||
width: 0.625em; }
|
|
||||||
.svg-inline--fa.fa-w-11 {
|
|
||||||
width: 0.6875em; }
|
|
||||||
.svg-inline--fa.fa-w-12 {
|
|
||||||
width: 0.75em; }
|
|
||||||
.svg-inline--fa.fa-w-13 {
|
|
||||||
width: 0.8125em; }
|
|
||||||
.svg-inline--fa.fa-w-14 {
|
|
||||||
width: 0.875em; }
|
|
||||||
.svg-inline--fa.fa-w-15 {
|
|
||||||
width: 0.9375em; }
|
|
||||||
.svg-inline--fa.fa-w-16 {
|
|
||||||
width: 1em; }
|
|
||||||
.svg-inline--fa.fa-w-17 {
|
|
||||||
width: 1.0625em; }
|
|
||||||
.svg-inline--fa.fa-w-18 {
|
|
||||||
width: 1.125em; }
|
|
||||||
.svg-inline--fa.fa-w-19 {
|
|
||||||
width: 1.1875em; }
|
|
||||||
.svg-inline--fa.fa-w-20 {
|
|
||||||
width: 1.25em; }
|
|
||||||
.svg-inline--fa.fa-pull-left {
|
|
||||||
margin-right: .3em;
|
|
||||||
width: auto; }
|
|
||||||
.svg-inline--fa.fa-pull-right {
|
|
||||||
margin-left: .3em;
|
|
||||||
width: auto; }
|
|
||||||
.svg-inline--fa.fa-border {
|
|
||||||
height: 1.5em; }
|
|
||||||
.svg-inline--fa.fa-li {
|
|
||||||
width: 2em; }
|
|
||||||
.svg-inline--fa.fa-fw {
|
|
||||||
width: 1.25em; }
|
|
||||||
|
|
||||||
.fa-layers svg.svg-inline--fa {
|
|
||||||
bottom: 0;
|
|
||||||
left: 0;
|
|
||||||
margin: auto;
|
|
||||||
position: absolute;
|
|
||||||
right: 0;
|
|
||||||
top: 0; }
|
|
||||||
|
|
||||||
.fa-layers {
|
|
||||||
display: inline-block;
|
|
||||||
height: 1em;
|
|
||||||
position: relative;
|
|
||||||
text-align: center;
|
|
||||||
vertical-align: -.125em;
|
|
||||||
width: 1em; }
|
|
||||||
.fa-layers svg.svg-inline--fa {
|
|
||||||
-webkit-transform-origin: center center;
|
|
||||||
transform-origin: center center; }
|
|
||||||
|
|
||||||
.fa-layers-text, .fa-layers-counter {
|
|
||||||
display: inline-block;
|
|
||||||
position: absolute;
|
|
||||||
text-align: center; }
|
|
||||||
|
|
||||||
.fa-layers-text {
|
|
||||||
left: 50%;
|
|
||||||
top: 50%;
|
|
||||||
-webkit-transform: translate(-50%, -50%);
|
|
||||||
transform: translate(-50%, -50%);
|
|
||||||
-webkit-transform-origin: center center;
|
|
||||||
transform-origin: center center; }
|
|
||||||
|
|
||||||
.fa-layers-counter {
|
|
||||||
background-color: #ff253a;
|
|
||||||
border-radius: 1em;
|
|
||||||
-webkit-box-sizing: border-box;
|
|
||||||
box-sizing: border-box;
|
|
||||||
color: #fff;
|
|
||||||
height: 1.5em;
|
|
||||||
line-height: 1;
|
|
||||||
max-width: 5em;
|
|
||||||
min-width: 1.5em;
|
|
||||||
overflow: hidden;
|
|
||||||
padding: .25em;
|
|
||||||
right: 0;
|
|
||||||
text-overflow: ellipsis;
|
|
||||||
top: 0;
|
|
||||||
-webkit-transform: scale(0.25);
|
|
||||||
transform: scale(0.25);
|
|
||||||
-webkit-transform-origin: top right;
|
|
||||||
transform-origin: top right; }
|
|
||||||
|
|
||||||
.fa-layers-bottom-right {
|
|
||||||
bottom: 0;
|
|
||||||
right: 0;
|
|
||||||
top: auto;
|
|
||||||
-webkit-transform: scale(0.25);
|
|
||||||
transform: scale(0.25);
|
|
||||||
-webkit-transform-origin: bottom right;
|
|
||||||
transform-origin: bottom right; }
|
|
||||||
|
|
||||||
.fa-layers-bottom-left {
|
|
||||||
bottom: 0;
|
|
||||||
left: 0;
|
|
||||||
right: auto;
|
|
||||||
top: auto;
|
|
||||||
-webkit-transform: scale(0.25);
|
|
||||||
transform: scale(0.25);
|
|
||||||
-webkit-transform-origin: bottom left;
|
|
||||||
transform-origin: bottom left; }
|
|
||||||
|
|
||||||
.fa-layers-top-right {
|
|
||||||
right: 0;
|
|
||||||
top: 0;
|
|
||||||
-webkit-transform: scale(0.25);
|
|
||||||
transform: scale(0.25);
|
|
||||||
-webkit-transform-origin: top right;
|
|
||||||
transform-origin: top right; }
|
|
||||||
|
|
||||||
.fa-layers-top-left {
|
|
||||||
left: 0;
|
|
||||||
right: auto;
|
|
||||||
top: 0;
|
|
||||||
-webkit-transform: scale(0.25);
|
|
||||||
transform: scale(0.25);
|
|
||||||
-webkit-transform-origin: top left;
|
|
||||||
transform-origin: top left; }
|
|
||||||
|
|
||||||
.fa-lg {
|
|
||||||
font-size: 1.33333em;
|
|
||||||
line-height: 0.75em;
|
|
||||||
vertical-align: -.0667em; }
|
|
||||||
|
|
||||||
.fa-xs {
|
|
||||||
font-size: .75em; }
|
|
||||||
|
|
||||||
.fa-sm {
|
|
||||||
font-size: .875em; }
|
|
||||||
|
|
||||||
.fa-1x {
|
|
||||||
font-size: 1em; }
|
|
||||||
|
|
||||||
.fa-2x {
|
|
||||||
font-size: 2em; }
|
|
||||||
|
|
||||||
.fa-3x {
|
|
||||||
font-size: 3em; }
|
|
||||||
|
|
||||||
.fa-4x {
|
|
||||||
font-size: 4em; }
|
|
||||||
|
|
||||||
.fa-5x {
|
|
||||||
font-size: 5em; }
|
|
||||||
|
|
||||||
.fa-6x {
|
|
||||||
font-size: 6em; }
|
|
||||||
|
|
||||||
.fa-7x {
|
|
||||||
font-size: 7em; }
|
|
||||||
|
|
||||||
.fa-8x {
|
|
||||||
font-size: 8em; }
|
|
||||||
|
|
||||||
.fa-9x {
|
|
||||||
font-size: 9em; }
|
|
||||||
|
|
||||||
.fa-10x {
|
|
||||||
font-size: 10em; }
|
|
||||||
|
|
||||||
.fa-fw {
|
|
||||||
text-align: center;
|
|
||||||
width: 1.25em; }
|
|
||||||
|
|
||||||
.fa-ul {
|
|
||||||
list-style-type: none;
|
|
||||||
margin-left: 2.5em;
|
|
||||||
padding-left: 0; }
|
|
||||||
.fa-ul > li {
|
|
||||||
position: relative; }
|
|
||||||
|
|
||||||
.fa-li {
|
|
||||||
left: -2em;
|
|
||||||
position: absolute;
|
|
||||||
text-align: center;
|
|
||||||
width: 2em;
|
|
||||||
line-height: inherit; }
|
|
||||||
|
|
||||||
.fa-border {
|
|
||||||
border: solid 0.08em #eee;
|
|
||||||
border-radius: .1em;
|
|
||||||
padding: .2em .25em .15em; }
|
|
||||||
|
|
||||||
.fa-pull-left {
|
|
||||||
float: left; }
|
|
||||||
|
|
||||||
.fa-pull-right {
|
|
||||||
float: right; }
|
|
||||||
|
|
||||||
.fa.fa-pull-left,
|
|
||||||
.fas.fa-pull-left,
|
|
||||||
.far.fa-pull-left,
|
|
||||||
.fal.fa-pull-left,
|
|
||||||
.fab.fa-pull-left {
|
|
||||||
margin-right: .3em; }
|
|
||||||
|
|
||||||
.fa.fa-pull-right,
|
|
||||||
.fas.fa-pull-right,
|
|
||||||
.far.fa-pull-right,
|
|
||||||
.fal.fa-pull-right,
|
|
||||||
.fab.fa-pull-right {
|
|
||||||
margin-left: .3em; }
|
|
||||||
|
|
||||||
.fa-spin {
|
|
||||||
-webkit-animation: fa-spin 2s infinite linear;
|
|
||||||
animation: fa-spin 2s infinite linear; }
|
|
||||||
|
|
||||||
.fa-pulse {
|
|
||||||
-webkit-animation: fa-spin 1s infinite steps(8);
|
|
||||||
animation: fa-spin 1s infinite steps(8); }
|
|
||||||
|
|
||||||
@-webkit-keyframes fa-spin {
|
|
||||||
0% {
|
|
||||||
-webkit-transform: rotate(0deg);
|
|
||||||
transform: rotate(0deg); }
|
|
||||||
100% {
|
|
||||||
-webkit-transform: rotate(360deg);
|
|
||||||
transform: rotate(360deg); } }
|
|
||||||
|
|
||||||
@keyframes fa-spin {
|
|
||||||
0% {
|
|
||||||
-webkit-transform: rotate(0deg);
|
|
||||||
transform: rotate(0deg); }
|
|
||||||
100% {
|
|
||||||
-webkit-transform: rotate(360deg);
|
|
||||||
transform: rotate(360deg); } }
|
|
||||||
|
|
||||||
.fa-rotate-90 {
|
|
||||||
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";
|
|
||||||
-webkit-transform: rotate(90deg);
|
|
||||||
transform: rotate(90deg); }
|
|
||||||
|
|
||||||
.fa-rotate-180 {
|
|
||||||
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";
|
|
||||||
-webkit-transform: rotate(180deg);
|
|
||||||
transform: rotate(180deg); }
|
|
||||||
|
|
||||||
.fa-rotate-270 {
|
|
||||||
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";
|
|
||||||
-webkit-transform: rotate(270deg);
|
|
||||||
transform: rotate(270deg); }
|
|
||||||
|
|
||||||
.fa-flip-horizontal {
|
|
||||||
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";
|
|
||||||
-webkit-transform: scale(-1, 1);
|
|
||||||
transform: scale(-1, 1); }
|
|
||||||
|
|
||||||
.fa-flip-vertical {
|
|
||||||
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";
|
|
||||||
-webkit-transform: scale(1, -1);
|
|
||||||
transform: scale(1, -1); }
|
|
||||||
|
|
||||||
.fa-flip-both, .fa-flip-horizontal.fa-flip-vertical {
|
|
||||||
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";
|
|
||||||
-webkit-transform: scale(-1, -1);
|
|
||||||
transform: scale(-1, -1); }
|
|
||||||
|
|
||||||
:root .fa-rotate-90,
|
|
||||||
:root .fa-rotate-180,
|
|
||||||
:root .fa-rotate-270,
|
|
||||||
:root .fa-flip-horizontal,
|
|
||||||
:root .fa-flip-vertical,
|
|
||||||
:root .fa-flip-both {
|
|
||||||
-webkit-filter: none;
|
|
||||||
filter: none; }
|
|
||||||
|
|
||||||
.fa-stack {
|
|
||||||
display: inline-block;
|
|
||||||
height: 2em;
|
|
||||||
position: relative;
|
|
||||||
width: 2.5em; }
|
|
||||||
|
|
||||||
.fa-stack-1x,
|
|
||||||
.fa-stack-2x {
|
|
||||||
bottom: 0;
|
|
||||||
left: 0;
|
|
||||||
margin: auto;
|
|
||||||
position: absolute;
|
|
||||||
right: 0;
|
|
||||||
top: 0; }
|
|
||||||
|
|
||||||
.svg-inline--fa.fa-stack-1x {
|
|
||||||
height: 1em;
|
|
||||||
width: 1.25em; }
|
|
||||||
|
|
||||||
.svg-inline--fa.fa-stack-2x {
|
|
||||||
height: 2em;
|
|
||||||
width: 2.5em; }
|
|
||||||
|
|
||||||
.fa-inverse {
|
|
||||||
color: #fff; }
|
|
||||||
|
|
||||||
.sr-only {
|
|
||||||
border: 0;
|
|
||||||
clip: rect(0, 0, 0, 0);
|
|
||||||
height: 1px;
|
|
||||||
margin: -1px;
|
|
||||||
overflow: hidden;
|
|
||||||
padding: 0;
|
|
||||||
position: absolute;
|
|
||||||
width: 1px; }
|
|
||||||
|
|
||||||
.sr-only-focusable:active, .sr-only-focusable:focus {
|
|
||||||
clip: auto;
|
|
||||||
height: auto;
|
|
||||||
margin: 0;
|
|
||||||
overflow: visible;
|
|
||||||
position: static;
|
|
||||||
width: auto; }
|
|
||||||
|
|
||||||
.svg-inline--fa .fa-primary {
|
|
||||||
fill: var(--fa-primary-color, currentColor);
|
|
||||||
opacity: 1;
|
|
||||||
opacity: var(--fa-primary-opacity, 1); }
|
|
||||||
|
|
||||||
.svg-inline--fa .fa-secondary {
|
|
||||||
fill: var(--fa-secondary-color, currentColor);
|
|
||||||
opacity: 0.4;
|
|
||||||
opacity: var(--fa-secondary-opacity, 0.4); }
|
|
||||||
|
|
||||||
.svg-inline--fa.fa-swap-opacity .fa-primary {
|
|
||||||
opacity: 0.4;
|
|
||||||
opacity: var(--fa-secondary-opacity, 0.4); }
|
|
||||||
|
|
||||||
.svg-inline--fa.fa-swap-opacity .fa-secondary {
|
|
||||||
opacity: 1;
|
|
||||||
opacity: var(--fa-primary-opacity, 1); }
|
|
||||||
|
|
||||||
.svg-inline--fa mask .fa-primary,
|
|
||||||
.svg-inline--fa mask .fa-secondary {
|
|
||||||
fill: black; }
|
|
||||||
|
|
||||||
.fad.fa-inverse {
|
|
||||||
color: #fff; }
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -3,7 +3,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
|
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
|
||||||
<link rel="stylesheet" href="/static/fontawesome/css/all.css">
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
|
||||||
<title>{{repo.name}}</title>
|
<title>{{repo.name}}</title>
|
||||||
</head>
|
</head>
|
||||||
<body class="w3-white">
|
<body class="w3-white">
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="w3-bar">
|
<div class="w3-bar">
|
||||||
|
|
||||||
<span class="w3-bar-item"><span class="w3-xlarge">{{repo.owner.name}}/{{repo.name}}</span></span>
|
<span class="w3-bar-item"><span class="w3-xxlarge">{{repo.owner.name}}/{{repo.name}}</span></span>
|
||||||
<span class="w3-bar-item w3-right"><button class="w3-button w3-round w3-border">Fork</button></span>
|
<span class="w3-bar-item w3-right"><button class="w3-button w3-round w3-border">Fork</button></span>
|
||||||
<span class="w3-bar-item w3-right"><button class="w3-button w3-round w3-border">Star</button></span>
|
<span class="w3-bar-item w3-right"><button class="w3-button w3-round w3-border">Star</button></span>
|
||||||
<span class="w3-bar-item w3-right"><button class="w3-button w3-round w3-border">Follow</button></span>
|
<span class="w3-bar-item w3-right"><button class="w3-button w3-round w3-border">Follow</button></span>
|
||||||
|
@ -21,48 +21,8 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="Code" class="w3-container w3-border repoview">
|
<div id="Code" class="w3-container w3-border repoview">
|
||||||
<p><a href="https://www.wikipedia.org">https://www.wikipedia.org</a></p>
|
<h2>Code</h2>
|
||||||
<p>Repository description</p>
|
<p>London is the capital city of England.</p>
|
||||||
|
|
||||||
<div class="w3-cell-row">
|
|
||||||
<div class="w3-container w3-center w3-cell">
|
|
||||||
<i class="fa fa-history"></i> 112 revisions
|
|
||||||
</div>
|
|
||||||
<div class="w3-container w3-center w3-cell">
|
|
||||||
<i class="fa fa-code-branch"></i> 10 branches
|
|
||||||
</div>
|
|
||||||
<div class="w3-container w3-center w3-cell">
|
|
||||||
<i class="fa fa-tag"></i> 5 tags
|
|
||||||
</div>
|
|
||||||
<div class="w3-container w3-center w3-cell">
|
|
||||||
<i class="fa fa-database"></i> 10 KiB
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="w3-cell-row">
|
|
||||||
<div class="w3-container w3-center w3-cell">
|
|
||||||
<button class="w3-button w3-round w3-border">Branch: master</button>
|
|
||||||
</div>
|
|
||||||
<div class="w3-container w3-center w3-cell">
|
|
||||||
<button class="w3-button w3-round w3-border">New merge request</button>
|
|
||||||
</div>
|
|
||||||
<div class="w3-container w3-center w3-cell">
|
|
||||||
<button class="w3-button w3-round w3-border">New file</button>
|
|
||||||
<button class="w3-button w3-round w3-border">Upload file</button>
|
|
||||||
</div>
|
|
||||||
<div class="w3-container w3-center w3-cell">
|
|
||||||
<button class="w3-button w3-border">HTTPS</button>
|
|
||||||
<button class="w3-button w3-border">SSH</button><input class="w3-input" type="text" value="git@domain.net:plop/plip.git">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{% for (dir, prev) in root %}/<a href="{{prev}}">{{dir}}</a>{% endfor %}
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
{% for entry in browse %}
|
|
||||||
<li>{{ entry }}</li>
|
|
||||||
{% endfor %}
|
|
||||||
</ul>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="Issues" class="w3-container w3-border repoview" style="display:none">
|
<div id="Issues" class="w3-container w3-border repoview" style="display:none">
|
||||||
|
@ -114,6 +74,12 @@
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
{% for (dir, prev) in root %}/<a href="{{prev}}">{{dir}}</a>{% endfor %}
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
{% for entry in browse %}
|
||||||
|
<li>{{ entry }}</li>
|
||||||
|
{% endfor %}
|
||||||
|
</ul>
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
Loading…
Reference in New Issue