Tudor Stanciu 2022-11-26 16:49:41 +02:00
commit 0682276e3d
7 changed files with 244 additions and 235 deletions

View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
echo "Welcome!" echo "Welcome!"
version="1.4.1" version="1.4.5"
platform="linux/amd64,linux/arm64,linux/arm/v7" platform="linux/amd64,linux/arm64,linux/arm/v7"
appSubfolder="/reverse-proxy" appSubfolder="/reverse-proxy"
localRegistryPass="******************" localRegistryPass="******************"

452
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,11 +1,11 @@
{ {
"name": "reverse-proxy-frontend", "name": "reverse-proxy-frontend",
"version": "1.4.1", "version": "1.4.5",
"private": true, "private": true,
"description": "Reverse proxy frontend application", "description": "Reverse proxy frontend application",
"author": { "author": {
"name": "Tudor Stanciu", "name": "Tudor Stanciu",
"email": "***REMOVED******REMOVED***", "email": "tudor.stanciu94@gmail.com",
"url": "https://toodle.ddns.net/tsp" "url": "https://toodle.ddns.net/tsp"
}, },
"scripts": { "scripts": {

View File

@ -99,7 +99,8 @@
}, },
"ReleaseNotes": { "ReleaseNotes": {
"Title": "Release notes", "Title": "Release notes",
"Version": "Version" "Version": "Version",
"Date": "Date"
}, },
"Server": { "Server": {
"Title": "Server", "Title": "Server",

View File

@ -90,7 +90,8 @@
}, },
"ReleaseNotes": { "ReleaseNotes": {
"Title": "Note lansare", "Title": "Note lansare",
"Version": "Versiune" "Version": "Versiune",
"Date": "Dată"
}, },
"Server": { "Server": {
"Title": "Server", "Title": "Server",

View File

@ -1,8 +1,8 @@
#!/bin/sh #!/bin/sh
echo "Welcome!" echo "Welcome!"
version="1.4.1" version="1.4.5"
oldver="1.3.6" oldver="1.4.2"
echo "Pull docker image reverse-proxy-frontend:$version from registry." echo "Pull docker image reverse-proxy-frontend:$version from registry."
docker pull alpine-nexus:8500/reverse-proxy/reverse-proxy-frontend:$version docker pull alpine-nexus:8500/reverse-proxy/reverse-proxy-frontend:$version

View File

@ -13,13 +13,20 @@ const ReleaseNotesSummary = ({ releaseNote, collapsed }) => {
return ( return (
<Grid container className={classes.miniContainer}> <Grid container className={classes.miniContainer}>
<Grid item xs={12} sm={2} md={2}> <Grid item xs={6} sm={2} md={2}>
<Typography variant={collapsed ? "subtitle2" : "h6"}> <Typography variant={collapsed ? "subtitle2" : "h6"}>
{`${t("ReleaseNotes.Version")}: ${releaseNote.version}`} {`${t("ReleaseNotes.Version")}: ${releaseNote.version}`}
</Typography> </Typography>
</Grid> </Grid>
<Grid item xs={6} sm={2} md={collapsed ? 2 : 4}>
<Typography variant={collapsed ? "subtitle2" : "h6"}>
{`${t("ReleaseNotes.Date")}: ${t("DATE_FORMAT", {
date: { value: releaseNote.date, format: "DD-MM-YYYY HH:mm" }
})}`}
</Typography>
</Grid>
{collapsed && ( {collapsed && (
<Grid item xs={12} sm={10} md={10}> <Grid item xs={12} sm={8} md={8}>
<Typography variant="body2">{releaseNote.notes[0]}</Typography> <Typography variant="body2">{releaseNote.notes[0]}</Typography>
</Grid> </Grid>
)} )}