Commit 1e0e655e authored by Robert Lyon's avatar Robert Lyon

Bug 739528: Adjust the HTML export template / css

To make it more in line with the current look/feel

behatnotneeded

Change-Id: Ibd5279677f18863b25b4f83f7d6404730aa750e7
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
parent 3a09a2e4
......@@ -19,81 +19,6 @@ body {
a img {
border: none;
}
.center {
text-align: center;
}
.right {
text-align: right;
}
.fullwidth {
width: 100%;
}
.fl {
float: left;
padding-right: 10px;
}
.fr {
float: right;
padding-left: 10px;
}
.cl {
clear: left;
}
.cr {
clear: right;
}
.cb {
clear: both;
}
.r0 {
background-color: #f0f0f0;
}
.r1 {
background-color: #f8f8f8;
}
div.pagination span.selected,
span.pagination {
padding: 5px;
}
.date {
color: #888;
font-style: italic;
}
/* Headings */
h1 {
border-bottom: 1px solid #bbb;
font-family: Arial, sans-serif;
margin: 1em 0 0;
}
h1 a {
text-decoration: none;
}
#mahara-logo {
float: right;
}
h2, h3, h4, h5, h6 {
font-family: Arial, sans-serif;
margin: .5em 0 .25em;
}
/* Tables */
table {
border-spacing: 0;
border-collapse: collapse;
}
th {
padding: 3px 0;
text-align: left;
vertical-align: top;
line-height: 1.8em;
}
/* Main content */
#content {
margin: 0 1em;
font-family: "Times New Roman", serif;
}
/* Breadcrumbs */
.breadcrumbs ul {
......@@ -152,58 +77,6 @@ th {
padding: 0 1em 1em 0;
}
/* Views */
#view-title {
color: #3986c3;
}
#view-description {
font-family: Arial, sans-serif;
font-size: smaller;
}
.column {
font-family: Arial, sans-serif;
}
.blockinstance-header {
color: #3986c3;
border-bottom: 1px solid #d2d2d2;
}
.blockinstance-header a {
color: #3986c3;
text-decoration: none;
}
.blockinstance-content {
padding: .5em .25em;
font-size: smaller;
}
/* views footer */
.viewfooter {
border: 1px solid #eee;
}
.feedbacktable .fr {
margin-top: 3px;
}
.feedbacktable th {
color: #303030;
}
.feedbacktable .details {
color: #d1d1d1;
}
.feedbacktable .details span {
color: #9e9e9e;
}
/* Footer */
#footer {
border-top: 1px solid #bbb;
text-align: center;
font-size: smaller;
clear: both;
color: #606060;
}
#footer p {
margin-top: .5em;
}
#footer a {
color: #606060;
.footer p {
padding: 5px 15px;
}
</div>
<div id="footer">
<p>Export generated for {$user|full_name|escape} on {$export_time|format_date}, from their portfolio at <a href="{$WWWROOT}">{$sitename}</a></p>
</div>
</main>
</div>
</div>
<footer class="footer">
<p>Export generated for {$user|full_name|escape} on {$export_time|format_date}, from their portfolio at <a href="{$WWWROOT}">{$sitename}</a></p>
</footer>
</body>
</html>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!doctype html>
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=UTF-8">
......@@ -8,17 +8,50 @@
{/foreach}
</head>
<body>
<div id="mahara-logo">
<a href="https://mahara.org/"><img src="{$maharalogo}" alt="Mahara export"></a>
<header class="header fixed-top no-site-messages">
<div class="navbar navbar-default navbar-main">
<div class="container">
<div id="logo-area" class="logo-area">
<a class="logo change-to-small" href="https://mahara.org/">
<img src="{$maharalogo}" alt="Mahara">
</a>
<a href="https://mahara.org/" class="logoxs change-to-small-default">
<img src="{$maharalogosmall}" alt="Mahara">
</a>
</div>
<h1><a href="{$rootpath}index.html">{$page_heading}</a></h1>
<div id="content">
{if !$nobreadcrumbs}<div id="breadcrumbs" class="breadcrumbs">
</div>
</div>
</header>
<div class="pageheader">
<div class="container pageheader-content">
<div class="row">
<div class="col-md-12 main">
<div class="main-column">
<div id="pageheader-column-container">
<h1 id="viewh1" class="page-header">
<span class="section-heading">{$page_heading}</span>
</h1>
<div class="text-small">
{if !$nobreadcrumbs}
<div id="breadcrumbs" class="breadcrumbs">
<ul>
<li>{str tag=youarehere section=export}: <a href="{$rootpath}index.html">{str tag=home}</a></li>
{foreach from=$breadcrumbs item=crumb}
{foreach from=$breadcrumbs item=crumb}
<li>&raquo; {if $crumb.path}<a href="{$crumb.path}">{$crumb.text}</a>{else}{$crumb.text}{/if}</li>
{/foreach}
{/foreach}
</ul>
</div>
<div id="breadcrumbs-footer"></div>{/if}
{/if}
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="container main-content">
<div class="row">
<main id="main" class="col-md-12 main">
<div id="content" class="main-column">
<div id="main-column-container">
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