From e66ac8425ef89e133932569584fa9282911e8454 Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Fri, 18 Apr 2014 17:18:35 -0400 Subject: [PATCH] Make the new landing page handle the signed in user better --- static/css/quay.css | 42 +++++++++++-- static/partials/landing.html | 113 ++++++++++++++++++----------------- 2 files changed, 97 insertions(+), 58 deletions(-) diff --git a/static/css/quay.css b/static/css/quay.css index eb8ad197f..16e5a1894 100644 --- a/static/css/quay.css +++ b/static/css/quay.css @@ -1176,22 +1176,56 @@ i.toggle-icon:hover { display: none; } +.landing { + position: relative; +} + .landing .popover { font-size: 14px; } -.landing { - color: white; +.landing-content { + +} + +.landing-background { + z-index: 0; + + position: absolute; + top: 0px; + bottom: 0px; + left: 0px; + right: 0px; background-color: #1d1d1d; background-position: left -300px; background-image: url(../img/landing-back.jpg); background-repeat: no-repeat; +} + +.landing-filter { + z-index: 0; + + position: absolute; + top: 0px; + bottom: 0px; + left: 0px; + right: 0px; +} + +.landing-filter.signedin { + background: rgba(0, 0, 0, 0.4); +} + +.landing-content { + z-index: 2; +} + +.landing { + color: white; margin-bottom: 0px; - padding-top: 120px; - min-height: 440px; } diff --git a/static/partials/landing.html b/static/partials/landing.html index 261b7cb69..da55c0a0d 100644 --- a/static/partials/landing.html +++ b/static/partials/landing.html @@ -1,71 +1,76 @@
- - Quay.io +
+
+
+ + Quay.io - + -
-
-
-
-

Secure hosting for private Docker* repositories

-

Use the Docker images your team needs with the safety of private repositories

- -
+
+
+
+
+

Secure hosting for private Docker* repositories

+

Use the Docker images your team needs with the safety of private repositories

+ +
-
- +
+ -
- -
-

Top Repositories

-
- - {{repository.namespace}}/{{repository.name}} -
+ - -
-
- You don't have access to any repositories in this organization yet. - You don't have any repositories yet! -
- Browse all repositories - Create a new repository + +
+
+ You don't have access to any repositories in this organization yet. + You don't have any repositories yet! +
-
-
+
-
-
- -
-
- -
Welcome {{ user.username }}!
- Browse all repositories - Create a new repository -
-
-
-
+
+
+ +
+
+ +
Welcome {{ user.username }}!
+ Browse all repositories + Create a new repository +
+
+
+
+
-
+

Simple and straightforward benefits