Logo wird jetzt über CSS angezeigt anstatt über default Ordner.

Custom Stylesheets müssen entsprechend erweitert werden um
div.header_logo, td.headerbar und div.cis_logo
This commit is contained in:
Andreas Oesterreicher
2017-10-05 08:15:29 +02:00
parent 60f306cafe
commit da23548cf9
4 changed files with 43 additions and 22 deletions
+1
View File
@@ -24,6 +24,7 @@
- **[CORE]** Infoscreen wurde umbenannt (informationsbildschirm.php)
- **[CORE]** Moodle Schnittstelle wurde aus dem Core entfernt und in ein eigenes Addon verschoben. Moodle Versionen < 2.4 werden nicht mehr unterstützt
- **[CORE]** Update campus.tbl_templates (contentmittitel and contentohnetitel) with system/templates/contentmittitel_xslt_xhtml.xslt andsystem/templates/contentohnetitel_xslt_xhtml.xslt
- **[CORE]** Neue Style Anweisungen (div.header_logo, td.headerbar, div.cis_logo) müssen in Custom Stylesheet hinzugefügt werden
## [3.2]
+6 -15
View File
@@ -1,17 +1,10 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!DOCTYPE HTML>
<html>
<head>
<title>CIS</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="../skin/jquery.css" type="text/css">
<meta charset="utf-8">
<link href="../skin/style.css.php" rel="stylesheet" type="text/css">
<link rel="shortcut icon" href="../favicon.ico" type="image/x-icon">
<link rel="stylesheet" type="text/css" href="../skin/jquery-ui-1.9.2.custom.min.css">
<script type="text/javascript" src="../vendor/jquery/jqueryV1/jquery-1.12.4.min.js"></script>
<script type="text/javascript" src="../vendor/christianbach/tablesorter/jquery.tablesorter.min.js"></script>
<script type="text/javascript" src="../vendor/components/jqueryui/jquery-ui.min.js"></script>
<script type="text/javascript" src="../include/js/jquery.ui.datepicker.translation.js"></script>
<script type="text/javascript" src="../vendor/jquery/sizzle/sizzle.js"></script>
</head>
<body class="main">
<table width="100%" height="100%" cellspacing="0" cellpadding="0" border="0">
@@ -20,13 +13,11 @@
<td class="boxshadow">
<table cellspacing="0" cellpadding="0" class="header">
<tr>
<td align="center" valign="middle" style="background-image: url(../skin/styles/default/header.png); background-position: top; background-repeat: repeat-x;">
<img class="header_logo" src="../skin/styles/default/logo_250x130.png" alt="logo">
<img src="../skin/styles/default/cis_logo_text_400x78.png" />
<td align="center" valign="middle" class="headerbar">
<div class="header_logo"></div>
<div class="cis_logo"></div>
<br><br><br>
<!--Herzlich Willkommen im Campus Informationssystem (CIS)-->
<br>
<br>
<br><br>
<form action="index_login.php?login=1" method="POST">
<input class="cis_login" type="submit" value="Login">
</form>
+3 -4
View File
@@ -55,10 +55,9 @@ if(isset($_GET['login']))
<td class="boxshadow">
<table cellspacing="0" cellpadding="0" class="header">
<tr>
<td align="center" valign="middle" style="background-image: url(../skin/styles/default/header.png); background-position: top; background-repeat: repeat-x;">
<img class="header_logo" src="../skin/styles/default/logo_250x130.png" alt="logo">
<center>
<img src="../skin/styles/default/cis_logo_text_400x78.png" width="400px" />
<td align="center" valign="middle" class="headerbar">
<div class="header_logo"></div>
<div class="cis_logo"></div>
<br><br><br>
<br>
<br>
+30
View File
@@ -176,6 +176,7 @@ input.cis_login
width:170px;
height:53px;
}
div.tip
{
position: absolute;
@@ -1101,3 +1102,32 @@ body.anwesenheit table {
body.anwesenheit form {
margin: 10px;
}
div.header_logo
{
position: absolute;
left: 16px;
top: 3%;
z-index: 5000;
background-image:url(styles/tw/logo_250x130.png);
background-repeat: no-repeat;
width:170px;
height:51px;
background-size: contain;
}
td.headerbar
{
background-image: url(styles/tw/header.png);
background-position: top;
background-repeat: repeat-x;"
}
div.cis_logo
{
background-image:url(styles/tw/cis_logo_text_400x78.png);
background-repeat: no-repeat;
width: 400px;
height: 78px;
}