From 2d80ae665349d4f99743bc70618dd9b0960fbc00 Mon Sep 17 00:00:00 2001 From: Felix Niklas Date: Wed, 2 Jul 2014 17:33:08 +0200 Subject: [PATCH 01/11] Revert "add .progress-tabs for progress-tabs" This reverts commit 1f578fbef0abd864b70aa739f487de420015f4d4. --- app/assets/javascripts/app/views/getting_started.jst.eco | 2 +- app/assets/stylesheets/zzz.css | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/app/assets/javascripts/app/views/getting_started.jst.eco b/app/assets/javascripts/app/views/getting_started.jst.eco index de5e87765..2cf98639e 100644 --- a/app/assets/javascripts/app/views/getting_started.jst.eco +++ b/app/assets/javascripts/app/views/getting_started.jst.eco @@ -1,6 +1,6 @@

<%- @T( 'Getting started!' ) %>

-
    +
    1. <%- @T( 'Create Admin' ) %>
    2. <%- @T( 'Invite Agents' ) %>
    3. <%- @T( 'Configure Channels' ) %>
    4. diff --git a/app/assets/stylesheets/zzz.css b/app/assets/stylesheets/zzz.css index 8a72e043d..99385fe1f 100644 --- a/app/assets/stylesheets/zzz.css +++ b/app/assets/stylesheets/zzz.css @@ -598,10 +598,6 @@ ol.tabs li { padding-right: 5px; } - .progress-tabs .tab { - cursor: default; - } - .tab { padding: 10px; text-align: center; @@ -614,7 +610,6 @@ ol.tabs li { color: white; background: #444a4f; } - .tab:first-child { border-radius: 3px 0 0 3px; } @@ -624,7 +619,6 @@ ol.tabs li { border-right: none; } - .contain-text { white-space: nowrap; overflow: hidden; From e034c4786e496bdd03969b7b02a3e43913e042cf Mon Sep 17 00:00:00 2001 From: Felix Niklas Date: Wed, 2 Jul 2014 17:33:14 +0200 Subject: [PATCH 02/11] Revert "getting started + login CSS WIP" This reverts commit 98d8d87232f5d829c79dd06d33d59a09a7025bc9. --- .../app/controllers/getting_started.js.coffee | 2 +- .../app/controllers/login.js.coffee | 2 - .../app/views/getting_started.jst.eco | 50 +++-- .../javascripts/app/views/login.jst.eco | 88 ++++----- .../javascripts/app/views/navigation.jst.eco | 2 +- app/assets/stylesheets/application.css | 1 - app/assets/stylesheets/layout.css | 161 ---------------- app/assets/stylesheets/zzz.css | 174 +++++++----------- app/views/init/index.html.erb | 4 +- app/views/layouts/application.html.erb | 2 +- 10 files changed, 151 insertions(+), 335 deletions(-) delete mode 100755 app/assets/stylesheets/layout.css diff --git a/app/assets/javascripts/app/controllers/getting_started.js.coffee b/app/assets/javascripts/app/controllers/getting_started.js.coffee index 66a406226..e0d61a29e 100644 --- a/app/assets/javascripts/app/controllers/getting_started.js.coffee +++ b/app/assets/javascripts/app/controllers/getting_started.js.coffee @@ -1,5 +1,5 @@ class Index extends App.ControllerContent - className: 'getstarted fit vertical center justified' + className: 'container getstarted' events: 'submit form': 'submit', diff --git a/app/assets/javascripts/app/controllers/login.js.coffee b/app/assets/javascripts/app/controllers/login.js.coffee index dcc87a325..b0631736c 100644 --- a/app/assets/javascripts/app/controllers/login.js.coffee +++ b/app/assets/javascripts/app/controllers/login.js.coffee @@ -1,6 +1,4 @@ class Index extends App.ControllerContent - className: 'login fit vertical center justified' - events: 'submit #login': 'login' diff --git a/app/assets/javascripts/app/views/getting_started.jst.eco b/app/assets/javascripts/app/views/getting_started.jst.eco index 2cf98639e..1d5f946e2 100644 --- a/app/assets/javascripts/app/views/getting_started.jst.eco +++ b/app/assets/javascripts/app/views/getting_started.jst.eco @@ -1,22 +1,36 @@

      <%- @T( 'Getting started!' ) %>

      -
        -
      1. <%- @T( 'Create Admin' ) %>
      2. -
      3. <%- @T( 'Invite Agents' ) %>
      4. -
      5. <%- @T( 'Configure Channels' ) %>
      6. -
      - <% if @master_user: %> -
      -

      <%- @T( 'Create Admin' ) %>

      -
      - -
      -
      - <% end %> -
      -

      <%- @T( 'Invite Agents' ) %>

      -
      - -
      +
      +
      +
      +
        +
      1. <%- @T( 'Create Admin' ) %>
      2. +
      3. <%- @T( 'Invite Agents' ) %>
      4. +
      5. <%- @T( 'Configure Channels' ) %>
      6. +
      +
      +
      +
      + <% if @master_user: %> +
      +

      <%- @T( 'Create Admin' ) %>

      +
      + +
      +
      + <% end %> +
      +

      <%- @T( 'Invite Agents' ) %>

      +
      + +
      +
      +
      +

      <%- @T( 'Tour' ) %>

      +

      + <%- @T( 'Learn all about ...' ) %> +

      +
      +
      \ No newline at end of file diff --git a/app/assets/javascripts/app/views/login.jst.eco b/app/assets/javascripts/app/views/login.jst.eco index ed27f8011..a6a360071 100644 --- a/app/assets/javascripts/app/views/login.jst.eco +++ b/app/assets/javascripts/app/views/login.jst.eco @@ -1,46 +1,50 @@ -

      Login with zeughaus.znuny.com:

      +
      -
      -
      - - +
      +

      <%- @T( 'Welcome stranger!' ) %>

      - - - - - -
      - <% if @C('user_lost_password'): %> - · - <%- @T( 'Forgot password?' ) %> - <% end %> +
      +

      <%- @T( 'Sign in with' ) %>

      + + + + +
      + + <% if @C('user_lost_password'): %> + · + <%- @T( 'Forgot password?' ) %> + <% end %> +
      +
      - + + <% if !_.isEmpty( @auth_providers ): %> +
      +

      --- <%- @T( 'or' ) %> ---

      +
      + +
      +

      <%- @T( 'Sign in using' ) %>

      + +
      + <% end %> + + <% if @C('user_create_account'): %> +
      +

      --- <%- @T( 'or' ) %> ---

      +
      + +
      +

      <%- @T( 'New to %s join today!', @C( 'product_name' ) ) %>

      +

      <%- @T( 'Sign up' ) %> +

      + <% end %> + +
      +
      - -<% if !_.isEmpty( @auth_providers ): %> -
      -

      --- <%- @T( 'or' ) %> ---

      -
      - -
      -

      <%- @T( 'Sign in using' ) %>

      - -
      -<% end %> - -<% if @C('user_create_account'): %> -
      -

      --- <%- @T( 'or' ) %> ---

      -
      - -
      -

      <%- @T( 'New to %s join today!', @C( 'product_name' ) ) %>

      -

      <%- @T( 'Sign up' ) %> -

      -<% end %> diff --git a/app/assets/javascripts/app/views/navigation.jst.eco b/app/assets/javascripts/app/views/navigation.jst.eco index 3336d01f0..15a100bce 100644 --- a/app/assets/javascripts/app/views/navigation.jst.eco +++ b/app/assets/javascripts/app/views/navigation.jst.eco @@ -1,4 +1,4 @@ -