Commit 7623fefa authored by MikO's avatar MikO
Browse files

initial commit

parents
# FSI Theme für ownCloud
Simples Theme für ownCloud im Stil der Corporate Identity der Fachschaft Informatik
\ No newline at end of file
#body-login {
background: #003f87;
background: -moz-linear-gradient(top, #003f87 0%, #002744 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#003f87), color-stop(100%,#002744));
background: -webkit-linear-gradient(top, #003f87 0%,#002744 100%);
background: -o-linear-gradient(top, #003f87 0%,#002744 100%);
background: -ms-linear-gradient(top, #003f87 0%,#002744 100%);
background: linear-gradient(to bottom, #003f87 0%,#002744 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#003f87', endColorstr='#002744',GradientType=0 );
}
#header .logo {
background-image: url("../img/logo.svg");
background-repeat: no-repeat;
width: 252px;
height: 160px;
margin: 0px auto;
background-size: 100%;
}
#body-user #header, #body-settings #header, #body-public #header {
background-color: #003f87;
}
#header .logo-icon {
display: inline-block;
background-image: url("../img/logo-icon.svg");
background-repeat: no-repeat;
background-size: 100%;
width: 55px;
height: 34px;
}
<?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"
version="1.1"
width="180.37109"
height="114.16776"
id="svg2">
<defs
id="defs4" />
<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
transform="translate(-328.07621,-224.79677)"
id="layer1">
<path
d="m 428.94253,224.79703 c -18.54558,0 -34.51301,10.85807 -42.01498,26.53789 -3.24471,-1.63256 -6.89701,-2.57241 -10.77605,-2.57241 -11.90322,0 -21.76342,8.6621 -23.68968,20.01946 -14.1762,4.86293 -24.38561,18.27551 -24.38561,34.10791 0,19.91344 16.14043,36.0571 36.04814,36.07465 l 111.42245,0 0,-0.006 c 18.18704,-0.0942 32.9005,-14.85745 32.9005,-33.0624 0,-18.23432 -14.74856,-33.01548 -32.97106,-33.06813 0.0118,-0.48139 0.0706,-0.94523 0.0706,-1.42697 0,-25.7388 -20.86512,-46.60426 -46.60427,-46.60426 l 0,0 z"
id="path3033"
style="fill:#ffffff;fill-opacity:1" />
<text
x="222.23355"
y="401.82394"
id="text3042"
xml:space="preserve"
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#ffffff;fill-opacity:1;stroke:none;font-family:Sans"><tspan
x="222.23355"
y="401.82394"
id="tspan3044"
style="font-size:72px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;fill:#ffffff;font-family:TeX Gyre Adventor;-inkscape-font-specification:TeX Gyre Adventor">FSIcloud</tspan></text>
<g
transform="matrix(0.13494444,0,0,-0.13494444,389.80004,341.35211)"
id="g3969">
<g
transform="scale(0.150307,0.150307)"
id="g3971">
<path
d="m 1960.99,4344.45 697.11,0 c 0,-356.34 0,-712.68 0,-1069.02 -118.76,-0.06 -237.58,-0.13 -356.34,0 -64.07,0.67 -128.47,-7.38 -190.01,-25.68 -88.55,-25.61 -169.79,-80.03 -221.41,-157.14 -68.33,-100.73 -88.96,-225.47 -90.62,-344.96 -0.07,-589.13 0.13,-1178.26 0.33,-1767.322 -128.34,-0.066 -256.67,-0.133 -385.08,0 0.07,950.722 0,1901.442 0.07,2852.172 3.53,153.88 69.99,311.56 196.07,404.3 100.06,75.25 226.93,102.86 349.88,107.65 M 0,3476.82 c 210.703,0 421.406,0.07 632.176,0 94.804,-0.39 190.941,-14.5 278.23,-52.96 80.235,-34.86 150.754,-92.34 199.324,-165.32 63.4,-95.08 93.48,-210.77 90.61,-324.61 -0.13,-651.2 -0.06,-1302.4 -0.06,-1953.602 -128.34,-0.066 -256.741,-0.066 -385.081,0 0,325.272 0.266,650.532 0.332,975.802 -0.797,66.4 -7.316,133.13 -25.015,197.27 -22.352,83.56 -68.594,162.8 -139.047,214.56 -87.356,65.13 -198.528,87.68 -305.309,92.41 -115.433,0.53 -230.797,0.06 -346.16,0.2 l 0,1016.25"
id="path3973"
style="fill:#a1a4a7;fill-opacity:1;fill-rule:nonzero;stroke:none" />
<path
d="m 2205.82,2623.57 c 104.19,81.23 239.11,111.11 368.91,112.7 143.25,0.53 286.42,0.07 429.66,0.27 0.13,-322.74 0.13,-645.41 0,-968.09 -125.41,1.4 -254.55,2.19 -373.9,-41.65 -70.92,-25.41 -134.6,-74.18 -170.99,-140.91 -50.56,-91.41 -58.41,-198.93 -57.75,-301.38 -0.06,-101.46 0.07,-202.99 -0.06,-304.447 -128.27,0.199 -256.48,-0.2 -384.75,0.265 -0.06,389.472 0,779.012 0,1168.472 0.2,51.57 -2.13,103.53 7.39,154.49 20.09,123.48 81.03,243.3 181.49,320.28"
id="path3977"
style="fill:#005193;fill-opacity:1;fill-rule:nonzero;stroke:none" />
</g>
</g>
</g>
</svg>
<?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"
version="1.1"
width="280.74176"
height="177.96318"
id="svg2"
inkscape:version="0.48.4 r9939"
sodipodi:docname="logo.svg">
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1366"
inkscape:window-height="744"
id="namedview3092"
showgrid="false"
inkscape:zoom="3.3546265"
inkscape:cx="83.583634"
inkscape:cy="88.98159"
inkscape:window-x="0"
inkscape:window-y="24"
inkscape:window-maximized="1"
inkscape:current-layer="svg2" />
<defs
id="defs4" />
<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 />
</cc:Work>
</rdf:RDF>
</metadata>
<g
transform="translate(-227.70555,-224.79677)"
id="layer1">
<path
d="m 428.94253,224.79703 c -18.54558,0 -34.51301,10.85807 -42.01498,26.53789 -3.24471,-1.63256 -6.89701,-2.57241 -10.77605,-2.57241 -11.90322,0 -21.76342,8.6621 -23.68968,20.01946 -14.1762,4.86293 -24.38561,18.27551 -24.38561,34.10791 0,19.91344 16.14043,36.0571 36.04814,36.07465 l 111.42245,0 0,-0.006 c 18.18704,-0.0942 32.9005,-14.85745 32.9005,-33.0624 0,-18.23432 -14.74856,-33.01548 -32.97106,-33.06813 0.0118,-0.48139 0.0706,-0.94523 0.0706,-1.42697 0,-25.7388 -20.86512,-46.60426 -46.60427,-46.60426 l 0,0 z"
id="path3033"
style="fill:#ffffff;fill-opacity:1" />
<g
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#ffffff;fill-opacity:1;stroke:none;font-family:Sans"
id="text3042">
<path
d="m 254.70555,353.43994 0,-4.824 -27,0 0,53.208 5.328,0 0,-24.336 20.88,0 0,-4.824 -20.88,0 0,-19.224 21.672,0"
style="font-size:72px;font-variant:normal;font-stretch:normal;fill:#ffffff;font-family:TeX Gyre Adventor;-inkscape-font-specification:TeX Gyre Adventor"
id="path3095" />
<path
d="m 291.38055,386.99194 c 0,-4.67999 -1.944,-8.856 -5.328,-11.376 -2.16,-1.58399 -4.392,-2.592 -9.864,-4.248 -4.82399,-1.43999 -6.48,-2.088 -7.848,-3.312 -1.512,-1.29599 -2.52,-3.744 -2.52,-6.192 0,-5.32799 3.88801,-9.288 9.216,-9.288 5.4,0 9.504,3.74401 9.504,9.504 l 5.544,0 c 0,-8.63999 -6.19201,-14.4 -14.904,-14.4 -8.56799,0 -14.76,6.04801 -14.76,14.328 0,3.672 1.368,7.20001 3.744,9.432 2.088,2.016 3.74401,2.80801 9.936,4.68 9.14399,2.808 11.88,5.32801 11.88,11.16 0,6.12 -4.46401,10.584 -10.512,10.584 -5.97599,0 -10.296,-3.816 -11.088,-10.944 l -5.688,0 c 0.504,9.57599 7.05601,15.84 16.632,15.84 9.21599,0 16.056,-6.696 16.056,-15.768"
style="font-size:72px;font-variant:normal;font-stretch:normal;fill:#ffffff;font-family:TeX Gyre Adventor;-inkscape-font-specification:TeX Gyre Adventor"
id="path3097" />
<path
d="m 303.76793,401.82394 0,-53.208 -5.328,0 0,53.208 5.328,0"
style="font-size:72px;font-variant:normal;font-stretch:normal;fill:#ffffff;font-family:TeX Gyre Adventor;-inkscape-font-specification:TeX Gyre Adventor"
id="path3099" />
<path
d="m 353.05643,390.23194 -6.048,0 c -4.104,5.472 -7.92001,7.632 -13.464,7.632 -8.856,0 -15.84,-6.984 -15.84,-15.696 0,-8.85599 6.84,-15.768 15.624,-15.768 5.83199,0 10.656,2.80801 13.68,7.992 l 5.976,0 c -3.168,-7.91999 -10.72801,-12.888 -19.584,-12.888 -11.80799,0 -21.096,9.07202 -21.096,20.52 0,11.73599 9.36001,20.736 21.456,20.736 8.13599,0 14.544,-3.528 19.296,-12.528"
style="font-size:72px;font-variant:normal;font-stretch:normal;fill:#ffffff;font-family:TeX Gyre Adventor;-inkscape-font-specification:TeX Gyre Adventor"
id="path3101" />
<path
d="m 365.6913,401.82394 0,-53.208 -5.328,0 0,53.208 5.328,0"
style="font-size:72px;font-variant:normal;font-stretch:normal;fill:#ffffff;font-family:TeX Gyre Adventor;-inkscape-font-specification:TeX Gyre Adventor"
id="path3103" />
<path
d="m 414.30705,382.23994 c 0,-12.02398 -8.64001,-20.736 -20.448,-20.736 -11.66399,0 -20.664,8.85602 -20.664,20.376 0,12.09599 8.85601,20.88 21.096,20.88 11.51999,0 20.016,-8.71201 20.016,-20.52 m -5.4,0.072 c 0,9 -6.19201,15.552 -14.76,15.552 -9.07199,0 -15.552,-6.62401 -15.552,-15.84 0,-8.92799 6.55201,-15.624 15.264,-15.624 8.63999,0 15.048,6.76801 15.048,15.912"
style="font-size:72px;font-variant:normal;font-stretch:normal;fill:#ffffff;font-family:TeX Gyre Adventor;-inkscape-font-specification:TeX Gyre Adventor"
id="path3105" />
<path
d="m 456.52043,401.82394 0,-39.384 -5.328,0 0,20.232 c 0,10.72799 -5.04001,15.192 -12.24,15.192 -7.632,0 -11.808,-4.17601 -11.808,-14.184 l 0,-21.24 -5.328,0 0,21.24 c 0,13.75199 6.69601,19.08 16.704,19.08 6.11999,0 10.008,-2.16 12.672,-7.056 l 0,6.12 5.328,0"
style="font-size:72px;font-variant:normal;font-stretch:normal;fill:#ffffff;font-family:TeX Gyre Adventor;-inkscape-font-specification:TeX Gyre Adventor"
id="path3107" />
<path
d="m 505.7988,401.82394 0,-53.208 -5.328,0 0,20.088 c -3.888,-4.67999 -9.28801,-7.2 -15.48,-7.2 -11.87999,0 -20.952,8.92802 -20.952,20.664 0,11.66399 9.28801,20.592 21.456,20.592 6.55199,0 11.016,-2.376 14.976,-8.064 l 0,7.128 5.328,0 m -5.112,-19.8 c 0,8.64 -6.91201,15.84 -15.336,15.84 -8.99999,0 -15.912,-6.912 -15.912,-15.912 0,-8.63999 6.84001,-15.552 15.408,-15.552 8.71199,0 15.84,6.98401 15.84,15.624"
style="font-size:72px;font-variant:normal;font-stretch:normal;fill:#ffffff;font-family:TeX Gyre Adventor;-inkscape-font-specification:TeX Gyre Adventor"
id="path3109" />
</g>
<g
transform="matrix(0.13494444,0,0,-0.13494444,389.80004,341.35211)"
id="g3969">
<g
transform="scale(0.150307,0.150307)"
id="g3971">
<path
d="m 1960.99,4344.45 697.11,0 c 0,-356.34 0,-712.68 0,-1069.02 -118.76,-0.06 -237.58,-0.13 -356.34,0 -64.07,0.67 -128.47,-7.38 -190.01,-25.68 -88.55,-25.61 -169.79,-80.03 -221.41,-157.14 -68.33,-100.73 -88.96,-225.47 -90.62,-344.96 -0.07,-589.13 0.13,-1178.26 0.33,-1767.322 -128.34,-0.066 -256.67,-0.133 -385.08,0 0.07,950.722 0,1901.442 0.07,2852.172 3.53,153.88 69.99,311.56 196.07,404.3 100.06,75.25 226.93,102.86 349.88,107.65 M 0,3476.82 c 210.703,0 421.406,0.07 632.176,0 94.804,-0.39 190.941,-14.5 278.23,-52.96 80.235,-34.86 150.754,-92.34 199.324,-165.32 63.4,-95.08 93.48,-210.77 90.61,-324.61 -0.13,-651.2 -0.06,-1302.4 -0.06,-1953.602 -128.34,-0.066 -256.741,-0.066 -385.081,0 0,325.272 0.266,650.532 0.332,975.802 -0.797,66.4 -7.316,133.13 -25.015,197.27 -22.352,83.56 -68.594,162.8 -139.047,214.56 -87.356,65.13 -198.528,87.68 -305.309,92.41 -115.433,0.53 -230.797,0.06 -346.16,0.2 l 0,1016.25"
id="path3973"
style="fill:#a1a4a7;fill-opacity:1;fill-rule:nonzero;stroke:none" />
<path
d="m 2205.82,2623.57 c 104.19,81.23 239.11,111.11 368.91,112.7 143.25,0.53 286.42,0.07 429.66,0.27 0.13,-322.74 0.13,-645.41 0,-968.09 -125.41,1.4 -254.55,2.19 -373.9,-41.65 -70.92,-25.41 -134.6,-74.18 -170.99,-140.91 -50.56,-91.41 -58.41,-198.93 -57.75,-301.38 -0.06,-101.46 0.07,-202.99 -0.06,-304.447 -128.27,0.199 -256.48,-0.2 -384.75,0.265 -0.06,389.472 0,779.012 0,1168.472 0.2,51.57 -2.13,103.53 7.39,154.49 20.09,123.48 81.03,243.3 181.49,320.28"
id="path3977"
style="fill:#005193;fill-opacity:1;fill-rule:nonzero;stroke:none" />
</g>
</g>
</g>
</svg>
<?php /** @var $l OC_L10N */ ?>
<?php
vendor_script('jsTimezoneDetect/jstz');
script('core', [
'visitortimezone',
'lostpassword'
]);
?>
<!--[if IE 8]><style>input[type="checkbox"]{padding:0;}</style><![endif]-->
<form method="post" name="login">
<fieldset>
<?php if (!empty($_['redirect_url'])) {
print_unescaped('<input type="hidden" name="redirect_url" value="' . OC_Util::sanitizeHTML($_['redirect_url']) . '" />');
} ?>
<?php if (isset($_['apacheauthfailed']) && ($_['apacheauthfailed'])): ?>
<div class="warning">
<?php p($l->t('Server side authentication failed!')); ?><br>
<small><?php p($l->t('Please contact your administrator.')); ?></small>
</div>
<?php endif; ?>
<?php foreach($_['messages'] as $message): ?>
<div class="warning">
<?php p($message); ?><br>
</div>
<?php endforeach; ?>
<p id="message" class="hidden">
<img class="float-spinner" alt=""
src="<?php p(\OCP\Util::imagePath('core', 'loading-dark.gif'));?>" />
<span id="messageText"></span>
<!-- the following div ensures that the spinner is always inside the #message div -->
<div style="clear: both;"></div>
</p>
<p class="grouptop">
<input type="text" name="user" id="user"
placeholder="<?php //p($l->t('Username')); ?>r/ft Kennung"
value="<?php p($_['username']); ?>"
<?php p($_['user_autofocus'] ? 'autofocus' : ''); ?>
autocomplete="on" autocapitalize="off" autocorrect="off" required />
<label for="user" class="infield"><?php p($l->t('Username')); ?></label>
<img class="svg" src="<?php print_unescaped(image_path('', 'actions/user.svg')); ?>" alt=""/>
</p>
<p class="groupbottom">
<input type="password" name="password" id="password" value=""
placeholder="<?php //p($l->t('Password')); ?>FSIcloud Passwort"
<?php p($_['user_autofocus'] ? '' : 'autofocus'); ?>
autocomplete="on" autocapitalize="off" autocorrect="off" required />
<label for="password" class="infield"><?php p($l->t('Password')); ?></label>
<img class="svg" id="password-icon" src="<?php print_unescaped(image_path('', 'actions/password.svg')); ?>" alt=""/>
</p>
<?php if (isset($_['invalidpassword']) && ($_['invalidpassword'])): ?>
<a id="lost-password" class="warning" href="">
<?php p($l->t('Forgot your password? Reset it!')); ?>
</a>
<?php endif; ?>
<?php if ($_['rememberLoginAllowed'] === true) : ?>
<input type="checkbox" name="remember_login" value="1" id="remember_login" />
<label for="remember_login"><?php p($l->t('remember')); ?></label>
<?php endif; ?>
<input type="hidden" name="timezone-offset" id="timezone-offset"/>
<input type="hidden" name="timezone" id="timezone"/>
<input type="hidden" name="requesttoken" value="<?php p($_['requesttoken']) ?>" />
<input type="submit" id="submit" class="login primary" value="<?php p($l->t('Log in')); ?>" disabled="disabled"/>
</fieldset>
</form>
<?php if (!empty($_['alt_login'])) { ?>
<form id="alternative-logins">
<fieldset>
<legend><?php p($l->t('Alternative Logins')) ?></legend>
<ul>
<?php foreach($_['alt_login'] as $login): ?>
<li><a class="button" href="<?php print_unescaped($login['href']); ?>" ><?php p($login['name']); ?></a></li>
<?php endforeach; ?>
</ul>
</fieldset>
</form>
<?php }
<?php
class OC_Theme {
private $themeName;
private $title;
private $entity;
private $slogan;
private $baseURL;
private $homepage;
public function __construct() {
$this->themeName = "FSI";
$this->title = "FSIcloud";
$this->entity = "Fachschaft Informatik, Hochschule Trier";
$this->slogan = "ein Service des Fachschaftsrates Informatik";
$this->baseURL = "https://morpheus.fsi.hochschule-trier.de:8000/cloud/";
$this->homepage = "https://fsi.hochschule-trier.de";
}
public function getTitle() {
return $this->title;
}
public function getName() {
return $this->themeName;
}
public function getEntity() {
return $this->entity;
}
public function getSlogan() {
return $this->slogan;
}
public function getBaseUrl() {
return $this->baseURL;
}
public function getShortFooter() {
$footer = "<a href='$this->homepage' target='_blank'>$this->entity</a> – $this->slogan";
return $footer;
}
}
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