Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-2270

Add Company/System buttons above Settings navigation column

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.0-b1
    • Fix Version/s: 4.0.0-b5
    • Component/s: Staff Interface
    • Labels:
      None

      Description

      With the new menu system, it's more difficult to switch from company settings to system settings and vice-versa. Add the following markup inside left_container:

      <div class="btn-group btn-group-justified" role="group" aria-label="..." style="
      display: table;
      width: 100%;
      table-layout: fixed;
      border-collapse: separate;
      margin-top: 5px;
      margin-bottom: 5px;
      position: relative;
      vertical-align: middle;
      ">
      <div class="btn-group" role="group" style="
      display: table-cell;
      float: none;
      width: 1%;
      position: relative;
      vertical-align: middle;
      ">
      <button type="button" class="btn btn-default" style="width: 100%;border-radius: 4px 0 0 4px;">Company</button>
      </div>
      <div class="btn-group" role="group" style="
      display: table-cell;
      float: none;
      width: 1%;
      position: relative;
      vertical-align: middle;
      ">
      <button type="button" class="btn btn-default" style="width: 100%;border-radius: 0 4px 4px 0;">System</button>
      </div>
      </div>

      *NOTE!* The markup above contains inline styles, which should be stripped from the markup. We need to include the button group styles from Bootstrap referenced in the above class names.

        Activity

        admin Paul Phillips created issue -
        admin Paul Phillips made changes -
        Field Original Value New Value
        Attachment capture-for-jira-screenshot-20160916-093652-151.png [ 11605 ]
        admin Paul Phillips made changes -
        Description With the new menu system, it's more difficult to switch from company settings to system settings and vice-versa. Add the following markup inside left_container:

        <div class="btn-group btn-group-justified" role="group" aria-label="..." style="
            display: table;
            width: 100%;
            table-layout: fixed;
            border-collapse: separate;
            margin-top: 5px;
            margin-bottom: 5px;
            position: relative;
            /* display: inline-block; */
            vertical-align: middle;
        ">
          <div class="btn-group" role="group" style="
            display: table-cell;
            float: none;
            width: 1%;
            position: relative;
            /* display: inline-block; */
            /* border-radius: 12px 12px 0 0; */
            vertical-align: middle;
        ">
            <button type="button" class="btn btn-default" style="width: 100%;border-radius: 4px 0 0 4px;">Company</button>
          </div>
          <div class="btn-group" role="group" style="
            display: table-cell;
            float: none;
            width: 1%;
            position: relative;
            /* display: inline-block; */
            vertical-align: middle;
        ">
            <button type="button" class="btn btn-default" style="width: 100%;border-radius: 0 4px 4px 0;">System</button>
          </div>
        </div>

        **NOTE!** The markup above contains inline styles, which should be stripped from the markup. We need to include the button group styles from Bootstrap referenced in the above class names.
        With the new menu system, it's more difficult to switch from company settings to system settings and vice-versa. Add the following markup inside left_container:

        <div class="btn-group btn-group-justified" role="group" aria-label="..." style="
            display: table;
            width: 100%;
            table-layout: fixed;
            border-collapse: separate;
            margin-top: 5px;
            margin-bottom: 5px;
            position: relative;
            vertical-align: middle;
        ">
          <div class="btn-group" role="group" style="
            display: table-cell;
            float: none;
            width: 1%;
            position: relative;
            vertical-align: middle;
        ">
            <button type="button" class="btn btn-default" style="width: 100%;border-radius: 4px 0 0 4px;">Company</button>
          </div>
          <div class="btn-group" role="group" style="
            display: table-cell;
            float: none;
            width: 1%;
            position: relative;
            vertical-align: middle;
        ">
            <button type="button" class="btn btn-default" style="width: 100%;border-radius: 0 4px 4px 0;">System</button>
          </div>
        </div>

        **NOTE!** The markup above contains inline styles, which should be stripped from the markup. We need to include the button group styles from Bootstrap referenced in the above class names.
        Hide
        admin Paul Phillips added a comment -

        Use btn-primary class so the buttons are gray like everywhere else.

        Show
        admin Paul Phillips added a comment - Use btn-primary class so the buttons are gray like everywhere else.
        tyson Tyson Phillips (Inactive) made changes -
        Rank Ranked higher
        admin Paul Phillips made changes -
        Fix Version/s 4.0.0-b3 [ 11002 ]
        Fix Version/s 4.0.0-b2 [ 11001 ]
        admin Paul Phillips made changes -
        Fix Version/s 4.0.0-b4 [ 11003 ]
        Fix Version/s 4.0.0-b3 [ 11002 ]
        admin Paul Phillips made changes -
        Assignee Jonathan Reissmueller [ jonathan ]
        admin Paul Phillips made changes -
        Fix Version/s 4.0.0-b5 [ 11004 ]
        Fix Version/s 4.0.0-b4 [ 11003 ]
        Automated transition triggered when Jonathan Reissmueller created a branch in Stash -
        Status Open [ 1 ] In Progress [ 3 ]
        Automated transition triggered when Jonathan Reissmueller created pull request #213 in Stash -
        Status In Progress [ 3 ] In Review [ 5 ]
        Resolution Fixed [ 1 ]
        tyson Tyson Phillips (Inactive) made changes -
        Sprint 4.0.0 Sprint 17 [ 35 ]
        tyson Tyson Phillips (Inactive) made changes -
        Rank Ranked higher
        Automated transition triggered when Tyson Phillips (Inactive) merged pull request #213 in Stash -
        Status In Review [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            jonathan Jonathan Reissmueller
            Reporter:
            admin Paul Phillips
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              10/Feb/17

              Agile