Even add svg logo

parent adfe2e43
......@@ -3,14 +3,17 @@ MAINTAINER Marco Marinello <me@marcomarinello.it>
EXPOSE 80 443
RUN mkdir -p /var/www/nc_data
RUN mkdir -p /var/www/images
RUN chown www-data. /var/www/nc_data
RUN chown www-data. /var/www/images
ENV DEBIAN_FRONTEND noninteractive
RUN apt update
RUN apt full-upgrade -qy
RUN apt install -qy ca-certificates certbot python3-certbot-apache cron smbclient wget
COPY logo.png /var/www
COPY logo.png /var/www/images
COPY logo.svg /var/www/images
COPY configure-fuss.sh /
COPY crontab /etc
......
......@@ -49,12 +49,13 @@ run_as 'php /var/www/html/occ background:cron'
run_as 'php /var/www/html/occ config:app:set theming name --value "FUSS Remote Access"'
run_as 'php /var/www/html/occ config:app:set theming slogan --value "${INSTITUTE_NAME}"'
run_as 'php /var/www/html/occ config:app:set theming color --value "#996400"'
run_as 'cp /var/www/logo.png /var/www/html/core/img/logo/logo.png'
run_as 'cp /var/www/images/logo.png /var/www/html/core/img/logo/logo.png'
run_as 'cp /var/www/images/logo.svg /var/www/html/core/img/logo/logo.svg'
run_as 'php /var/www/html/occ maintenance:theme:update'
# Default provided files to new users
run_as 'mkdir -p /var/www/skeleton'
run_as 'cp /var/www/logo.png /var/www/skeleton/FUSS.png'
run_as 'cp /var/www/images/logo.png /var/www/skeleton/FUSS.png'
run_as 'php /var/www/html/occ config:system:set skeletondirectory --value /var/www/skeleton'
/usr/sbin/cron
......
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="116.98492mm"
height="72.186142mm"
viewBox="0 0 116.98492 72.186142"
version="1.1"
id="svg154"
inkscape:version="0.92.4 (5da689c313, 2019-01-14)"
sodipodi:docname="disegno.svg">
<defs
id="defs148" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="0.35"
inkscape:cx="116.43342"
inkscape:cy="-378.59907"
inkscape:document-units="mm"
inkscape:current-layer="layer1"
showgrid="false"
inkscape:window-width="1850"
inkscape:window-height="1016"
inkscape:window-x="70"
inkscape:window-y="27"
inkscape:window-maximized="1" />
<metadata
id="metadata151">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Livello 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(-37.513496,-25.049787)">
<g
id="g4157"
transform="matrix(0.26763268,0,0,0.26744441,-37.896319,72.613115)">
<ellipse
inkscape:export-ydpi="150"
inkscape:export-xdpi="150"
ry="48.992397"
rx="48.48732"
cy="-120.37154"
cx="340.17267"
id="path4189-3"
style="fill:#297ae6;fill-opacity:1;stroke:none;stroke-width:0.85600001;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<circle
inkscape:export-ydpi="150"
inkscape:export-xdpi="150"
r="39.901024"
cy="-98.148178"
cx="477.04831"
id="path4193-6"
style="fill:#e2323c;fill-opacity:1;stroke:none;stroke-width:0.85600001;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<circle
inkscape:export-ydpi="150"
inkscape:export-xdpi="150"
r="35.355339"
cy="-54.145607"
cx="588.67017"
id="path4197-7"
style="fill:#f2a658;fill-opacity:1;stroke:none;stroke-width:0.85600001;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<circle
inkscape:export-ydpi="150"
inkscape:export-xdpi="150"
r="28.789347"
cy="-8.2445984"
cx="673.01788"
id="path4201-5"
style="fill:#bfd587;fill-opacity:1;stroke:none;stroke-width:0.85600001;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
inkscape:export-ydpi="150"
inkscape:export-xdpi="150"
sodipodi:nodetypes="cccccccccc"
inkscape:connector-curvature="0"
id="path4158-3"
d="m 290.73489,-26.044077 c 0.2109,-19.853033 76.41213,-29.502554 121.92695,-24.821329 32.82133,2.72352 65.39407,10.798685 98.65706,20.541903 63.90634,23.705607 123.37276,56.681497 174.23819,93.981745 5.4553,3.921339 22.48963,17.621258 17.93685,22.195935 -11.92033,0.81165 -23.50983,-6.278892 -34.81857,-10.251755 L 581.585,42.770053 C 546.8788,30.973844 512.54724,21.089686 479.15485,15.99903 443.36202,10.252197 407.5692,7.5691093 371.77638,3.8763072 354.41327,2.1356989 292.49138,-6.0096812 290.73489,-26.044077 Z"
style="fill:#c1c1c1;fill-opacity:1;fill-rule:evenodd;stroke:#c1c1c1;stroke-width:0.98984283px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
</g>
</g>
</svg>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment