Advertisement
gin_kovacs

tellit sidebar html

Jul 18th, 2018
387
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 2.81 KB | None | 0 0
  1. <ng-template #deleteTemplate>
  2.   <div class="modal-header">
  3.     <h3 class="modal-title">Are you sure?</h3>
  4.   </div>
  5.   <div class="modal-body">
  6.     <div class="modal-text text-center">
  7.       <span>Are you sure? You cannot undo it.</span>
  8.     </div>
  9.   </div>
  10.   <div class="modal-footer text-center">
  11.     <button class="btn btn-info" (click)="confirmDelete(false)">CANCEL</button>
  12.     <button class="btn btn-danger" (click)="confirmDelete(true)">DELETE</button>
  13.   </div>
  14. </ng-template>
  15.  
  16. <nav class="sidebar bg-gdark">
  17.   <ul class="nav nav-pills flex-column">
  18.     <button type="button" class="btn btn-gdark" (click)="isCollapsedStory = !isCollapsedStory">My stories
  19.     </button>
  20.     <div [collapse]="isCollapsedStory" class="card card-block card-header listCover">
  21.       <div *ngFor="let story of storyList" class="row storyList myList">
  22.         <div class="col-7">
  23.           <a [routerLink]="['/story', story.id]">
  24.             <div class="well well-lg story">{{story.title}}
  25.             </div>
  26.           </a>
  27.         </div>
  28.         <div class="col">
  29.           <a [routerLink]="['/story', story.id]">
  30.             <i class="fa fa-pencil" aria-hidden="true"></i>
  31.           </a>
  32.           &emsp;
  33.           <a (click)="showDeleteModal(deleteTemplate, story)">
  34.             <i class="fa fa-trash-o" aria-hidden="true"></i>
  35.           </a>
  36.         </div>
  37.       </div>
  38.     </div>
  39.  
  40.     <button type="button" class="btn btn-gdark" (click)="isCollapsedChapter = !isCollapsedChapter">My Chapters
  41.     </button>
  42.     <div [collapse]="!isCollapsedChapter" class="card card-block card-header">
  43.       <div *ngFor="let chapter of chapterList" class="row chapterList myList">
  44.         <div class="col-7">
  45.           <a [routerLink]="['chapter', chapter.id]">
  46.             {{chapter.title}}
  47.           </a>
  48.         </div>
  49.         <div class="col">
  50.           <a [routerLink]="['/chapter', chapter.id]">
  51.             <i class="fa fa-pencil" aria-hidden="true"></i>
  52.           </a>
  53.           &emsp;
  54.           <a (click)="showDeleteModal(deleteTemplate, chapter)">
  55.             <i class="fa fa-trash-o" aria-hidden="true"></i>
  56.           </a>
  57.         </div>
  58.       </div>
  59.     </div>
  60.  
  61.     <button type="button" class="btn btn-gdark" (click)="isCollapsedBookmark = !isCollapsedBookmark">Bookmarks
  62.     </button>
  63.     <div [collapse]="!isCollapsedBookmark" class="card card-block card-header">
  64.       <div *ngFor="let bookmark of bookmarkList" class="row bookmarkList myList">
  65.         <div class="col-9">
  66.           <a [routerLink]="['/chapter', bookmark.chapterId]">
  67.             {{bookmark.chapterName}}
  68.           </a>
  69.         </div>
  70.         <div class="col">
  71.           <a (click)="showDeleteModal(deleteTemplate, bookmark)">
  72.             <i class="fa fa-trash-o" aria-hidden="true"></i>
  73.           </a>
  74.         </div>
  75.       </div>
  76.     </div>
  77.   </ul>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement