Sha256: c977f77353a7ceb7775b053eac44e9e552ea746cc8ab26e4cd3c853d4354461e

Contents?: true

Size: 1.21 KB

Versions: 1

Compression:

Stored size: 1.21 KB

Contents

<md-sidenav
 	class="md-sidenav-left md-whiteframe-z2"
    md-component-id="left"
    md-is-locked-open="$mdMedia('gt-sm')">

    <div class="nav-header" layout="column" layout-align="center">
      <h1 class="md-heading" style="color:#fff;" >Voxality</h1>
      <div class="nav-user-info" layout="row" layout-align="center center">
        <img src="https://lh5.googleusercontent.com/-XdUIqdMkCWA/AAAAAAAAAAI/AAAAAAAAAAA/4252rscbv5M/s128-c-k/photo.jpg" alt="Smiley face">
        <span><%= current_user.email %></span>
      </div>
    </div>

    <md-content flex role="navigation" layout="column" layout-align="space-between" ss-style-color="{'background-color': 'primary.default'}">
      <ul>
        <li ng-repeat="menuItem in menuItems">
        <a class="md-button"
          md-ink-ripple
          ng-click="navigate(menuItem)"
          ng-class="getMenuClass(menuItem)">
            <span class="material-icons">{{ menuItem.icon }}</span>
            <span class="menu-item-name">{{ menuItem.name | uppercase }}</span>
          </a>
        </li>
      </ul>

      <%= link_to 'Logout', destroy_user_session_path, method: :delete, class: 'md-button md-ink-ripple', "md-ink-ripple" => true %>
    </md-content>
</md-sidenav>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
voxality_core-0.1.0.1 lib/generators/voxality_core/templates/app/views/voxality_core/_sidenav.html.erb