Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
d436f5ff
Commit
d436f5ff
authored
Aug 16, 2019
by
Robert Lyon
Committed by
Gerrit Code Review
Aug 16, 2019
Browse files
Merge "Bug 739528: Adjust the HTML export template / css"
parents
86b6f203
1e0e655e
Changes
3
Hide whitespace changes
Inline
Side-by-side
htdocs/theme/raw/plugintype/export/html/style/style.css
View file @
d436f5ff
...
...
@@ -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
;
}
htdocs/theme/raw/plugintype/export/html/templates/footer.tpl
View file @
d436f5ff
</div>
</div>
</main>
</div>
</div>
<
div
id
=
"footer"
>
<
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>
</
div
>
</
footer
>
</body>
</html>
htdocs/theme/raw/plugintype/export/html/templates/header.tpl
View file @
d436f5ff
<!
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
>
<
/
div>
<h1><a
href=
"
{
$rootpath
}
index.html"
>
{
$page_heading
}
</a></h1
>
<div
id=
"content
"
>
{
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
}
<li>
»
{
if
$crumb.path
}
<a
href=
"
{
$crumb.path
}
"
>
{
$crumb.text
}
</a>
{
else
}{
$crumb.text
}{/
if
}
</li
>
{/
foreach
}
</
ul
>
<
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>
</
div
>
</div>
<div
id=
"breadcrumbs-footer"
></div>
{/
if
}
</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
}
<li>
»
{
if
$crumb.path
}
<a
href=
"
{
$crumb.path
}
"
>
{
$crumb.text
}
</a>
{
else
}{
$crumb.text
}{/
if
}
</li>
{/
foreach
}
</ul>
</div>
{/
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"
>
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment