<div class="c-app-wrapper">
    <!-- Sidebar starts -->
    <aside class="c-sidebar o-grid__span-col--2">
        <div class="c-sidebar__wrapper">
            <header class="c-sidebar__header">
                <a href="/" class="c-sidebar__logo" title="Home Page">
                    <!-- Logo starts -->
                    <svg class="c-logo" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 174.13 181.89">
  <defs><style>.cls-1{fill:none;stroke-miterlimit:10;stroke-width:0.5px}.cls-1{stroke:#e6e7e8}.cls-3{fill:#f1f2f2}.cls-4{fill:#e6e7e8}.cls-5{fill:#d1d3d4}.cls-6{fill:#bcbec0}.cls-11{fill:#fff}</style></defs>
  <g id="Layer_2" data-name="Layer 2">
    <g id="Layer_6" data-name="Layer 6">
      <path d="M0.62 0.62L81.16 0.62" class="cls-1"/>
      <path fill="none" stroke="#a7a9ac" stroke-miterlimit="10" stroke-width="0.5px" d="M80.36 0.62L160.09 80.15"/>
      <path d="M0.18 0.18L80.36 80.15" class="cls-1"/>
      <path d="M80.36 80.15L80.36 100.03" class="cls-1"/>
      <path d="M40.49 40.38L0.62 0.62 40.49 0.62 40.49 40.38z" class="cls-3"/>
      <path d="M40.49 0.62L80.36 40.38 40.49 40.38 40.49 0.62z" class="cls-4"/>
      <path d="M80.36 40.38L40.49 0.62 80.36 0.62 80.36 40.38z" class="cls-5"/>
      <path d="M80.36 0.62L120.22 40.38 80.36 40.38 80.36 0.62z" class="cls-6"/>
      <path d="M120.22 40.38L160.09 80.15 120.22 80.15 120.22 40.38z" class="cls-6"/>
      <path d="M120.22 80.15L80.36 40.38 120.22 40.38 120.22 80.15z" class="cls-5"/>
      <path d="M80.36 40.38L120.22 80.15 80.36 80.15 80.36 40.38z" class="cls-4"/>
      <path d="M80.36 80.15L40.49 40.38 80.36 40.38 80.36 80.15z" class="cls-3"/>
      <path d="M120.22 119.91L160.09 80.15 120.22 80.15 120.22 119.91z" class="cls-5"/>
      <path d="M120.22 80.15L80.36 119.91 120.22 119.91 120.22 80.15z" class="cls-4"/>
      <path d="M80.36 119.91L120.22 80.15 80.36 80.15 80.36 119.91z" class="cls-3"/>
      <path d="M80.36 139.79L40.49 100.03 80.36 100.03 80.36 139.79z" class="cls-4"/>
      <path fill="#a7a9ac" d="M130.38 159.67L90.52 119.91 130.38 119.91 130.38 159.67z"/>
      <path fill="#414042" d="M130.38 133.81L156.31 159.67 130.38 159.67 130.38 133.81z"/>
      <path fill="#a9abac" d="M120.22 119.91L146.27 93.98 146.27 119.91 120.22 119.91z"/>
      <path fill="#DD2A0E" d="M148.21 94.02L174.13 119.88 148.21 119.88 148.21 94.02z"/>
      <g class="c-logo__text">
        <path d="M51.09,177a4.08,4.08,0,0,0-1.69-3.68A8.43,8.43,0,0,0,45.51,172a4.76,4.76,0,0,1-2.83-1.13,1.59,1.59,0,0,1,0-2c.43-.74,1.4-1.11,2.88-1.11A4.29,4.29,0,0,1,48.8,169l2-2a7.78,7.78,0,0,0-2.24-1.51,9.51,9.51,0,0,0-3.66-.56,6.75,6.75,0,0,0-3.92,1.35,4.06,4.06,0,0,0-1.87,3.5,3.59,3.59,0,0,0,1.62,3.38,9.13,9.13,0,0,0,3.72,1.24c1.64.16,2.65.6,3.08,1.34a2.08,2.08,0,0,1,0,2.22c-.43.75-1.45,1.11-3.11,1.11a6.06,6.06,0,0,1-4-1.51l-2,2A8.63,8.63,0,0,0,41,181.22a10.09,10.09,0,0,0,3.95.68,6.81,6.81,0,0,0,4.31-1.45A4.19,4.19,0,0,0,51.09,177Z" class="cls-11"/>
        <path d="M16.78,181.89h3.41l-4.27-7.47.29-.09c2-.66,3-2.15,3-4.56,0-3.2-1.91-4.76-5.83-4.76H6.07v16.89H9v-7.19h3.57ZM9,172v-4.2H14.2c1.91.06,2.34,1.14,2.37,2s-.47,2.14-2.4,2.17H9Z" class="cls-11"/><path d="M21.8 167.75L27.59 167.75 27.59 181.89 30.57 181.89 30.57 167.75 36.37 167.75 36.37 165.01 21.8 165.01 21.8 167.75z" class="cls-11"/><path d="M69.57 181.56L69.57 164.74 68.45 164.74 68.45 172.37 58.27 172.37 58.27 164.74 57.15 164.74 57.15 181.56 58.27 181.56 58.27 173.34 68.45 173.34 68.45 181.56 69.57 181.56z" class="cls-11"/>
        <path d="M85.3,177l1.88,4.6h1.27l-7.08-16.82H80l-7.34,16.82h1.14l2-4.6ZM80.63,165.6,84.92,176h-8.7Z" class="cls-11"/>
        <path d="M110.32 164.74L106.01 180.07 105.64 180.07 105.53 179.89 101.21 164.74 99.53 164.74 95.15 180.07 94.77 180.07 94.67 179.89 90.42 164.74 89.28 164.74 94.17 181.56 95.78 181.56 100.16 166.15 100.53 166.15 100.63 166.33 104.96 181.56 106.56 181.56 111.46 164.74 110.32 164.74z" class="cls-11"/><path d="M116.23 172.68L124.93 181.56 126.56 181.56 117.55 172.4 126.02 164.74 124.53 164.74 116.14 172.37 115.65 172.37 115.65 164.74 114.54 164.74 114.54 181.56 115.65 181.56 115.65 172.6 116.15 172.6 116.23 172.68z" class="cls-11"/>
        <path d="M139.01 173.34L139.01 172.37 130.6 172.37 130.6 165.71 139.57 165.71 139.57 164.74 129.48 164.74 129.48 181.56 139.97 181.56 139.97 180.59 130.6 180.59 130.6 173.34 139.01 173.34z" class="cls-11"/><path d="M153.88 164.74L148.38 173.17 143.01 164.74 141.68 164.74 147.83 174.27 147.83 181.56 148.94 181.56 148.94 174.27 155.09 164.74 153.88 164.74z" class="cls-11"/><path d="M167.56 173.34L167.56 172.37 159.14 172.37 159.14 165.71 168.12 165.71 168.12 164.74 158.03 164.74 158.03 181.56 168.51 181.56 168.51 180.59 159.14 180.59 159.14 173.34 167.56 173.34z" class="cls-11"/>
      </g>
    </g>
  </g>
</svg>
                    <!-- Logo ends -->

                </a>
            </header>

            <!-- Mobile menu button starts -->
            <button class="c-btn c-btn--link c-btn--link--no-underline c-sidebar__nav__trigger js-c-sidebar__nav__trigger" aria-label="Toggle menu">
        Menu
      </button>
            <!-- Mobile menu button ends -->

            <!-- Navigation starts -->
            <nav class="c-sidebar__nav">
                <ul class="c-sidebar__nav__list">
                    <li class="c-sidebar__nav__item c-sidebar__nav__item--parent">
                        <span class="c-sidebar__nav__link">Facilities</span>
                        <ul class="c-sidebar__nav-child">
                            <li class="c-sidebar__nav-child__item">
                                <a href="#" class="c-sidebar__nav__link c-sidebar__nav-child__link">Dashboard</a>
                            </li>
                            <li class="c-sidebar__nav-child__item">
                                <a href="#" class="c-sidebar__nav__link c-sidebar__nav-child__link">DBOL</a>
                            </li>
                            <li class="c-sidebar__nav-child__item">
                                <a href="#" class="c-sidebar__nav__link c-sidebar__nav-child__link">IBOL</a>
                            </li>
                            <li class="c-sidebar__nav-child__item">
                                <a href="#" class="c-sidebar__nav__link c-sidebar__nav-child__link">WO</a>
                            </li>
                            <li class="c-sidebar__nav-child__item">
                                <a href="#" class="c-sidebar__nav__link c-sidebar__nav-child__link">Transfer</a>
                            </li>
                        </ul>
                    </li>
                    <li class="c-sidebar__nav__item c-sidebar__nav__item--parent">
                        <span class="c-sidebar__nav__link">Asset management</span>
                        <ul class="c-sidebar__nav-child">
                            <li class="c-sidebar__nav-child__item">
                                <a href="#" class="c-sidebar__nav__link c-sidebar__nav-child__link">Inventory Viewer</a>
                            </li>
                            <li class="c-sidebar__nav-child__item">
                                <a href="#" class="c-sidebar__nav__link c-sidebar__nav-child__link">Order History</a>
                            </li>
                            <li class="c-sidebar__nav-child__item">
                                <a href="#" class="c-sidebar__nav__link c-sidebar__nav-child__link">Inspection report</a>
                            </li>
                        </ul>
                    </li>
                    <li class="c-sidebar__nav__item">
                        <a href="#" class="c-sidebar__nav__link">Well analysis</a>
                    </li>
                    <li class="c-sidebar__nav__item">
                        <a href="#" class="c-sidebar__nav__link">CRM</a>
                    </li>
                    <li class="c-sidebar__nav__item c-sidebar__nav__item--parent">
                        <span class="c-sidebar__nav__link">Data Structure</span>
                        <ul class="c-sidebar__nav-child">
                            <li class="c-sidebar__nav-child__item">
                                <a href="#" class="c-sidebar__nav__link c-sidebar__nav-child__link">People</a>
                            </li>
                            <!--
              -->
                            <li class="c-sidebar__nav-child__item">
                                <a href="#" class="c-sidebar__nav__link c-sidebar__nav-child__link">Companies</a>
                            </li>
                            <!--
              -->
                            <li class="c-sidebar__nav-child__item">
                                <a href="#" class="c-sidebar__nav__link c-sidebar__nav-child__link">Wells</a>
                            </li>
                            <!--
              -->
                            <li class="c-sidebar__nav-child__item">
                                <a href="#" class="c-sidebar__nav__link c-sidebar__nav-child__link">Racks</a>
                            </li>
                            <!--
              -->
                            <li class="c-sidebar__nav-child__item">
                                <a href="#" class="c-sidebar__nav__link c-sidebar__nav-child__link">Facilities</a>
                            </li>
                        </ul>
                    </li>
                </ul>
            </nav>
            <!-- Navigation ends -->

            <footer class="c-sidebar__footer">
                <button class="c-btn c-btn--link c-sidebar__layout-btn">Switch layout</button>
                <div class="c-sidebar__username-dropdown">
                    <h2 class="c-sidebar__username">Your friend, Ramiro</h2>
                    <a href="#" class="c-sidebar__nav-link__logout">Sign Out</a>
                </div>
            </footer>
        </div>
    </aside>
    <!-- Sidebar ends -->

    <!-- Content wrapper starts -->
    <div class="c-content-wrapper">
        <!-- main content starts -->
        <main class="o-stack--lg">
            <header>
                <h2 class="o-display--sm"><span class="u-f-weight-600">Dashboard for</span> Bryan - Rod Plant</h2>
            </header>
            <section class="c-facility-orders">
                <div class="c-facility-orders__item">
                    <div class="c-facility-orders__header">
                        <!-- link button starts -->
                        <button class="c-btn c-btn--link">View All</button>
                        <!-- link button ends -->
                        <h3 class="o-heading--sm u-m-0 u-text-center">Inbound Order</h3>
                        <!-- primary sm button starts -->
                        <button class="c-btn c-btn--primary c-btn--sm">New Inbound</button>
                        <!-- primary sm button ends -->
                    </div>
                    <div class="c-facility-orders__indicators">
                        <div class="c-facility-orders__indicators__item">
                            <p class="c-facility-orders__indicators__item-number">7</p>
                            <p class="c-facility-orders__indicators__item-text">Today</p>
                        </div>
                        <div class="c-facility-orders__indicators__item">
                            <p class="c-facility-orders__indicators__item-number">20</p>
                            <p class="c-facility-orders__indicators__item-text">This Week</p>
                        </div>
                        <div class="c-facility-orders__indicators__item">
                            <p class="c-facility-orders__indicators__item-number">24</p>
                            <p class="c-facility-orders__indicators__item-text">This Month</p>
                        </div>
                    </div>
                </div>
                <div class="c-facility-orders__item">
                    <div class="c-facility-orders__header">
                        <!-- link button starts -->
                        <button class="c-btn c-btn--link">View All</button>
                        <!-- link button ends -->
                        <h3 class="o-heading--sm u-m-0 u-text-center">Delivery Order</h3>
                        <!-- primary sm button starts -->
                        <button class="c-btn c-btn--primary c-btn--sm">New Delivery</button>
                        <!-- primary sm button ends -->
                    </div>
                    <div class="c-facility-orders__indicators">
                        <div class="c-facility-orders__indicators__item">
                            <p class="c-facility-orders__indicators__item-number">1</p>
                            <p class="c-facility-orders__indicators__item-text">Today</p>
                        </div>
                        <div class="c-facility-orders__indicators__item">
                            <p class="c-facility-orders__indicators__item-number">18</p>
                            <p class="c-facility-orders__indicators__item-text">This Week</p>
                        </div>
                        <div class="c-facility-orders__indicators__item">
                            <p class="c-facility-orders__indicators__item-number">29</p>
                            <p class="c-facility-orders__indicators__item-text">This Month</p>
                        </div>
                    </div>
                </div>
                <div class="c-facility-orders__item">
                    <div class="c-facility-orders__header">
                        <!-- link button starts -->
                        <button class="c-btn c-btn--link">View All</button>
                        <!-- link button ends -->
                        <h3 class="o-heading--sm u-m-0 u-text-center">Work Order</h3>
                        <!-- primary sm button starts -->
                        <button class="c-btn c-btn--primary c-btn--sm">New Work Order</button>
                        <!-- primary sm button ends -->
                    </div>
                    <div class="c-facility-orders__indicators">
                        <div class="c-facility-orders__indicators__item">
                            <p class="c-facility-orders__indicators__item-number">0</p>
                            <p class="c-facility-orders__indicators__item-text">Today</p>
                        </div>
                        <div class="c-facility-orders__indicators__item">
                            <p class="c-facility-orders__indicators__item-number">0</p>
                            <p class="c-facility-orders__indicators__item-text">This Week</p>
                        </div>
                        <div class="c-facility-orders__indicators__item">
                            <p class="c-facility-orders__indicators__item-number">3</p>
                            <p class="c-facility-orders__indicators__item-text">This Month</p>
                        </div>
                    </div>
                </div>
                <div class="c-facility-orders__item">
                    <div class="c-facility-orders__header">
                        <!-- link button starts -->
                        <button class="c-btn c-btn--link">View All</button>
                        <!-- link button ends -->
                        <h3 class="o-heading--sm u-m-0 u-text-center">Transfers</h3>
                        <!-- primary sm button starts -->
                        <button class="c-btn c-btn--primary c-btn--sm">New Transfer</button>
                        <!-- primary sm button ends -->
                    </div>
                    <div class="c-facility-orders__indicators">
                        <div class="c-facility-orders__indicators__item">
                            <p class="c-facility-orders__indicators__item-number">9</p>
                            <p class="c-facility-orders__indicators__item-text">Today</p>
                        </div>
                        <div class="c-facility-orders__indicators__item">
                            <p class="c-facility-orders__indicators__item-number">49</p>
                            <p class="c-facility-orders__indicators__item-text">This Week</p>
                        </div>
                        <div class="c-facility-orders__indicators__item">
                            <p class="c-facility-orders__indicators__item-number">54</p>
                            <p class="c-facility-orders__indicators__item-text">This Month</p>
                        </div>
                    </div>
                </div>
            </section>
        </main>
        <!-- main content ends -->
    </div>
    <!-- Content wrapper ends -->
</div>
<div class="c-app-wrapper">
  {{> '@sidebar-nav' sidebarClass="o-grid__span-col--2" username="Your friend, Ramiro" }}

  <!-- Content wrapper starts -->
  <div class="c-content-wrapper">
    <!-- main content starts -->
    <main class="o-stack--lg">
      <header>
          <h2 class="o-display--sm"><span class="u-f-weight-600">Dashboard for</span> {{facility}}</h2>
      </header>
      <section class="c-facility-orders">
        {{#each orderTypes }}
        <div class="c-facility-orders__item">
          <div class="c-facility-orders__header">
            {{> '@buttons' mod="link" btnText="View All"}}
            <h3 class="o-heading--sm u-m-0 u-text-center">{{orderType}}</h3>
            {{> '@buttons' mod="primary" size="sm" }}
          </div>
          <div class="c-facility-orders__indicators">
            {{#each indicator }}
            <div class="c-facility-orders__indicators__item">
              <p class="c-facility-orders__indicators__item-number">{{indicatorNumber}}</p>
              <p class="c-facility-orders__indicators__item-text">{{indicatorType}}</p>
            </div>
            {{/each}}
          </div>
        </div>
        {{/each}}
      </section>
    </main>
    <!-- main content ends -->
  </div>
  <!-- Content wrapper ends -->
</div>
{
  "facility": "Bryan - Rod Plant",
  "orderTypes": [
    {
      "orderType": "Inbound Order",
      "btnText": "New Inbound",
      "indicator": [
        {
          "indicatorType": "Today",
          "indicatorNumber": 7
        },
        {
          "indicatorType": "This Week",
          "indicatorNumber": 20
        },
        {
          "indicatorType": "This Month",
          "indicatorNumber": 24
        }
      ]
    },
    {
      "orderType": "Delivery Order",
      "btnText": "New Delivery",
      "indicator": [
        {
          "indicatorType": "Today",
          "indicatorNumber": 1
        },
        {
          "indicatorType": "This Week",
          "indicatorNumber": 18
        },
        {
          "indicatorType": "This Month",
          "indicatorNumber": 29
        }
      ]
    },
    {
      "orderType": "Work Order",
      "btnText": "New Work Order",
      "indicator": [
        {
          "indicatorType": "Today",
          "indicatorNumber": "0"
        },
        {
          "indicatorType": "This Week",
          "indicatorNumber": "0"
        },
        {
          "indicatorType": "This Month",
          "indicatorNumber": 3
        }
      ]
    },
    {
      "orderType": "Transfers",
      "btnText": "New Transfer",
      "indicator": [
        {
          "indicatorType": "Today",
          "indicatorNumber": 9
        },
        {
          "indicatorType": "This Week",
          "indicatorNumber": 49
        },
        {
          "indicatorType": "This Month",
          "indicatorNumber": 54
        }
      ]
    }
  ]
}
  • Content:
    .c-facility-orders {
      display: grid;
      grid-template-columns: repeat(auto-fit,minmax(rem(400), 1fr));
      grid-gap: $space-xl;
    }
    
      .c-facility-orders__header {
        display: grid;
        align-items: center;
        grid-template-columns: repeat(3, 1fr);
        padding: $space-xs 0;
    
        > .c-btn:last-child {
          justify-self: flex-end;
        }
      }
    
      .c-facility-orders__indicators {
        padding: $space-lg 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: $color-white;
        border-radius: $global-radius;
        background: $color-gradient;
        box-shadow: $global-box-shadow__inset--solid,
                    $global-box-shadow;
      }
    
        .c-facility-orders__indicators__item {
          text-align: center;
          flex: 1;
        }
    
          .c-facility-orders__indicators__item-number {
            margin: 0;
            font-weight: 900;
            font-size: $text-size-4;
          }
    
          .c-facility-orders__indicators__item-text {
            margin: 0;
          }
    
  • URL: /components/raw/order-dashboard/_order-dashboard.scss
  • Filesystem Path: components/_pages/order-dashboard/_order-dashboard.scss
  • Size: 984 Bytes

There are no notes for this item.