Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @model IEnumerable<EasyNote.Models.Note>
- @{
- ViewBag.Title = "Home Page";
- }
- <div class="row">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-10">
- <h2>List of cookie</h2>
- </div>
- <div class="col-md-2 pull-right">
- <div class="btn-group">
- <a href="#" class="btn btn-primary"><span class="glyphicon glyphicon-print"></span></a>
- <a href="/Home/CreateOfNote/" class="btn btn-primary"><span class="glyphicon glyphicon-plus"></span></a>
- </div>
- </div>
- </div>
- <div class="row">
- <form method="get">
- <div class="table-responsive">
- <table class="table table-striped table-bordered">
- <tr>
- <th>#</th>
- <th>Title</th>
- <th>Description</th>
- <th>Date</th>
- <th>Edit</th>
- <th>Delete</th>
- </tr>
- @foreach (EasyNote.Models.Note n in Model)
- {
- <tr>
- <td><a href="">@n.NoteId</a></td>
- <td><a href="">@n.Name</a></td>
- <td>@n.Description</td>
- <td>@n.DateOfCreate</td>
- <td><a href="/Home/Edit/@n.NoteId"><span class="glyphicon glyphicon-edit"></span></a></td>
- <td><input type="submit" value="Delete" href="/Home/DeleteOfNote/@n.NoteId"></td>
- </tr>
- }
- </table>
- </div>
- </form>
- </div><!--/.row-->
- </div><!--/.col-md-12-->
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement