mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
some welcome page styling
This commit is contained in:
@@ -4,23 +4,23 @@
|
||||
<wicket:extend>
|
||||
<div class="container welcome">
|
||||
<div class="row header">
|
||||
<div class="text-center">
|
||||
<h1>
|
||||
<a wicket:id="logo-link">
|
||||
<img src="images/logo_censored.png"></img>
|
||||
</a>
|
||||
</h1>
|
||||
<div class="pull-right tagline">
|
||||
Bloat-free feed reader
|
||||
</div>
|
||||
<h4 class="text-center">
|
||||
CommaFeed is a bloat-free feed reader. It aims to replace Google Reader while keeping things simple.
|
||||
<br />
|
||||
<a wicket:id="demo-login">
|
||||
<img src="images/preview.png" class="preview" />
|
||||
<br />
|
||||
Try out the demo.
|
||||
<div>
|
||||
<a wicket:id="logo-link">
|
||||
<img src="images/logo_2.png"></img>
|
||||
</a>
|
||||
|
||||
</h4>
|
||||
</div>
|
||||
<div class="text-center">
|
||||
<a wicket:id="demo-login">
|
||||
<img src="images/preview.jpg" class="preview" />
|
||||
<br />
|
||||
<span class="demo">
|
||||
Try out the demo
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="span6">
|
||||
|
||||
@@ -11,11 +11,20 @@ import org.apache.wicket.markup.head.JavaScriptHeaderItem;
|
||||
import org.apache.wicket.protocol.http.servlet.ServletWebRequest;
|
||||
import org.apache.wicket.request.cycle.RequestCycle;
|
||||
import org.apache.wicket.request.http.WebResponse;
|
||||
import org.apache.wicket.request.resource.JavaScriptResourceReference;
|
||||
import org.apache.wicket.util.io.IOUtils;
|
||||
import org.apache.wicket.util.template.PackageTextTemplate;
|
||||
|
||||
public class WicketUtils {
|
||||
|
||||
public static void loadJS(IHeaderResponse response, Class<?> klass,
|
||||
String fileName) {
|
||||
HeaderItem result = JavaScriptHeaderItem
|
||||
.forReference(new JavaScriptResourceReference(klass, fileName
|
||||
+ ".js"));
|
||||
response.render(result);
|
||||
}
|
||||
|
||||
public static void loadJS(IHeaderResponse response, Class<?> klass,
|
||||
String fileName, Map<String, ? extends Object> variables) {
|
||||
HeaderItem result = null;
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 21 KiB |
BIN
src/main/webapp/images/logo_2.png
Normal file
BIN
src/main/webapp/images/logo_2.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 15 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 21 KiB |
BIN
src/main/webapp/images/preview.jpg
Normal file
BIN
src/main/webapp/images/preview.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 305 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 126 KiB |
@@ -15,8 +15,19 @@
|
||||
margin: 20px 0 40px 0;
|
||||
}
|
||||
|
||||
.welcome .tagline {
|
||||
color: #B3B3B3;
|
||||
font-size: 28px;
|
||||
padding-top: 110px;
|
||||
}
|
||||
|
||||
.welcome .preview {
|
||||
margin: 40px 0 20px 0;
|
||||
margin: 20px 0 20px 0;
|
||||
}
|
||||
|
||||
.welcome .demo {
|
||||
font-size: 24px;
|
||||
color: #B3B3B3;
|
||||
}
|
||||
|
||||
.main .spinner {
|
||||
|
||||
Reference in New Issue
Block a user