Rewrite data layer using SqlAlchemy Part 1

This commit is contained in:
2019-10-14 19:02:25 +02:00
parent f6a38cc2db
commit fccd75d6c5
51 changed files with 1297 additions and 658 deletions

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,74 @@
@font-face {
font-family: 'DarkSouls';
src: url('/static/OptimusPrinceps.ttf');
}
@font-face {
font-family: 'DarkSoulsBold';
src: url('/static/OptimusPrincepsSemiBold.ttf');
}
/* Some Colors */
a {
color: #b52828
}
a:visited {
text-decoration: none;
}
a:hover {
color: #fd5454;
text-decoration: none;
}
.btn-primary {
background-color: #b52828;
border-color: #b52828;
}
.btn-primary:hover {
background-color: #fd5454;
border-color: #fd5454;
}
.btn-default {
background-color: #3b3b3b;
border-color: #3b3b3b;
}
.btn-default:hover {
background-color: #3b3b3b;
border-color: #fd5454;
}
.icon-primary{
color: #b52828
}
.brand-icon{
height: 40px;
}
.navbar-brand{
font-family: 'DarkSoulsBold', serif;
}
.nav-link {
font-family: 'DarkSouls', serif;
}
.btn-toolbar{
padding: 5px 0;
}
.vertical-center {
min-height: 100%; /* Fallback for browsers do NOT support vh unit */
min-height: 100vh; /* These two lines are counted as one :-) */
display: flex;
align-items: center;
}
/* Theme customizations */
.list-group-item:hover {
color: inherit;
background-color: rgb(34, 34, 34);
}
h1 {
font-size: 2.5rem;
}

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 258 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 133 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 292 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 251 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 101 KiB

View File

@@ -0,0 +1,20 @@
var EditorModule = (function () {
function EditorModule() {
var _this = this;
this.setCurrentTime = function (elemId) {
var elem = document.getElementById(elemId);
if (!elem)
return;
elem.value = _this.currentTimeHHMM();
};
this.currentTimeHHMM = function () {
var d = new Date();
var hours = (d.getHours() < 10 ? '0' : '') + d.getHours();
var minutes = (d.getMinutes() < 10 ? '0' : '') + d.getMinutes();
return hours + ":" + minutes;
};
}
return EditorModule;
}());
var editorModule = new EditorModule();
//# sourceMappingURL=estus-shots.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"estus-shots.js","sourceRoot":"","sources":["../../estus-shots.ts"],"names":[],"mappings":"AAAA;IAAA;QAAA,iBAcC;QAZC,mBAAc,GAAG,UAAC,MAAc;YAC9B,IAAM,IAAI,GAAG,QAAQ,CAAC,cAAc,CAAC,MAAM,CAAqB,CAAC;YACjE,IAAI,CAAC,IAAI;gBAAE,OAAO;YAClB,IAAI,CAAC,KAAK,GAAG,KAAI,CAAC,eAAe,EAAE,CAAA;QACrC,CAAC,CAAC;QAEF,oBAAe,GAAG;YAChB,IAAM,CAAC,GAAG,IAAI,IAAI,EAAE,CAAC;YACrB,IAAM,KAAK,GAAG,CAAC,CAAC,CAAC,QAAQ,EAAE,GAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,CAAC;YAC1D,IAAM,OAAO,GAAG,CAAC,CAAC,CAAC,UAAU,EAAE,GAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,UAAU,EAAE,CAAC;YAChE,OAAU,KAAK,SAAI,OAAS,CAAC;QAC/B,CAAC,CAAC;IACJ,CAAC;IAAD,mBAAC;AAAD,CAAC,AAdD,IAcC;AAED,IAAM,YAAY,GAAG,IAAI,YAAY,EAAE,CAAC"}

File diff suppressed because one or more lines are too long

4603
estusshots/static/moment.js Normal file

File diff suppressed because it is too large Load Diff