Advertisement
Guest User

Untitled

a guest
Feb 9th, 2017
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.94 KB | None | 0 0
  1. @model IEnumerable<EasyNote.Models.Note>
  2. @{
  3.     ViewBag.Title = "Home Page";
  4. }
  5.  
  6. <div class="row">
  7.     <div class="col-md-12">
  8.         <div class="row">
  9.             <div class="col-md-10">
  10.                 <h2>List of cookie</h2>
  11.             </div>
  12.             <div class="col-md-2 pull-right">
  13.                 <div class="btn-group">
  14.                     <a href="#" class="btn btn-primary"><span class="glyphicon glyphicon-print"></span></a>
  15.                     <a href="/Home/CreateOfNote/" class="btn btn-primary"><span class="glyphicon glyphicon-plus"></span></a>
  16.                 </div>
  17.             </div>
  18.         </div>
  19.  
  20.         <div class="row">
  21.             <form method="get">
  22.                 <div class="table-responsive">
  23.                     <table class="table table-striped table-bordered">
  24.                         <tr>
  25.                             <th>#</th>
  26.                             <th>Title</th>
  27.                             <th>Description</th>
  28.                             <th>Date</th>
  29.                             <th>Edit</th>
  30.                             <th>Delete</th>
  31.                         </tr>
  32.                         @foreach (EasyNote.Models.Note n in Model)
  33.                         {
  34.                             <tr>
  35.                                 <td><a href="">@n.NoteId</a></td>
  36.                                 <td><a href="">@n.Name</a></td>
  37.                                 <td>@n.Description</td>
  38.                                 <td>@n.DateOfCreate</td>
  39.                                 <td><a href="/Home/Edit/@n.NoteId"><span class="glyphicon glyphicon-edit"></span></a></td>
  40.                                 <td><input type="submit" value="Delete" href="/Home/DeleteOfNote/@n.NoteId"></td>
  41.                             </tr>
  42.                         }
  43.                     </table>
  44.                 </div>
  45.             </form>
  46.         </div><!--/.row-->
  47.  
  48.     </div><!--/.col-md-12-->
  49.    
  50.    
  51.  
  52.  
  53. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement