Skip to content

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also .
...
  • 3 commits
  • 7 files changed
  • 0 commit comments
  • 1 contributor
View
4 app/controllers/Footer.java
@@ -23,6 +23,10 @@ public static void faq() {
renderInner();
}
+ public static void press() {
+ renderInner();
+ }
+
private static void renderInner() {
User user = Login.getUser();
if (user == null) {
View
61 app/views/Footer/press.html
@@ -0,0 +1,61 @@
+#{extends 'main.html' /}
+<style>
+ body {
+ background-image: url('#{static-path '/public/img/bg2.png'/}');
+ }
+</style>
+<div class="content-body markdown-body markdown-format">
+
+
+ <div class="row">
+ <div class"span12">
+ <div class="hero-unit press">
+ <p class="logo">
+ <img alt="SortMyBox logo"
+ src="#{static-path '/public/img/logo128-2.png'/}">
+ </p>
+ <div align="center">
+ <h1>Press!</h1>
+ </div>
+ </div>
+ </div>
+
+ <ul>
+ <li class="odd">
+ <div>
+ <p>
+ <a href="http://lifehacker.com/5908324/sortbox-automatically-organizes-files-is-like-email-filters-for-dropbox">
+ <img src="#{static-path '/public/img/lifehacker.png'/}"/>
+ <p class="press-heading">Sortbox Automatically Organizes Files, Is Like Email Filters for Dropbox</p>
+ </a>
+ </p>
+ <p class="press-quote">&#8220;A solid option for automating Dropbox folder organization&#8221;</p>
+ </div>
+ </li>
+
+ <li class="even">
+ <div>
+ <p>
+ <a href="http://www.smashingmagazine.com/smashing-newsletter-issue-59/">
+ <img src="#{static-path '/public/img/smashingMagazine.png'/}"/>
+ <p class="press-heading"> Organize Your Dropbox With Filters </p>
+ </a>
+ </p>
+ <p class="press-quote">&#8220;A very handy tool to keep your Dropbox organized.&#8221;</p>
+ </div>
+ </li>
+
+ <li class="odd">
+ <div>
+ <p><a href="http://agbeat.com/cities/san-francisco-cities/sortbox-streamlines-your-dropbox-chaos/">
+ <img src="#{static-path '/public/img/ag-beat.png'/}"/>
+ <p class="press-heading">SortMyBox streamlines your Dropbox chaos</p>
+ </a>
+ </p>
+
+ <p class="press-quote">&#8220;@sortmybox streamlines your Dropbox chaos.&#8221;</p>
+ </div>
+ </li>
+ </ul>
+
+</div>
View
2 app/views/Footer/team.html
@@ -2,7 +2,7 @@
<div class="content-body markdown-body markdown-format">
<div class="page-header" align="center">
- <h1>Meet the Sortbox team</h1>
+ <h1>Meet the SortMyBox team</h1>
</div>
<div class="row" align="center">
<div class="span4">
View
2 app/views/Login/login.html
@@ -29,7 +29,7 @@
<div class="row">
<div class="span12">
- <div class="hero-unit">
+ <div class="hero-unit landing">
<p class="logo">
<img alt="SortMyBox logo"
src="#{static-path '/public/img/logo128-2.png'/}">
View
3 app/views/main.html
@@ -65,7 +65,8 @@
<a href="@{Footer.terms()}">Terms</a> &middot;
<a href="@{Footer.privacy()}">Privacy</a> &middot;
<a href="mailto: ${play.configuration.getProperty("sortbox.email")}">Contact</a> &middot;
- <a href="https://github.com/mustpax/sortmybox">GitHub</a>
+ <a href="https://github.com/mustpax/sortmybox">GitHub</a> &middot;
+ <a href="@{Footer.press()}">Press</a>
</p>
</div>
</div>
View
1 conf/routes
@@ -19,6 +19,7 @@ GET /terms Footer.terms
GET /privacy Footer.privacy
GET /contact Footer.contact
GET /faq Footer.faq
+GET /press Footer.press
# Admin
GET /admin/error Admin.forceError
View
31 public/css/styles.css
@@ -73,18 +73,23 @@ select[size] {
font-size: 110%;
}
-.hero-unit {
+.landing {
margin-top: 90px;
text-align: center;
background-color: #CAE0FD;
padding-bottom: 25px;
}
-
-.hero-unit h1 {
+.press {
+ margin-top: 90px;
+ text-align: center;
+ padding-bottom: 25px;
+ background-color: initial;
+}
+.landing h1 {
line-height: 36px;
}
-.hero-unit h1 small {
+.landing h1 small {
letter-spacing: normal;
color: #333;
font-weight: 200;
@@ -130,6 +135,16 @@ select[size] {
width: 940px;
}
+li:nth-child(odd) {
+ text-align: left;
+ list-style-type: none;
+}
+
+li:nth-child(even) {
+ text-align: right;
+ list-style-type: none;
+}
+
.periodicSort form {
display: inline;
}
@@ -216,6 +231,14 @@ code {
margin-right: 5px;
}
+.press-heading {
+ font-size: 140%;
+}
+
+.press-quote {
+ font-size: 120%;
+}
+
/*
* jQuery Mobile Framework
* Copyright (c) jQuery Project

No commit comments for this range

Something went wrong with that request. Please try again.