Blame view

Views/FlowIntensity/Index.cshtml 5.28 KB
89227bfe   Administrator   add crud for all ...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
  @model IEnumerable<Maps.Entities.FlowIntensity>
  
  @{
      Layout = null;
  }
  
  <!DOCTYPE html>
  
  <html>
  <head>
      <meta name="viewport" content="width=device-width" />
      <title>Index</title>
  </head>
  <body>
  <p>
      <a asp-action="Create">Create New</a>
  </p>
  <table class="table">
      <thead>
          <tr>
              <th>
                  @Html.DisplayNameFor(model => model.Begin)
              </th>
              <th>
                  @Html.DisplayNameFor(model => model.DateAdd)
              </th>
              <th>
                  @Html.DisplayNameFor(model => model.End)
              </th>
              <th>
                  @Html.DisplayNameFor(model => model.IntensityBus)
              </th>
              <th>
                  @Html.DisplayNameFor(model => model.IntensityBusCoupled)
              </th>
              <th>
                  @Html.DisplayNameFor(model => model.IntensityCar)
              </th>
              <th>
                  @Html.DisplayNameFor(model => model.IntensityIncrease)
              </th>
              <th>
                  @Html.DisplayNameFor(model => model.IntensityLorryThirty)
              </th>
              <th>
                  @Html.DisplayNameFor(model => model.IntensityLorryTwelve)
              </th>
              <th>
                  @Html.DisplayNameFor(model => model.IntensityLorryTwelveTwenty)
              </th>
              <th>
                  @Html.DisplayNameFor(model => model.IntensityLorryTwentyThirty)
              </th>
              <th>
                  @Html.DisplayNameFor(model => model.IntensityMoto)
              </th>
              <th>
                  @Html.DisplayNameFor(model => model.IntensityMotoSidecar)
              </th>
              <th>
                  @Html.DisplayNameFor(model => model.IntensityTotal)
              </th>
              <th>
                  @Html.DisplayNameFor(model => model.IntensityTractorOverTen)
              </th>
              <th>
                  @Html.DisplayNameFor(model => model.IntensityTractorUnderTen)
              </th>
              <th>
                  @Html.DisplayNameFor(model => model.IntensityTruckEightFourteen)
              </th>
              <th>
                  @Html.DisplayNameFor(model => model.IntensityTruckFourteen)
              </th>
              <th>
                  @Html.DisplayNameFor(model => model.IntensityTruckSixEight)
              </th>
              <th>
                  @Html.DisplayNameFor(model => model.IntensityTruckTwo)
              </th>
              <th>
                  @Html.DisplayNameFor(model => model.IntensityTruckTwoSix)
              </th>
              <th>
                  @Html.DisplayNameFor(model => model.Location)
              </th>
              <th></th>
          </tr>
      </thead>
      <tbody>
  @foreach (var item in Model) {
          <tr>
              <td>
                  @Html.DisplayFor(modelItem => item.Begin)
              </td>
              <td>
                  @Html.DisplayFor(modelItem => item.DateAdd)
              </td>
              <td>
                  @Html.DisplayFor(modelItem => item.End)
              </td>
              <td>
                  @Html.DisplayFor(modelItem => item.IntensityBus)
              </td>
              <td>
                  @Html.DisplayFor(modelItem => item.IntensityBusCoupled)
              </td>
              <td>
                  @Html.DisplayFor(modelItem => item.IntensityCar)
              </td>
              <td>
                  @Html.DisplayFor(modelItem => item.IntensityIncrease)
              </td>
              <td>
                  @Html.DisplayFor(modelItem => item.IntensityLorryThirty)
              </td>
              <td>
                  @Html.DisplayFor(modelItem => item.IntensityLorryTwelve)
              </td>
              <td>
                  @Html.DisplayFor(modelItem => item.IntensityLorryTwelveTwenty)
              </td>
              <td>
                  @Html.DisplayFor(modelItem => item.IntensityLorryTwentyThirty)
              </td>
              <td>
                  @Html.DisplayFor(modelItem => item.IntensityMoto)
              </td>
              <td>
                  @Html.DisplayFor(modelItem => item.IntensityMotoSidecar)
              </td>
              <td>
                  @Html.DisplayFor(modelItem => item.IntensityTotal)
              </td>
              <td>
                  @Html.DisplayFor(modelItem => item.IntensityTractorOverTen)
              </td>
              <td>
                  @Html.DisplayFor(modelItem => item.IntensityTractorUnderTen)
              </td>
              <td>
                  @Html.DisplayFor(modelItem => item.IntensityTruckEightFourteen)
              </td>
              <td>
                  @Html.DisplayFor(modelItem => item.IntensityTruckFourteen)
              </td>
              <td>
                  @Html.DisplayFor(modelItem => item.IntensityTruckSixEight)
              </td>
              <td>
                  @Html.DisplayFor(modelItem => item.IntensityTruckTwo)
              </td>
              <td>
                  @Html.DisplayFor(modelItem => item.IntensityTruckTwoSix)
              </td>
              <td>
                  @Html.DisplayFor(modelItem => item.Location)
              </td>
              <td>
                  <a asp-action="Edit" asp-route-id="@item.FlowIntensityId">Edit</a> |
                  <a asp-action="Details" asp-route-id="@item.FlowIntensityId">Details</a> |
                  <a asp-action="Delete" asp-route-id="@item.FlowIntensityId">Delete</a>
              </td>
          </tr>
  }
      </tbody>
  </table>
  </body>
  </html>