Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 17 additions & 7 deletions .docker/example.bake.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,24 @@ FROM ubuntu:24.04 AS web-base

#### DOCUMENTSERVER-EXAMPLE ####
FROM web-base AS build-example
ARG TARGETARCH
ARG TARGETARCH
ARG BRANDING_DIR
ARG COMPANY_NAME

COPY document-server-integration/web/documentserver-example/nodejs/package*.json /app/
RUN --mount=type=cache,target=/root/.npm cd /app && npm install
COPY document-server-integration/web/documentserver-example/nodejs /app
WORKDIR /app
RUN TARGETARCH_PKG=$(echo "$TARGETARCH" | sed 's/amd64/x64/') && \
pkg . -t linux-"$TARGETARCH_PKG" --node-options="--max_old_space_size=4096" -o /app/example
COPY document-server-integration/web/documentserver-example/nodejs/package*.json /app/
RUN --mount=type=cache,target=/root/.npm cd /app && npm install
COPY document-server-integration/web/documentserver-example/nodejs /app

### Branding
ENV COMPANY_NAME=${COMPANY_NAME}
COPY ${BRANDING_DIR}/document-server-integration/web/documentserver-example/nodejs /app
RUN find /app/config/ -type f -name '*.json' \
-exec sed -i "s/Euro-Office/${COMPANY_NAME}/g" {} +


WORKDIR /app
RUN TARGETARCH_PKG=$(echo "$TARGETARCH" | sed 's/amd64/x64/') && \
pkg . -t linux-"$TARGETARCH_PKG" --node-options="--max_old_space_size=4096" -o /app/example

FROM scratch AS example
COPY --from=build-example /app/ /example
28 changes: 14 additions & 14 deletions web/documentserver-example/csharp-mvc/Content/stylesheet.css
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ header img {
}

.portal-name {
color: #FF6F3D;
color: #0082C9;
font-size: 24px;
font-weight: bold;
line-height: 133%;
Expand Down Expand Up @@ -207,8 +207,8 @@ label .checkbox {
}

.button.orange {
background: #FF6F3D;
border: 1px solid #FF6F3D;
background: #0082C9;
border: 1px solid #0082C9;
color: #FFFFFF;
}

Expand All @@ -219,7 +219,7 @@ label .checkbox {
}

.button.orange:not(.disable):hover {
background: #ff7a4b;
background: #00a5fd;
}

.button.gray {
Expand All @@ -234,8 +234,8 @@ label .checkbox {
}

.button.gray:not(.disable):hover {
border: 1px solid #FF6F3D;
color: #FF6F3D;
border: 1px solid #0082C9;
color: #0082C9;
}

.button.converting {
Expand Down Expand Up @@ -264,14 +264,14 @@ label .checkbox {
}

.button.hoar:not(.disable):hover {
background: #FF6F3D;
border: 1px solid #FF6F3D;
background: #0082C9;
border: 1px solid #0082C9;
color: #FFFFFF;
}

.button.hoar.orange {
background: #FF6F3D;
border: 1px solid #FF6F3D;
background: #0082C9;
border: 1px solid #0082C9;
color: #FFFFFF;
cursor: default;
}
Expand Down Expand Up @@ -370,11 +370,11 @@ label .checkbox {
}

.links li.active {
border-bottom: 2px solid #FF6F3D;
border-bottom: 2px solid #0082C9;
}

.links li.active a {
color: #FF6F3D;
color: #0082C9;
}

.links li.active a img {
Expand Down Expand Up @@ -490,7 +490,7 @@ label .checkbox {
}

.convertPercent {
color: #FF6F3D;
color: #0082C9;
font-weight: 700;
display: inline;
}
Expand Down Expand Up @@ -553,7 +553,7 @@ footer table td {
footer a,
footer a:hover,
footer a:visited {
color: #FF6F3D;
color: #0082C9;
font-size: 14px;
line-height: 120%;
}
Expand Down
28 changes: 14 additions & 14 deletions web/documentserver-example/csharp/App_Themes/stylesheet.css
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ header img {
}

.portal-name {
color: #FF6F3D;
color: #0082C9;
font-size: 24px;
font-weight: bold;
line-height: 133%;
Expand Down Expand Up @@ -207,8 +207,8 @@ label .checkbox {
}

.button.orange {
background: #FF6F3D;
border: 1px solid #FF6F3D;
background: #0082C9;
border: 1px solid #0082C9;
color: #FFFFFF;
}

Expand All @@ -219,7 +219,7 @@ label .checkbox {
}

.button.orange:not(.disable):hover {
background: #ff7a4b;
background: #00a5fd;
}

.button.gray {
Expand All @@ -234,8 +234,8 @@ label .checkbox {
}

.button.gray:not(.disable):hover {
border: 1px solid #FF6F3D;
color: #FF6F3D;
border: 1px solid #0082C9;
color: #0082C9;
}

.button.converting {
Expand Down Expand Up @@ -264,14 +264,14 @@ label .checkbox {
}

.button.hoar:not(.disable):hover {
background: #FF6F3D;
border: 1px solid #FF6F3D;
background: #0082C9;
border: 1px solid #0082C9;
color: #FFFFFF;
}

.button.hoar.orange {
background: #FF6F3D;
border: 1px solid #FF6F3D;
background: #0082C9;
border: 1px solid #0082C9;
color: #FFFFFF;
cursor: default;
}
Expand Down Expand Up @@ -370,11 +370,11 @@ label .checkbox {
}

.links li.active {
border-bottom: 2px solid #FF6F3D;
border-bottom: 2px solid #0082C9;
}

.links li.active a {
color: #FF6F3D;
color: #0082C9;
}

.links li.active a img {
Expand Down Expand Up @@ -490,7 +490,7 @@ label .checkbox {
}

.convertPercent {
color: #FF6F3D;
color: #0082C9;
font-weight: 700;
display: inline;
}
Expand Down Expand Up @@ -555,7 +555,7 @@ footer table td {
footer a,
footer a:hover,
footer a:visited {
color: #FF6F3D;
color: #0082C9;
font-size: 14px;
line-height: 120%;
}
Expand Down
28 changes: 14 additions & 14 deletions web/documentserver-example/go/static/stylesheets/stylesheet.css
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ header img {
}

.portal-name {
color: #FF6F3D;
color: #0082C9;
font-size: 24px;
font-weight: bold;
line-height: 133%;
Expand Down Expand Up @@ -207,8 +207,8 @@ label .checkbox {
}

.button.orange {
background: #FF6F3D;
border: 1px solid #FF6F3D;
background: #0082C9;
border: 1px solid #0082C9;
color: #FFFFFF;
}

Expand All @@ -219,7 +219,7 @@ label .checkbox {
}

.button.orange:not(.disable):hover {
background: #ff7a4b;
background: #00a5fd;
}

.button.gray {
Expand All @@ -234,8 +234,8 @@ label .checkbox {
}

.button.gray:not(.disable):hover {
border: 1px solid #FF6F3D;
color: #FF6F3D;
border: 1px solid #0082C9;
color: #0082C9;
}

.button.converting {
Expand Down Expand Up @@ -264,14 +264,14 @@ label .checkbox {
}

.button.hoar:not(.disable):hover {
background: #FF6F3D;
border: 1px solid #FF6F3D;
background: #0082C9;
border: 1px solid #0082C9;
color: #FFFFFF;
}

.button.hoar.orange {
background: #FF6F3D;
border: 1px solid #FF6F3D;
background: #0082C9;
border: 1px solid #0082C9;
color: #FFFFFF;
cursor: default;
}
Expand Down Expand Up @@ -370,11 +370,11 @@ label .checkbox {
}

.links li.active {
border-bottom: 2px solid #FF6F3D;
border-bottom: 2px solid #0082C9;
}

.links li.active a {
color: #FF6F3D;
color: #0082C9;
}

.links li.active a img {
Expand Down Expand Up @@ -490,7 +490,7 @@ label .checkbox {
}

.convertPercent {
color: #FF6F3D;
color: #0082C9;
font-weight: 700;
display: inline;
}
Expand Down Expand Up @@ -553,7 +553,7 @@ footer table td {
footer a,
footer a:hover,
footer a:visited {
color: #FF6F3D;
color: #0082C9;
font-size: 14px;
line-height: 120%;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ header img {
}

.portal-name {
color: #FF6F3D;
color: #0082C9;
font-size: 24px;
font-weight: bold;
line-height: 133%;
Expand Down Expand Up @@ -207,8 +207,8 @@ label .checkbox {
}

.button.orange {
background: #FF6F3D;
border: 1px solid #FF6F3D;
background: #0082C9;
border: 1px solid #0082C9;
color: #FFFFFF;
}

Expand All @@ -219,7 +219,7 @@ label .checkbox {
}

.button.orange:not(.disable):hover{
background: #ff7a4b;
background: #00a5fd;
}

.button.gray {
Expand All @@ -234,8 +234,8 @@ label .checkbox {
}

.button.gray:not(.disable):hover {
border: 1px solid #FF6F3D;
color: #FF6F3D;
border: 1px solid #0082C9;
color: #0082C9;
}

.button.converting {
Expand Down Expand Up @@ -264,14 +264,14 @@ label .checkbox {
}

.button.hoar:not(.disable):hover {
background: #FF6F3D;
border: 1px solid #FF6F3D;
background: #0082C9;
border: 1px solid #0082C9;
color: #FFFFFF;
}

.button.hoar.orange {
background: #FF6F3D;
border: 1px solid #FF6F3D;
background: #0082C9;
border: 1px solid #0082C9;
color: #FFFFFF;
cursor: default;
}
Expand Down Expand Up @@ -370,11 +370,11 @@ label .checkbox {
}

.links li.active {
border-bottom: 2px solid #FF6F3D;
border-bottom: 2px solid #0082C9;
}

.links li.active a {
color: #FF6F3D;
color: #0082C9;
}

.links li.active a img {
Expand Down Expand Up @@ -490,7 +490,7 @@ label .checkbox {
}

.convertPercent {
color: #FF6F3D;
color: #0082C9;
font-weight: 700;
display: inline;
}
Expand Down Expand Up @@ -555,7 +555,7 @@ footer table td {
footer a,
footer a:hover,
footer a:visited {
color: #FF6F3D;
color: #0082C9;
font-size: 14px;
line-height: 120%;
}
Expand Down
Loading
Loading