Add custom branding settings

master
Skylar Ittner 6 years ago
parent 54790880aa
commit 71f109470c

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

@ -0,0 +1,91 @@
<?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="1060"
height="319.63718"
viewBox="0 0 1060 319.63716"
id="svg2"
version="1.1"
inkscape:version="0.91 r13725"
sodipodi:docname="biglogo.svg"
inkscape:export-filename="/home/skylar/Documents/Projects/Assets/PCInfo/biglogo.png"
inkscape:export-xdpi="85.033913"
inkscape:export-ydpi="85.033913">
<defs
id="defs4" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="0.35"
inkscape:cx="996.41917"
inkscape:cy="-237.32428"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
fit-margin-top="30"
fit-margin-left="30"
fit-margin-right="30"
fit-margin-bottom="30"
units="px"
inkscape:window-width="1440"
inkscape:window-height="842"
inkscape:window-x="1024"
inkscape:window-y="156"
inkscape:window-maximized="1" />
<metadata
id="metadata7">
<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="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(1309.9906,18.884937)">
<g
id="g4222"
transform="matrix(0.83831039,0,0,0.83831039,-126.11638,22.787506)">
<g
inkscape:label="Layer 1"
id="layer1-3"
transform="translate(-1438.8571,-655.42853)">
<path
style="fill:#4caf50;fill-opacity:1;stroke:none"
d="m 130.17871,641.50474 c -16.03013,0 -29.03515,13.00502 -29.03515,29.03515 l 0,174.21485 c 0,16.03013 13.00502,29.03515 29.03515,29.03515 l 251.64258,0 c 16.03013,0 29.03515,-13.00502 29.03515,-29.03515 l 0,-174.21485 c 0,-16.03013 -13.00501,-29.03515 -29.03515,-29.03515 l -251.64258,0 z m 126.08985,7.71484 c 16.46479,0 29.8125,13.3473 29.8125,29.8125 0,0.39851 -0.0138,0.79279 -0.0293,1.1875 l 86.0918,0 0,154.85742 -76.125,0 0,17.86133 c 0,4.57374 -3.70751,8.28125 -8.28125,8.28125 l -62.9375,0 c -4.57374,0 -8.28125,-3.70751 -8.28125,-8.28125 l 0,-17.86133 -76.66211,0 0,-154.85742 86.6289,0 c -0.0155,-0.39473 -0.0293,-0.78897 -0.0293,-1.1875 0,-16.4652 13.34731,-29.8125 29.8125,-29.8125 z m -29.78321,31 c 0.62463,15.91355 13.71654,28.625 29.78321,28.625 16.06669,0 29.15859,-12.71143 29.7832,-28.625 l -59.56641,0 z m -9.96679,154.85742 79.5,0 0,-1.91992 c 0,-4.5737 -3.70751,-8.28125 -8.28125,-8.28125 l -8.28125,0 0,-87.875 c 0,-4.57372 -3.70751,-8.28125 -8.28125,-8.28125 l -46.375,0 c -4.57374,0 -8.28125,3.70753 -8.28125,8.28125 l 0,19.7793 c 0,4.57372 3.70751,8.28125 8.28125,8.28125 l 8.28125,0 0,59.81445 -8.28125,0 c -4.57373,0 -8.28125,3.70755 -8.28125,8.28125 l 0,1.91992 z M 69.686519,893.14732 c -3.99241,0 -7.25781,3.26735 -7.25781,7.25976 l 0,21.77735 c 0,16.03018 13.00503,29.03515 29.03516,29.03515 l 329.072261,0 c 16.03015,0 29.03516,-13.00497 29.03516,-29.03515 l 0,-21.77735 c 0,-3.99241 -3.26736,-7.25976 -7.25977,-7.25976 l -144.26953,0 c -1.81473,0 -3.32834,1.27119 -3.57031,3.08593 -1.45178,9.19464 -9.43667,16.27149 -19.11523,16.27149 l -38.71289,0 c -9.67857,0 -17.66345,-7.07685 -19.11524,-16.27149 -0.30245,-1.75424 -1.81607,-3.08593 -3.57031,-3.08593 l -144.271491,0 z"
id="path4260"
inkscape:connector-curvature="0" />
</g>
<text
sodipodi:linespacing="125%"
id="text4214"
y="226.07401"
x="-905.51184"
style="font-style:normal;font-weight:normal;font-size:149.17279053px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
xml:space="preserve"><tspan
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:223.75918579px;font-family:Ubuntu;-inkscape-font-specification:Ubuntu"
id="tspan4218"
y="226.07401"
x="-905.51184"
sodipodi:role="line">PC Info</tspan></text>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.3 KiB

@ -0,0 +1,75 @@
<?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="512"
height="512"
viewBox="0 0 512.00001 512.00001"
id="svg2"
version="1.1"
inkscape:version="0.91 r13725"
sodipodi:docname="logo-whitebg.svg"
inkscape:export-filename="/home/skylar/Documents/Projects/Assets/PCInfo/logo-whitebg.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90">
<defs
id="defs4" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="0.7"
inkscape:cx="153.51585"
inkscape:cy="138.45336"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
units="px"
inkscape:window-width="1440"
inkscape:window-height="842"
inkscape:window-x="1024"
inkscape:window-y="156"
inkscape:window-maximized="1" />
<metadata
id="metadata7">
<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="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-540.36216)">
<rect
style="opacity:1;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:3;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect4711"
width="510"
height="510"
x="1"
y="541.36218"
rx="39.84375"
ry="39.84375" />
<path
style="fill:#4caf50;fill-opacity:1;stroke:none"
d="m 130.17871,641.50474 c -16.03013,0 -29.03515,13.00502 -29.03515,29.03515 l 0,174.21485 c 0,16.03013 13.00502,29.03515 29.03515,29.03515 l 251.64258,0 c 16.03013,0 29.03515,-13.00502 29.03515,-29.03515 l 0,-174.21485 c 0,-16.03013 -13.00501,-29.03515 -29.03515,-29.03515 l -251.64258,0 z m 126.08985,7.71484 c 16.46479,0 29.8125,13.3473 29.8125,29.8125 0,0.39851 -0.0138,0.79279 -0.0293,1.1875 l 86.0918,0 0,154.85742 -76.125,0 0,17.86133 c 0,4.57374 -3.70751,8.28125 -8.28125,8.28125 l -62.9375,0 c -4.57374,0 -8.28125,-3.70751 -8.28125,-8.28125 l 0,-17.86133 -76.66211,0 0,-154.85742 86.6289,0 c -0.0155,-0.39473 -0.0293,-0.78897 -0.0293,-1.1875 0,-16.4652 13.34731,-29.8125 29.8125,-29.8125 z m -29.78321,31 c 0.62463,15.91355 13.71654,28.625 29.78321,28.625 16.06669,0 29.15859,-12.71143 29.7832,-28.625 l -59.56641,0 z m -9.96679,154.85742 79.5,0 0,-1.91992 c 0,-4.5737 -3.70751,-8.28125 -8.28125,-8.28125 l -8.28125,0 0,-87.875 c 0,-4.57372 -3.70751,-8.28125 -8.28125,-8.28125 l -46.375,0 c -4.57374,0 -8.28125,3.70753 -8.28125,8.28125 l 0,19.7793 c 0,4.57372 3.70751,8.28125 8.28125,8.28125 l 8.28125,0 0,59.81445 -8.28125,0 c -4.57373,0 -8.28125,3.70755 -8.28125,8.28125 l 0,1.91992 z M 69.686519,893.14732 c -3.99241,0 -7.25781,3.26735 -7.25781,7.25976 l 0,21.77735 c 0,16.03018 13.00503,29.03515 29.03516,29.03515 l 329.072261,0 c 16.03015,0 29.03516,-13.00497 29.03516,-29.03515 l 0,-21.77735 c 0,-3.99241 -3.26736,-7.25976 -7.25977,-7.25976 l -144.26953,0 c -1.81473,0 -3.32834,1.27119 -3.57031,3.08593 -1.45178,9.19464 -9.43667,16.27149 -19.11523,16.27149 l -38.71289,0 c -9.67857,0 -17.66345,-7.07685 -19.11524,-16.27149 -0.30245,-1.75424 -1.81607,-3.08593 -3.57031,-3.08593 l -144.271491,0 z"
id="path4260"
inkscape:connector-curvature="0" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

@ -0,0 +1,66 @@
<?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="512"
height="512"
viewBox="0 0 512.00001 512.00001"
id="svg2"
version="1.1"
inkscape:version="0.91 r13725"
sodipodi:docname="logo.svg"
inkscape:export-filename="/home/skylar/Documents/Projects/Assets/PCInfo/logo.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90">
<defs
id="defs4" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="0.35"
inkscape:cx="-66"
inkscape:cy="359.5872"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
units="px"
inkscape:window-width="1440"
inkscape:window-height="842"
inkscape:window-x="1024"
inkscape:window-y="156"
inkscape:window-maximized="1" />
<metadata
id="metadata7">
<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="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-540.36216)">
<path
style="fill:#4caf50;fill-opacity:1;stroke:none"
d="m 130.17871,641.50474 c -16.03013,0 -29.03515,13.00502 -29.03515,29.03515 l 0,174.21485 c 0,16.03013 13.00502,29.03515 29.03515,29.03515 l 251.64258,0 c 16.03013,0 29.03515,-13.00502 29.03515,-29.03515 l 0,-174.21485 c 0,-16.03013 -13.00501,-29.03515 -29.03515,-29.03515 l -251.64258,0 z m 126.08985,7.71484 c 16.46479,0 29.8125,13.3473 29.8125,29.8125 0,0.39851 -0.0138,0.79279 -0.0293,1.1875 l 86.0918,0 0,154.85742 -76.125,0 0,17.86133 c 0,4.57374 -3.70751,8.28125 -8.28125,8.28125 l -62.9375,0 c -4.57374,0 -8.28125,-3.70751 -8.28125,-8.28125 l 0,-17.86133 -76.66211,0 0,-154.85742 86.6289,0 c -0.0155,-0.39473 -0.0293,-0.78897 -0.0293,-1.1875 0,-16.4652 13.34731,-29.8125 29.8125,-29.8125 z m -29.78321,31 c 0.62463,15.91355 13.71654,28.625 29.78321,28.625 16.06669,0 29.15859,-12.71143 29.7832,-28.625 l -59.56641,0 z m -9.96679,154.85742 79.5,0 0,-1.91992 c 0,-4.5737 -3.70751,-8.28125 -8.28125,-8.28125 l -8.28125,0 0,-87.875 c 0,-4.57372 -3.70751,-8.28125 -8.28125,-8.28125 l -46.375,0 c -4.57374,0 -8.28125,3.70753 -8.28125,8.28125 l 0,19.7793 c 0,4.57372 3.70751,8.28125 8.28125,8.28125 l 8.28125,0 0,59.81445 -8.28125,0 c -4.57373,0 -8.28125,3.70755 -8.28125,8.28125 l 0,1.91992 z M 69.686519,893.14732 c -3.99241,0 -7.25781,3.26735 -7.25781,7.25976 l 0,21.77735 c 0,16.03018 13.00503,29.03515 29.03516,29.03515 l 329.072261,0 c 16.03015,0 29.03516,-13.00497 29.03516,-29.03515 l 0,-21.77735 c 0,-3.99241 -3.26736,-7.25976 -7.25977,-7.25976 l -144.26953,0 c -1.81473,0 -3.32834,1.27119 -3.57031,3.08593 -1.45178,9.19464 -9.43667,16.27149 -19.11523,16.27149 l -38.71289,0 c -9.67857,0 -17.66345,-7.07685 -19.11524,-16.27149 -0.30245,-1.75424 -1.81607,-3.08593 -3.57031,-3.08593 l -144.271491,0 z"
id="path4260"
inkscape:connector-curvature="0" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.5 KiB

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -7,11 +7,18 @@ require_once __DIR__ . "/routes.php";
<!DOCTYPE html>
<meta charset="UTF-8">
<title><?php echo SITE_TITLE; ?></title>
<link rel="icon" href="<?php echo FAVICON; ?>" />
<?php if (USE_CDN) { ?>
<link href="https://static.netsyms.net/bootstrap/4/bootstrap.materia.min.css" rel="stylesheet" />
<script src="https://static.netsyms.net/jquery/jquery-3.3.1.slim.min.js"></script>
<script src="https://static.netsyms.net/bootstrap/4/bootstrap.min.js"></script>
<script async defer src="https://static.netsyms.net/fontawesome/5.0/fontawesome-all.min.js"></script>
<?php } else { ?>
<link href="assets/static/bootstrap.materia.min.css" rel="stylesheet" />
<script src="assets/static/jquery-3.3.1.slim.min.js"></script>
<script src="assets/static/bootstrap.min.js"></script>
<script async defer src="assets/static/fontawesome-all.min.js"></script>
<?php } ?>
<?php
if (empty($_GET['page'])) {

@ -32,7 +32,7 @@
<div class="container mt-4">
<div class="d-flex justify-content-center">
<div class="card">
<img class="card-img-top p-4 mx-auto" style="max-width: 100%; width: 400px;" src="https://static.netsyms.net/images/netsyms/logo-flat-words.png" alt="Netsyms Technologies" />
<img class="card-img-top p-4 mx-auto" style="max-width: 100%; width: 400px;" src="<?php echo LOGO_URL; ?>" alt="<?php echo LOGO_ALT; ?>" />
<div class="card-body py-0">
<h5>
PC Info Finder

@ -1,7 +1,7 @@
<div class="container mt-4">
<div class="d-flex justify-content-center">
<div class="card">
<img class="card-img-top p-4 mx-auto" style="max-width: 100%; width: 400px;" src="https://static.netsyms.net/images/netsyms/logo-flat-words.png" alt="Netsyms Technologies" />
<img class="card-img-top p-4 mx-auto" style="max-width: 100%; width: 400px;" src="<?php echo LOGO_URL; ?>" alt="<?php echo LOGO_ALT; ?>" />
<div class="card-body py-0">
<h5>
Machine #<?php echo htmlspecialchars($_GET['serial']); ?>
@ -126,7 +126,7 @@
<?php
}
} catch (Exception $ex) {
echo "<p class=\"text-danger\">" . $ex->getMessage() . "</p>";
echo "<div class=\"col\"><p class=\"text-danger\">" . $ex->getMessage() . "</p></div>";
}
?>
</div>

@ -9,4 +9,9 @@ define("DB_USER", "root");
define("DB_PASS", "");
define("DB_CHARSET", "utf8");
define("DATETIME_FORMAT", "M j, Y @ g:i A");
define("LOGO_URL", "assets/logos/biglogo.png");
define("LOGO_ALT", "PC Info");
define("FAVICON", "assets/logos/logo.svg");
define("USE_CDN", true);
define("DATETIME_FORMAT", "M j, Y @ g:i A");

Loading…
Cancel
Save