From 6189208fa5305b5759d45d1d9a8b1a5179d0b6d8 Mon Sep 17 00:00:00 2001 From: Trent White Date: Thu, 11 Feb 2016 14:18:55 -0500 Subject: [PATCH] org and user form tweaks --- .../features/datasources/partials/edit.html | 6 +- .../datasources/partials/http_settings.html | 2 +- .../features/datasources/partials/list.html | 2 +- public/app/features/org/partials/invite.html | 2 +- .../app/features/org/partials/orgDetails.html | 64 ++++++++++--------- .../app/features/org/partials/orgUsers.html | 14 ++-- .../features/profile/partials/password.html | 40 ++++++------ .../features/profile/partials/profile.html | 53 ++++++++------- public/less/bootswatch.dark.less | 2 + public/less/gfbox.less | 1 + public/less/overrides.less | 2 +- public/less/tabs.less | 4 +- public/vendor/bootstrap/less/buttons.less | 2 +- 13 files changed, 107 insertions(+), 87 deletions(-) diff --git a/public/app/features/datasources/partials/edit.html b/public/app/features/datasources/partials/edit.html index f442d3e7f35..6113ebed18b 100644 --- a/public/app/features/datasources/partials/edit.html +++ b/public/app/features/datasources/partials/edit.html @@ -14,8 +14,8 @@
-

Add data source

-

Edit data source

+

Add data source

+

Edit data source

This text will only appear on Add Data Source

@@ -69,7 +69,7 @@ - Cancel + Cancel

diff --git a/public/app/features/datasources/partials/http_settings.html b/public/app/features/datasources/partials/http_settings.html index 9d78b3273a4..24c4ceb51f5 100644 --- a/public/app/features/datasources/partials/http_settings.html +++ b/public/app/features/datasources/partials/http_settings.html @@ -1,5 +1,5 @@
-

Http settings

+

Http settings

    diff --git a/public/app/features/datasources/partials/list.html b/public/app/features/datasources/partials/list.html index 34e05954c5e..fe1c7176b99 100644 --- a/public/app/features/datasources/partials/list.html +++ b/public/app/features/datasources/partials/list.html @@ -11,7 +11,7 @@
    diff --git a/public/app/features/org/partials/orgDetails.html b/public/app/features/org/partials/orgDetails.html index 9175ff35b91..d6e40952915 100644 --- a/public/app/features/org/partials/orgDetails.html +++ b/public/app/features/org/partials/orgDetails.html @@ -1,7 +1,11 @@ - - + +
    @@ -10,86 +14,86 @@

    Organization

    -

    Preferences

    +

    Preferences

    -
    -
      -
    • +
      +
        +
      • Name
      • - +

      - +
    • -

      Address

      +

      Address

      -
      -
        -
      • +
        +
          +
        • Address 1
        • - +
        • -
        • +
        • Address 2
        • - +
        -
        -
          -
        • +
          +
            +
          • City
          • - +
          • -
          • +
          • Postal code
          • - +
          -
          -
            -
          • +
            +
              +
            • State
            • - +
            • -
            • +
            • Country
            • - +

            - +
          diff --git a/public/app/features/org/partials/orgUsers.html b/public/app/features/org/partials/orgUsers.html index c029dff2955..8e391d3a467 100644 --- a/public/app/features/org/partials/orgUsers.html +++ b/public/app/features/org/partials/orgUsers.html @@ -1,13 +1,17 @@ - - + +
          - diff --git a/public/app/features/profile/partials/password.html b/public/app/features/profile/partials/password.html index df940dd14a5..17647503f58 100644 --- a/public/app/features/profile/partials/password.html +++ b/public/app/features/profile/partials/password.html @@ -1,7 +1,11 @@ - - + +
          @@ -11,35 +15,35 @@
          -
          -
            -
          • +
            +
              +
            • Old Password
            • - +
            -
            -
              -
            • +
              +
                +
              • New Password
              • - +
              -
              -
                -
              • +
                +
                  +
                • Confirm New
                • - +
                @@ -47,10 +51,10 @@

                -
                +
                  - Cancel + Cancel
                diff --git a/public/app/features/profile/partials/profile.html b/public/app/features/profile/partials/profile.html index 4e8c15044c2..a684e1f36b8 100644 --- a/public/app/features/profile/partials/profile.html +++ b/public/app/features/profile/partials/profile.html @@ -1,4 +1,11 @@ - + +
                @@ -7,68 +14,66 @@

                Profile

                -

                Preferences

                +

                Preferences

                -
                -
                  -
                • +
                  +
                    +
                  • Name
                  • - +
                  -
                  -
                    -
                  • +
                    +
                      +
                    • Email
                    • - +
                    -
                    -
                      -
                    • +
                      +
                        +
                      • Username
                      • - +
                      -
                      -
                        -
                      • +
                        +
                          +
                        • UI Theme
                        • - +

                        - +
                      • - Change Password -

                        - Password -

                        +

                        Password

                        + Change Password
                        -

                        Organizations

                        +

                        Organizations

                        diff --git a/public/less/bootswatch.dark.less b/public/less/bootswatch.dark.less index f884a5ef06f..95ffaaa3824 100644 --- a/public/less/bootswatch.dark.less +++ b/public/less/bootswatch.dark.less @@ -383,6 +383,8 @@ div.subnav { .btn-mini { padding: 2px 6px; + margin-right: 0; + margin-right: 0; } .btn-group { diff --git a/public/less/gfbox.less b/public/less/gfbox.less index 16660f18a54..4cdace27acf 100644 --- a/public/less/gfbox.less +++ b/public/less/gfbox.less @@ -72,6 +72,7 @@ background-color: @pageBackground; position: relative; padding: 25px 56px; + padding: 25px 56px; min-height: 900px; max-width: 1060px; margin-left: 0; diff --git a/public/less/overrides.less b/public/less/overrides.less index eda136fc04d..2b574f829e3 100644 --- a/public/less/overrides.less +++ b/public/less/overrides.less @@ -23,7 +23,7 @@ // Backgrounds // --------------------- .main-view { - background: url(/img/grafana_pattern.png); + // background: url(/img/grafana_pattern.png); background-position: 100% -550px; background-repeat: no-repeat; } diff --git a/public/less/tabs.less b/public/less/tabs.less index 13ad593ef80..8301eef15bb 100644 --- a/public/less/tabs.less +++ b/public/less/tabs.less @@ -2,7 +2,7 @@ .nav-tabs-alt { border-bottom: @grafanaTriggerBorder; padding-left: 10px; - margin: 0; + margin: 0 0 10px 0; & > li > a { color: darken(@linkColor, 20%); @@ -16,7 +16,7 @@ li.active > a:focus, li.active > a:hover { .border-radius(3px); - border: @grafanaTriggerBorder; + border: @grafanaTriggerBorder; background-color: transparent; border-bottom: 1px solid @grafanaPanelBackground; color: @linkColor; diff --git a/public/vendor/bootstrap/less/buttons.less b/public/vendor/bootstrap/less/buttons.less index 94922100e0c..f59bf696f89 100644 --- a/public/vendor/bootstrap/less/buttons.less +++ b/public/vendor/bootstrap/less/buttons.less @@ -227,7 +227,7 @@ input[type="submit"].btn { text-decoration: none; } -.btnText { +.btn-text { color: @btnText; margin: 0 10px; } \ No newline at end of file