Skip to content

Commit

Permalink
new release.
Browse files Browse the repository at this point in the history
  • Loading branch information
schwarzlichtbezirk committed Oct 3, 2021
1 parent ec90c84 commit cc93f20
Show file tree
Hide file tree
Showing 13 changed files with 620 additions and 592 deletions.
2 changes: 1 addition & 1 deletion cmd/hms.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"github.com/schwarzlichtbezirk/hms"
)

const buildvers = "0.7.6"
const buildvers = "0.7.7"
const builddate = "2021.10.01"

var log = hms.Log
Expand Down
716 changes: 360 additions & 356 deletions frontend/build/app.bundle.js

Large diffs are not rendered by default.

288 changes: 148 additions & 140 deletions frontend/build/main.bundle.js

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions frontend/build/main.bundle.js.map

Large diffs are not rendered by default.

63 changes: 36 additions & 27 deletions frontend/build/preloader.css
Original file line number Diff line number Diff line change
@@ -1,36 +1,45 @@
/* advance definition */

#app {
[v-cloak] {
display: none;
}

/* preloader */

.preloader {
top: 50%;
left: 50%;
position: absolute;
transform: translate(-50%,-50%);
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-direction: row;
flex-direction: row;
-ms-flex-wrap: nowrap;
flex-wrap: nowrap;
.preloader-lock {
z-index: 1070; /* above sticked and fixed navbar and popover */
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background-color: rgba(0, 0, 0, 0.1875);
}

.preloader span {
height: 25px;
width: 25px;
background: RebeccaPurple;
border-radius: 50%;
animation: fade 1s linear infinite;
margin: 15px;
.preloader-bar {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-direction: row;
flex-direction: row;
-ms-flex-wrap: nowrap;
flex-wrap: nowrap;
}

.preloader-bar > span {
height: 25px;
width: 25px;
background: RebeccaPurple;
border-radius: 50%;
animation: fade 1s linear infinite;
margin: 15px;
}

@media (max-width: 767.98px) {
.preloader span {
.preloader-bar > span {
height: 30px;
width: 30px;
margin: 5px;
Expand All @@ -47,22 +56,22 @@
}
}

.preloader span:nth-child(1) {
.preloader-bar > span:nth-child(1) {
animation-delay: 0s;
}

.preloader span:nth-child(2) {
.preloader-bar > span:nth-child(2) {
animation-delay: 0.2s;
}

.preloader span:nth-child(3) {
.preloader-bar > span:nth-child(3) {
animation-delay: 0.4s;
}

.preloader span:nth-child(4) {
.preloader-bar > span:nth-child(4) {
animation-delay: 0.6s;
}

.preloader span:nth-child(5) {
.preloader-bar > span:nth-child(5) {
animation-delay: 0.8s;
}
110 changes: 59 additions & 51 deletions frontend/build/stat.bundle.js

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions frontend/build/stat.bundle.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion frontend/build/stat.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@
<!-- Vue.js release version -->
<script src="/plug/vue.global.prod.js?3.2.8"></script>
<!-- page bundle -->
<script src="/relm/stat.bundle.js?0.7.1"></script>
<script src="/relm/stat.bundle.js?0.7.6"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion frontend/devmode/devmode.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

// This file is included only for developer mode linkage

const buildvers = "0.7.6";
const buildvers = "0.7.7";
const builddate = "2021.10.03";
console.info("version: %s, builton: %s", buildvers, builddate);
console.info("starts in developer mode");
Expand Down
3 changes: 1 addition & 2 deletions frontend/devmode/mainpage.js
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,6 @@ const VueMainApp = {
await this.fetchfolder(hist);
await this.fetchscanthumbs();
}
this.seturl();
},

async fetchscanthumbs() {
Expand Down Expand Up @@ -855,6 +854,7 @@ const VueMainApp = {
this.histlist.splice(this.histpos);
this.histlist.push(hist);
this.histpos = this.histlist.length;
this.seturl();
},

newfolder(list, ishome) {
Expand Down Expand Up @@ -1116,7 +1116,6 @@ const VueMainApp = {
const hist = { cid: this.curcid, aid: this.aid, puid: file.puid };
await this.fetchplaylist(hist);
await this.fetchscanthumbs();
this.seturl();
this.pushhist(hist);
} catch (e) {
ajaxfail(e);
Expand Down
4 changes: 2 additions & 2 deletions frontend/devmode/relmode.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

// This file is included for release mode linkage

const buildvers = "0.7.6";
const builddate = "2021.08.08";
const buildvers = "0.7.7";
const builddate = "2021.10.03";
const devmode = false;

const traceajax = () => undefined;
Expand Down
2 changes: 1 addition & 1 deletion tool/base.cc.cmd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@echo off
cd /d %GOPATH%/src/github.com/schwarzlichtbezirk/hms/frontend

java -jar %~d0/tools/closure-compiler.jar^
java -jar %~d0/tools/closure-compiler-v20210907.jar^
--js plugin/leaflet.js^
--js plugin/leaflet.markercluster.js^
--js plugin/sha256.min.js^
Expand Down
4 changes: 2 additions & 2 deletions tool/page.cc.cmd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@echo off
cd /d %GOPATH%/src/github.com/schwarzlichtbezirk/hms/frontend

java -jar %~d0/tools/closure-compiler.jar^
java -jar %~d0/tools/closure-compiler-v20210907.jar^
--js devmode/relmode.js^
--js devmode/common.js^
--js devmode/request.js^
Expand All @@ -14,7 +14,7 @@ java -jar %~d0/tools/closure-compiler.jar^
--js_output_file build/main.bundle.js^
--create_source_map build/main.bundle.js.map

java -jar %~d0/tools/closure-compiler.jar^
java -jar %~d0/tools/closure-compiler-v20210907.jar^
--js devmode/relmode.js^
--js devmode/common.js^
--js devmode/request.js^
Expand Down

0 comments on commit cc93f20

Please sign in to comment.