Changeset 9062 for branches/OaaS/HeuristicLab.Services.Optimization.Web/Views/Shared/EditorTemplates
- Timestamp:
- 12/17/12 09:37:16 (12 years ago)
- Location:
- branches/OaaS/HeuristicLab.Services.Optimization.Web/Views/Shared/EditorTemplates
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/OaaS/HeuristicLab.Services.Optimization.Web/Views/Shared/EditorTemplates/DecimalMatrix.cshtml
r8817 r9062 1 1 @model HeuristicLab.Services.Optimization.ControllerService.Model.DecimalMatrix 2 2 3 <table> 4 <tr> 5 <th>@Model.Name</th> 6 </tr> 3 <table class="editableTable"> 4 <thead> 5 <tr> 6 @for (int i = 0; i < Model.Value[0].Length; i++) { 7 <th>@Model.Name Column @i</th> 8 } 9 <th>Delete</th> 10 <th>Add</th> 11 </tr> 12 </thead> 13 <tbody> 7 14 @for (int i = 0; i < Model.Value.Length; i++) { 8 <tr >15 <tr id="@i"> 9 16 @for (int j = 0; j < Model.Value[i].Length; j++) { 10 17 <td> … … 12 19 </td> 13 20 } 14 </tr> 21 <td><a class="delete-row" href="#">Delete</a></td> 22 <td><input type="submit" name="AddRow" value="Add Row"/></td> 23 </tr> 15 24 } 25 </tbody> 16 26 </table> -
branches/OaaS/HeuristicLab.Services.Optimization.Web/Views/Shared/EditorTemplates/DecimalVector.cshtml
r8506 r9062 2 2 3 3 <table> 4 <thead> 4 5 <tr> 5 6 <th>@Model.Name</th> 6 7 </tr> 8 </thead> 9 <tbody> 7 10 @for (int i = 0; i < Model.Value.Length; i++) { 8 11 <tr> … … 12 15 </tr> 13 16 } 17 </tbody> 14 18 </table>
Note: See TracChangeset
for help on using the changeset viewer.