From d28f37f18e2a8c04d8ef1bed82ec28bb7e7d0225 Mon Sep 17 00:00:00 2001 From: Lisa Passing Date: Mon, 23 Mar 2015 16:08:19 +0100 Subject: [PATCH] markup changes --- app/styles/app/layout.sass | 1 + app/templates/layouts/profile.hbs | 16 +++--- app/templates/profile/accounts.hbs | 48 ++++++++---------- app/templates/profile/show.hbs | 79 +++++++++++++++++++++++------- 4 files changed, 90 insertions(+), 54 deletions(-) diff --git a/app/styles/app/layout.sass b/app/styles/app/layout.sass index e810b41e..dbe3e267 100644 --- a/app/styles/app/layout.sass +++ b/app/styles/app/layout.sass @@ -3,6 +3,7 @@ .row max-width: 1024px .main + margin: auto max-width: 1024px .main, diff --git a/app/templates/layouts/profile.hbs b/app/templates/layouts/profile.hbs index 8a687763..e93c3cd4 100644 --- a/app/templates/layouts/profile.hbs +++ b/app/templates/layouts/profile.hbs @@ -1,15 +1,13 @@
-
-
- {{render "top"}} -
+
+ {{render "top"}} +
- {{render "flash"}} + {{render "flash"}} -
- {{yield}} +
+ {{yield}} - {{outlet "left"}} -
+ {{outlet "left"}}
diff --git a/app/templates/profile/accounts.hbs b/app/templates/profile/accounts.hbs index 0187a0a4..371b1084 100644 --- a/app/templates/profile/accounts.hbs +++ b/app/templates/profile/accounts.hbs @@ -1,4 +1,4 @@ -
- - - - - -{{!-- - - - - -
- {{#collection "accounts-list" contentBinding="controller"}} - {{#link-to "account" view.account class="name"}}{{view.name}}{{/link-to}} -

- Repositories: - {{view.account.reposCount}} -

-
- {{/collection}} -
- --}} \ No newline at end of file + diff --git a/app/templates/profile/show.hbs b/app/templates/profile/show.hbs index b243e92f..eeedd690 100644 --- a/app/templates/profile/show.hbs +++ b/app/templates/profile/show.hbs @@ -1,25 +1,70 @@ -

{{view.name}}

+
+
+

{{view.name}}

+ {{sync-button user=auth.currentUser}} +

We're only showing you public repositories. You can find your private projects on travis-ci.com.

+
+
+ +
    +
  1. +
    + +
    Flick the repository switch on
    +
    +
  2. +
  3. +
    + +
    Add .travis.yml file to your repository
    +
    +
  4. +
  5. +
    + +
    Trigger your first build with a git push
    +
    +
  6. +
+
+
+ +
-{{#if config.billingEndpoint}} - {{#if view.subscribed}} - - Subscription active! - - {{else}} - {{#if view.education}} + {{!--

{{view.name}}

+ + {{#if config.billingEndpoint}} + {{#if view.subscribed}} - Educational account! + Subscription active! {{else}} - - Sign up this account! - + {{#if view.education}} + + Educational account! + + {{else}} + + Sign up this account! + + {{/if}} {{/if}} {{/if}} -{{/if}} -{{view 'profile-tabs'}} + {{view 'profile-tabs'}} -
- {{outlet}} -
+
+ {{outlet}} +
--}} +