-
Notifications
You must be signed in to change notification settings - Fork 8
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 #13 from msdigital/v1.22.6
v1.22.6
- Loading branch information
Showing
30 changed files
with
1,769 additions
and
2,187 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
16.16.0 |
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,29 @@ | ||
extends index | ||
|
||
block content | ||
.row.justify-content-center | ||
.col-xl-12 | ||
.card.mb-3.small.shadow-sm | ||
.card-header=__("Economy") | ||
if economy.prices.length>0 | ||
.table-responsive | ||
table.eco-table.table.table-striped.table-sm.eco-table-hover | ||
thead | ||
tr | ||
th=__("Product") | ||
each month in economy.months | ||
th= month | ||
tbody.table-group-divider | ||
each fillType in economy.prices | ||
if fillType.formattedPrices.length>0 | ||
tr | ||
td=__("product_"+fillType.name) | ||
- var nextPrice = 0 | ||
- var maxValIx = fillType.prices.indexOf(Math.max(...fillType.prices)) | ||
- var minValIx = fillType.prices.indexOf(Math.min(...fillType.prices)) | ||
each typePrice, ix in fillType.formattedPrices | ||
if ix == 11 | ||
- nextPrice = fillType.prices[0] | ||
else | ||
- nextPrice = fillType.prices[ix+1] | ||
td(class=((nextPrice<fillType.prices[ix])?"forecast-down":"forecast-up"), style=((ix==maxValIx)?"background-color:#00800094;font-weight:bolder;":((ix==minValIx)?"color:red;font-weight:bolder;":""))).forecast=typePrice |
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 |
---|---|---|
@@ -1,6 +1,8 @@ | ||
extends index | ||
|
||
block content | ||
h1= "Oops something went wrong..." | ||
h2= error.status | ||
pre #{error.message} | ||
.row.justify-content-center | ||
.text-center.mt-5 | ||
img(src='/images/construction.png' style='height:75px;').mb-5 | ||
h2=__("Oops something went wrong...!") | ||
pre=error.statusCode + ' - ' + error.message |
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
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,30 @@ | ||
extends index | ||
|
||
block content | ||
.row.justify-content-center | ||
.col-xl-8 | ||
.card.mb-3.small.shadow-sm | ||
.card-header=__("Server Mods") | ||
span.float-end=__("Download all Mods at once") | ||
a(href='http://' + config.SERVER_IP + '/all_mods_download?onlyActive=true').ms-2 | ||
img(src="/images/saveAllIcon.png" height='20') | ||
if server.mods.length>1 | ||
.table-responsive | ||
table.table.table-striped.table-sm | ||
thead | ||
tr | ||
th=__("Name") | ||
th=__("Author") | ||
th=__("Filename") | ||
th=__("Download") | ||
tbody.table-group-divider | ||
each mod in server.mods | ||
tr | ||
td=mod.name + ' (' + mod.version + ')' | ||
td=mod.author | ||
td=mod.filename + '.zip' | ||
td | ||
a(href='http://' + config.SERVER_IP + '/mods/' + mod.filename + '.zip').float-end | ||
img(src="/images/saveIcon.png" height='20').me-3 | ||
else | ||
li.list-group-item=__("No Mods installed") |
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
Oops, something went wrong.