Line | |
---|
1 | @model List<Models.DataTransferObjects.Company.UserCompaniesDTO>
|
---|
2 |
|
---|
3 |
|
---|
4 | <div class="row">
|
---|
5 | <div class="col-md-12 pt-3">
|
---|
6 | <div class="card">
|
---|
7 | <div class="card-header text-white ">
|
---|
8 | <div class="card-title text-black">My Companies</div>
|
---|
9 | </div>
|
---|
10 | <div>
|
---|
11 | <div class="card-body">
|
---|
12 | <div class="table-responsive">
|
---|
13 | <table class="table table-striped my-4 w-100" id="coachesTable">
|
---|
14 | <thead>
|
---|
15 | <tr>
|
---|
16 | <th>
|
---|
17 | Company Name
|
---|
18 | </th>
|
---|
19 | <th>
|
---|
20 | Company Email
|
---|
21 | </th>
|
---|
22 | <th>Is Approved</th>
|
---|
23 | <th></th>
|
---|
24 | </tr>
|
---|
25 | </thead>
|
---|
26 | <tbody>
|
---|
27 | @foreach(var company in Model){
|
---|
28 | <tr>
|
---|
29 | <td>@company.CompanyName</td>
|
---|
30 | <td>@company.CompanyName</td>
|
---|
31 | @if(company.IsApproved){
|
---|
32 | <td><i class="fa-solid fa-check-double"></i></td>
|
---|
33 | }else{
|
---|
34 | <td><i class="fa-solid fa-user-xmark"></i></td>
|
---|
35 | }
|
---|
36 | <td>
|
---|
37 | @Html.ActionLink("", "Action", "Controller", new{@id = company.CompanyId}, new {
|
---|
38 | @class = "mb-1 btn btn-warning far fa-edit", @title = "Edit"
|
---|
39 | })
|
---|
40 | </td>
|
---|
41 | </tr>
|
---|
42 |
|
---|
43 | }
|
---|
44 | </tbody>
|
---|
45 | </table>
|
---|
46 | </div>
|
---|
47 | </div>
|
---|
48 | </div>
|
---|
49 |
|
---|
50 | </div>
|
---|
51 | </div>
|
---|
52 | </div> |
---|
Note:
See
TracBrowser
for help on using the repository browser.