aboutsummaryrefslogtreecommitdiff
path: root/website/templates
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2017-05-29 22:34:56 +0200
committerReinier Zwitserloot <reinier@zwitserloot.com>2017-05-29 22:34:56 +0200
commita5d5ac8c13179368528702f88072458f701b4063 (patch)
tree8e96884f00b8d76468fdeba36dee5a9e9c39d31f /website/templates
parent4053b325fa03cadd3c64996742d81bdb6b44d6aa (diff)
downloadlombok-a5d5ac8c13179368528702f88072458f701b4063.tar.gz
lombok-a5d5ac8c13179368528702f88072458f701b4063.tar.bz2
lombok-a5d5ac8c13179368528702f88072458f701b4063.zip
made the site look a lot better on ‘small’ responsive mode (phones and such).
Diffstat (limited to 'website/templates')
-rw-r--r--website/templates/_scaffold.html22
-rw-r--r--website/templates/all-versions.html2
-rw-r--r--website/templates/main.html4
3 files changed, 11 insertions, 17 deletions
diff --git a/website/templates/_scaffold.html b/website/templates/_scaffold.html
index f20a839d..8d639b69 100644
--- a/website/templates/_scaffold.html
+++ b/website/templates/_scaffold.html
@@ -13,14 +13,6 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="google-site-verification" content="uCgX3Or3kDRGpbJ6JCsQc3Ub4JsnR5-p0itfsKAYZ_U" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
- <script>
- (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
-(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
-m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
-})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
-ga('create', 'UA-9884254-1', 'auto');
-ga('send', 'pageview');
- </script>
<link href="/favicon.ico" rel="icon" type="image/x-icon" />
<title>Project Lombok</title>
@@ -49,12 +41,14 @@ ga('send', 'pageview');
</#if>
</#list>
</head><body>
- <a href="https://github.com/rzwitserloot/lombok" class="fork-me">
- <img
- alt="Fork me on GitHub"
- src="//s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" />
- </a>
-
+ <script>
+ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
+ga('create', 'UA-9884254-1', 'auto');
+ga('send', 'pageview');
+ </script>
<div class="navbar navbar-default navbar-fixed-top">
<div class="container">
<div class="navbar-header">
diff --git a/website/templates/all-versions.html b/website/templates/all-versions.html
index 97592160..e4319665 100644
--- a/website/templates/all-versions.html
+++ b/website/templates/all-versions.html
@@ -6,7 +6,7 @@
<h1 class="text-center">
<div class="row">
<icon class="fa fa-download"></icon>
- <a class="currentVersion">
+ <a class="currentVersion" href="downloads/lombok.jar">
${version} [Current Version]
</a>
</div>
diff --git a/website/templates/main.html b/website/templates/main.html
index 18f7230b..b836a3c9 100644
--- a/website/templates/main.html
+++ b/website/templates/main.html
@@ -5,12 +5,12 @@
<h1>Lombok Demo</h1>
</div>
<div class="video text-center">
- <video width="800" height="480" poster="img/poster.png" controls="controls" preload="none">
+ <video width="800" height="480" poster="/img/poster.png" controls="controls" preload="none">
<source src="/videos/lombok.ogv" type="video/ogg" />
<source src="/videos/lombok.mp4" type="video/mp4" />
<source src="/videos/lombok-iPhone.m4v" type="video/mp4" />
<object id="player" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="800" height="500">
- <param name="movie" value="/videos/player.swf?image=poster.png&amp;file=lombok.mp4" />
+ <param name="movie" value="/videos/player.swf?image=/img/poster.png&amp;file=/videos/lombok.mp4" />
<param name="allowfullscreen" value="true" />
<!--[if !IE]>-->
<object width="800" height="500" type="application/x-shockwave-flash"