nw-session.html 662 B

123456789101112131415161718
  1. <div class='session'>
  2. <div class="dropdown" ng-if='session.id'>
  3. <a class="dropdown-btn">{{session.username}} <i class="icon user"></i></a>
  4. <ul class="dropdown-menu list">
  5. <li class="dropdown-item">
  6. <a href="#/profile/edit" class="dropdown-item-link list-item-link"><i class="edit icon"></i> Edit Profile</a>
  7. </li>
  8. <li class="dropdown-item">
  9. <a href="/sign_out" class="dropdown-item-link list-item-link"><i class="settings icon"></i> Sign Out</a>
  10. </li>
  11. </ul>
  12. </div>
  13. <div class="session-create" ng-if='!session.id'>
  14. <a href='/sign_in'>Sign In</a> |
  15. <a href='/sign_up'>Register</a>
  16. </div>
  17. </div>