Introduce base.html for inheritance of common page elements
parent
0607186bb0
commit
87d4fbfb0b
|
@ -77,3 +77,7 @@ a.pure-button-primary {
|
||||||
.content a:hover {
|
.content a:hover {
|
||||||
color: #ff9900;
|
color: #ff9900;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.footer {
|
||||||
|
z-index: 100;
|
||||||
|
}
|
|
@ -0,0 +1,55 @@
|
||||||
|
<!doctype html>
|
||||||
|
<html lang="{% block html_lang %}{{ DEFAULT_LANG }}{% endblock html_lang %}">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<meta name="description" content="{{ SITE_SUBHEADING }}">
|
||||||
|
<title>{% block title %}{{ SITENAME }}{% endblock title %}</title>
|
||||||
|
|
||||||
|
<link rel="stylesheet" href="{{ SITEURL }}/theme/css/pure-min.css">
|
||||||
|
|
||||||
|
<!--[if lte IE 8]>
|
||||||
|
<link rel="stylesheet" href="css/grids-responsive-old-ie-min.css">
|
||||||
|
<![endif]-->
|
||||||
|
<!--[if gt IE 8]><!-->
|
||||||
|
<link rel="stylesheet" href="{{ SITEURL }}/theme/css/grids-responsive-min.css">
|
||||||
|
<!--<![endif]-->
|
||||||
|
|
||||||
|
<!--[if lte IE 8]>
|
||||||
|
<link rel="stylesheet" href="css/layouts/marketing-old-ie.css">
|
||||||
|
<![endif]-->
|
||||||
|
<!--[if gt IE 8]><!-->
|
||||||
|
<link rel="stylesheet" href="{{ SITEURL }}/theme/css/layouts/marketing.css">
|
||||||
|
<!--<![endif]-->
|
||||||
|
|
||||||
|
|
||||||
|
<link rel="stylesheet" href="{{ SITEURL }}/theme/css/responsive-style.css">
|
||||||
|
<link rel="stylesheet" href="{{ SITEURL }}/theme/css/style.css">
|
||||||
|
|
||||||
|
<link rel="icon" type="image/x-icon" href="{{ SITEURL }}/theme/images/luppp.svg" sizes="32x32">
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<div class="header">
|
||||||
|
<div class="home-menu pure-menu pure-menu-horizontal pure-menu-fixed">
|
||||||
|
<a class="pure-menu-heading" href="/">{{ SITENAME }}</a>
|
||||||
|
|
||||||
|
<ul class="pure-menu-list">
|
||||||
|
{% for title, link in LINKS %}
|
||||||
|
<li class="pure-menu-item"><a href="{{ link }}" class="pure-menu-link">{{ title }}</a></li>
|
||||||
|
{% endfor %}
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{% block content %}{% endblock %}
|
||||||
|
|
||||||
|
<div class="footer l-box is-center">
|
||||||
|
{{ FOOTER }}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
|
@ -1,138 +1,89 @@
|
||||||
<!doctype html>
|
{% extends "base.html" %}
|
||||||
<html lang="{% block html_lang %}{{ DEFAULT_LANG }}{% endblock html_lang %}">
|
|
||||||
|
|
||||||
<head>
|
{% block content %}
|
||||||
<meta charset="utf-8">
|
<div class="splash-container">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<div class="splash">
|
||||||
<meta name="description" content="{{ SITE_SUBHEADING }}">
|
<h1 class="splash-head">{{ SPLASH_HEADING }}</h1>
|
||||||
<title>{% block title %}{{ SITENAME }}{% endblock title %}</title>
|
<p class="splash-subhead">
|
||||||
|
{{ SPLASH_SUBHEADING }}
|
||||||
<link rel="stylesheet" href="{{ SITEURL }}/theme/css/pure-min.css">
|
</p>
|
||||||
|
<p>
|
||||||
<!--[if lte IE 8]>
|
<a href="#GetLuppp" class="pure-button pure-button-primary">
|
||||||
<link rel="stylesheet" href="css/grids-responsive-old-ie-min.css">
|
<span class="icon"></span>
|
||||||
<![endif]-->
|
<span class="button-text">{{ SPLASH_BUTTON_TEXT }}</span>
|
||||||
<!--[if gt IE 8]><!-->
|
</a>
|
||||||
<link rel="stylesheet" href="{{ SITEURL }}/theme/css/grids-responsive-min.css">
|
</p>
|
||||||
<!--<![endif]-->
|
|
||||||
|
|
||||||
<!--[if lte IE 8]>
|
|
||||||
<link rel="stylesheet" href="css/layouts/marketing-old-ie.css">
|
|
||||||
<![endif]-->
|
|
||||||
<!--[if gt IE 8]><!-->
|
|
||||||
<link rel="stylesheet" href="{{ SITEURL }}/theme/css/layouts/marketing.css">
|
|
||||||
<!--<![endif]-->
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="{{ SITEURL }}/theme/css/responsive-style.css">
|
|
||||||
<link rel="stylesheet" href="{{ SITEURL }}/theme/css/style.css">
|
|
||||||
|
|
||||||
<link rel="icon" type="image/x-icon" href="{{ SITEURL }}/theme/images/luppp.svg" sizes="32x32">
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<div class="home-menu pure-menu pure-menu-horizontal pure-menu-fixed">
|
|
||||||
<a class="pure-menu-heading" href="/">{{ SITENAME }}</a>
|
|
||||||
|
|
||||||
<ul class="pure-menu-list">
|
|
||||||
{% for title, link in LINKS %}
|
|
||||||
<li class="pure-menu-item"><a href="{{ link }}" class="pure-menu-link">{{ title }}</a></li>
|
|
||||||
{% endfor %}
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="splash-container">
|
<div class="content-wrapper">
|
||||||
<div class="splash">
|
<div class="content">
|
||||||
<h1 class="splash-head">{{ SPLASH_HEADING }}</h1>
|
<h2 class="content-head is-center">{{ FEATURES_HEADING}}</h2>
|
||||||
<p class="splash-subhead">
|
|
||||||
{{ SPLASH_SUBHEADING }}
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
<a href="#GetLuppp" class="pure-button pure-button-primary">
|
|
||||||
<span class="icon"></span>
|
|
||||||
<span class="button-text">{{ SPLASH_BUTTON_TEXT }}</span>
|
|
||||||
</a>
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="content-wrapper">
|
<div class="pure-g">
|
||||||
<div class="content">
|
<div class="l-box pure-u-1 pure-u-md-1-2 pure-u-lg-1-4">
|
||||||
<h2 class="content-head is-center">{{ FEATURES_HEADING}}</h2>
|
|
||||||
|
|
||||||
<div class="pure-g">
|
|
||||||
<div class="l-box pure-u-1 pure-u-md-1-2 pure-u-lg-1-4">
|
|
||||||
|
|
||||||
<h3 class="content-subhead">
|
|
||||||
{{ FEATURES_FIRST_HEADING }}
|
|
||||||
</h3>
|
|
||||||
<p>
|
|
||||||
{{ FEATURES_FIRST_CONTENT }}
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
<div class="l-box pure-u-1 pure-u-md-1-2 pure-u-lg-1-4">
|
|
||||||
<h3 class="content-subhead">
|
|
||||||
{{ FEATURES_SECOND_HEADING }}
|
|
||||||
</h3>
|
|
||||||
<p>
|
|
||||||
{{ FEATURES_SECOND_CONTENT }}
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
<div class="l-box pure-u-1 pure-u-md-1-2 pure-u-lg-1-4">
|
|
||||||
<h3 class="content-subhead">
|
|
||||||
{{ FEATURES_THIRD_HEADING }}
|
|
||||||
</h3>
|
|
||||||
<p>
|
|
||||||
{{ FEATURES_THIRD_CONTENT }}
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
<div class="l-box pure-u-1 pure-u-md-1-2 pure-u-lg-1-4">
|
|
||||||
<h3 class="content-subhead">
|
|
||||||
{{ FEATURES_FOURTH_HEADING }}
|
|
||||||
</h3>
|
|
||||||
<p>
|
|
||||||
{{ FEATURES_FOURTH_CONTENT }}
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="ribbon l-box-lrg pure-g">
|
|
||||||
<div class="l-box-lrg is-center pure-u-1 pure-u-md-1-2 pure-u-lg-2-5">
|
|
||||||
<img width="200" alt="File Icons" class="pure-img-responsive"
|
|
||||||
src="{{ SITEURL }}/theme/images/luppp.svg">
|
|
||||||
</div>
|
|
||||||
<div class="pure-u-1 pure-u-md-1-2 pure-u-lg-3-5">
|
|
||||||
|
|
||||||
<h2 class="content-head content-head-ribbon">{{ RIBBON_HEADING }}</h2>
|
|
||||||
|
|
||||||
|
<h3 class="content-subhead">
|
||||||
|
{{ FEATURES_FIRST_HEADING }}
|
||||||
|
</h3>
|
||||||
<p>
|
<p>
|
||||||
{{ RIBBON_CONTENT }}
|
{{ FEATURES_FIRST_CONTENT }}
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<div class="l-box pure-u-1 pure-u-md-1-2 pure-u-lg-1-4">
|
||||||
|
<h3 class="content-subhead">
|
||||||
|
{{ FEATURES_SECOND_HEADING }}
|
||||||
|
</h3>
|
||||||
|
<p>
|
||||||
|
{{ FEATURES_SECOND_CONTENT }}
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<div class="l-box pure-u-1 pure-u-md-1-2 pure-u-lg-1-4">
|
||||||
|
<h3 class="content-subhead">
|
||||||
|
{{ FEATURES_THIRD_HEADING }}
|
||||||
|
</h3>
|
||||||
|
<p>
|
||||||
|
{{ FEATURES_THIRD_CONTENT }}
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<div class="l-box pure-u-1 pure-u-md-1-2 pure-u-lg-1-4">
|
||||||
|
<h3 class="content-subhead">
|
||||||
|
{{ FEATURES_FOURTH_HEADING }}
|
||||||
|
</h3>
|
||||||
|
<p>
|
||||||
|
{{ FEATURES_FOURTH_CONTENT }}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="content">
|
<div class="ribbon l-box-lrg pure-g">
|
||||||
<h2 id="GetLuppp" class="content-head is-center">{{ page.title }}</h2>
|
<div class="l-box-lrg is-center pure-u-1 pure-u-md-1-2 pure-u-lg-2-5">
|
||||||
|
<img width="200" alt="File Icons" class="pure-img-responsive" src="{{ SITEURL }}/theme/images/luppp.svg">
|
||||||
<div class="pure-g">
|
|
||||||
<div class="l-box-lrg pure-u-md-1-5"></div>
|
|
||||||
<div class="l-box-lrg pure-u-1 pure-u-md-3-5">
|
|
||||||
{{ page.content }}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
<div class="pure-u-1 pure-u-md-1-2 pure-u-lg-3-5">
|
||||||
|
|
||||||
<div class="footer l-box is-center">
|
<h2 class="content-head content-head-ribbon">{{ RIBBON_HEADING }}</h2>
|
||||||
{{ FOOTER }}
|
|
||||||
|
<p>
|
||||||
|
{{ RIBBON_CONTENT }}
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="content">
|
||||||
|
<h2 id="GetLuppp" class="content-head is-center">{{ page.title }}</h2>
|
||||||
|
|
||||||
|
<div class="pure-g">
|
||||||
|
<div class="l-box-lrg pure-u-md-1-5"></div>
|
||||||
|
<div class="l-box-lrg pure-u-1 pure-u-md-3-5">
|
||||||
|
{{ page.content }}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
||||||
|
</div>
|
||||||
|
{% endblock %}
|
|
@ -1,67 +1,14 @@
|
||||||
<!doctype html>
|
{% extends "base.html" %}
|
||||||
<html lang="{% block html_lang %}{{ DEFAULT_LANG }}{% endblock html_lang %}">
|
{% block content %}
|
||||||
|
<div class="content">
|
||||||
|
<h2 id="GetLuppp" class="content-head is-center">{{ page.title }}</h2>
|
||||||
|
|
||||||
<head>
|
<div class="pure-g">
|
||||||
<meta charset="utf-8">
|
<div class="l-box-lrg pure-u-md-1-5"></div>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<div class="l-box-lrg pure-u-1 pure-u-md-3-5">
|
||||||
<meta name="description" content="{{ SITE_SUBHEADING }}">
|
{{ page.content }}
|
||||||
<title>{% block title %}{{ SITENAME }}{% endblock title %}</title>
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="{{ SITEURL }}/theme/css/pure-min.css">
|
|
||||||
|
|
||||||
<!--[if lte IE 8]>
|
|
||||||
<link rel="stylesheet" href="css/grids-responsive-old-ie-min.css">
|
|
||||||
<![endif]-->
|
|
||||||
<!--[if gt IE 8]><!-->
|
|
||||||
<link rel="stylesheet" href="{{ SITEURL }}/theme/css/grids-responsive-min.css">
|
|
||||||
<!--<![endif]-->
|
|
||||||
|
|
||||||
<!--[if lte IE 8]>
|
|
||||||
<link rel="stylesheet" href="css/layouts/marketing-old-ie.css">
|
|
||||||
<![endif]-->
|
|
||||||
<!--[if gt IE 8]><!-->
|
|
||||||
<link rel="stylesheet" href="{{ SITEURL }}/theme/css/layouts/marketing.css">
|
|
||||||
<!--<![endif]-->
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="{{ SITEURL }}/theme/css/responsive-style.css">
|
|
||||||
<link rel="stylesheet" href="{{ SITEURL }}/theme/css/style.css">
|
|
||||||
|
|
||||||
<link rel="icon" type="image/x-icon" href="{{ SITEURL }}/theme/images/luppp.svg" sizes="32x32">
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
|
|
||||||
<div class="header">
|
|
||||||
<div class="home-menu pure-menu pure-menu-horizontal pure-menu-fixed">
|
|
||||||
<a class="pure-menu-heading" href="/">{{ SITENAME }}</a>
|
|
||||||
|
|
||||||
<ul class="pure-menu-list">
|
|
||||||
{% for title, link in LINKS %}
|
|
||||||
<li class="pure-menu-item"><a href="{{ link }}" class="pure-menu-link">{{ title }}</a></li>
|
|
||||||
{% endfor %}
|
|
||||||
</ul>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="content">
|
</div>
|
||||||
<h2 id="GetLuppp" class="content-head is-center">{{ CONTENT_HEADING }}</h2>
|
{% endblock %}
|
||||||
|
|
||||||
<div class="pure-g">
|
|
||||||
<div class="l-box-lrg pure-u-md-1-5"></div>
|
|
||||||
<div class="l-box-lrg pure-u-1 pure-u-md-3-5">
|
|
||||||
{{ CONTENT }}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="footer l-box is-center">
|
|
||||||
{{ FOOTER }}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
Loading…
Reference in New Issue