Free cookie consent management tool by TermsFeed Policy Generator

source: branches/OaaS/HeuristicLab.Services.Optimization.Web/Views/Shared/EditorTemplates/DecimalMatrix.cshtml @ 9062

Last change on this file since 9062 was 9062, checked in by fschoepp, 11 years ago

#1888:
Backend changes:

  • Simplified job state detection (only one hive call will be made to detect all states now, instead of one additional call per job)
  • Reorganized classes (moved model classes into Model folder)

Website changes:

  • Website now heavily uses JavaScript to achieve better user experience
  • JavaScript degrades gracefully, except for plots
  • Tables: Added jquery-datatable-plugin to extend tables (pagination + search functionality)
  • OaaS-Website now uses the design of the HL websites (found in WebApplication branch)
  • Added jqplot to render zoomable line plots for HL-Datatables
  • Styling.js: Plots will be generated by using an ajax call; additional jquery-styling occurs within this file.
  • Added jquery-ui-1.9.2 which is capable of handling/rendering tabs, accordions and resizers.
File size: 815 bytes
Line 
1@model HeuristicLab.Services.Optimization.ControllerService.Model.DecimalMatrix
2
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>
14  @for (int i = 0; i < Model.Value.Length; i++) {
15  <tr id="@i">
16    @for (int j = 0; j < Model.Value[i].Length; j++) {                     
17    <td>
18      @Html.Raw(Html.TextBoxFor(model => Model.Value[i][j]).ToString().Replace("itm.Value.Value[" + i + "][" + j + "]", Model.Name + "_" + i + "_" + j))
19    </td>
20    }
21    <td><a class="delete-row" href="#">Delete</a></td>
22    <td><input type="submit" name="AddRow" value="Add Row"/></td>
23  </tr> 
24  }
25  </tbody>
26</table>
Note: See TracBrowser for help on using the repository browser.