diff options
| author | Michael <[email protected]> | 2017-05-09 13:16:32 -0400 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-05-09 13:16:32 -0400 |
| commit | d17cb1fccc7fc58f7721840eec6e3cf8e31b1b67 (patch) | |
| tree | 971035da3d0aabbdb2ceb2004dd229469cced32c /Project-Unite/Views | |
| parent | b2ed8568cab363660c35d938e19a0d59b2f2f603 (diff) | |
| download | project-unite-d17cb1fccc7fc58f7721840eec6e3cf8e31b1b67.tar.gz project-unite-d17cb1fccc7fc58f7721840eec6e3cf8e31b1b67.tar.bz2 project-unite-d17cb1fccc7fc58f7721840eec6e3cf8e31b1b67.zip | |
use table for listings
Diffstat (limited to 'Project-Unite/Views')
| -rw-r--r-- | Project-Unite/Views/Bugs/Index.cshtml | 38 |
1 files changed, 17 insertions, 21 deletions
diff --git a/Project-Unite/Views/Bugs/Index.cshtml b/Project-Unite/Views/Bugs/Index.cshtml index 2c08afc..1ddc718 100644 --- a/Project-Unite/Views/Bugs/Index.cshtml +++ b/Project-Unite/Views/Bugs/Index.cshtml @@ -40,44 +40,40 @@ <h2>@category.Name</h2> <p>@category.Description</p> - <div class="row"> - <div class="col-xs-6"> - <strong>Open</strong> - </div> - <div class="col-xs-3"> - <strong>Urgency</strong> - </div> - <div class="col-xs-3"> - <strong>Actions</strong> - </div> - </div> + <table class="table"> + <tr> + <th class="width:50%">Open</th> + <th>Urgency</th> + <th>Actions</th> + </tr> @foreach(var bug in category.Open.OrderByDescending(x=>x.Urgency)) { - <div class="row"> - <div class="col-xs-6"> + <tr> + <td> <strong><a href="#[email protected]" data-toggle="modal"></a></strong><br/> <p>Reported at: @bug.ReportedAt • Reported by: @Html.UserLink(bug.Reporter)</p> - </div> + </td> @switch (bug.Urgency) { case 0: - <div class="col-xs-3"><strong>Minor</strong></div> + <td><strong>Minor</strong></td> break; case 1: - <div class="col-xs-3 panel-primary"><strong>Moderate</strong></div> + <td><strong>Moderate</strong></td> break; case 2: - <div class="col-xs-3 panel-warning"><strong>Major</strong></div> + <td class="warning"><sttrong>Major</sttrong></td> break; case 3: - <div class="col-xs-3 panel-danger"><strong>Critical</strong></div> + <td class="danger"><strong>Critical</strong></td> break; } - <div class="col-xs-3"> + <td> <a class="btn btn-primary" href="@Url.Action("CloseBug", new {id=bug.Id})"><span class="glyphicon glyphicon-ok"></span> Close bug report</a> - </div> - </div> + </td> + </tr> } + </table> </div> } </div> |
