Ignore:
Timestamp:
03/20/13 16:56:28 (6 years ago)
Author:
fschoepp
Message:

#1888:

  • DAL: Added a Delete method which deletes by experiment id.
  • HL DataTables will now be transposed and mapped as double[ROWS][COLUMNS] (transposed)
  • JS: Moved all classes into "modules" to prevent namespace pollution (using OAAS_MODEL for model classes, OAAS_VIEW for views and OAAS_CONTROLLER for controllers)
  • JS: Moved DatatypeMapper classes into Backbone views
  • JS: Models now correctly send DELETE requests
  • Added a new job overview page (which also renders run details) using AJAX
  • Using moment.min.js to format DateTime as string
  • Controllers now inherit from BaseController which provides a RedirectToLoginIfNecessary-method
  • Added loading animations to several AJAX bound places (loading experiments / scenarios)
  • Added a section to _Layout.cshtml which allows page-specific JavaScript includes (<script> only for a certain page)
  • Fixed Build/Edit of experiment menu redirecting to the wrong page
  • The Experiment Variation Dialog disables input fields, if the property has not been activated before
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/OaaS/HeuristicLab.Services.Optimization.Web/Views/Experiment/New.cshtml

    r9305 r9324  
    7070<script type="text/template" id="checkbox_template">
    7171<div>
    72     <input type="checkbox" name="<%=name%>"/><%=text%><br/>
    73 </div>
    74 </script>       
     72    <input type="checkbox" name="<%=name%>"
     73        <% if (checked) { %>
     74            checked
     75        <% } %>
     76    />
     77    <% if (!hideText) { %>
     78         <%=text%><br/>
     79    <% } %>
     80</div>
     81</script>   
    7582
    7683<script type="text/template" id="variation_generator_template">
     
    93100
    94101<script type="text/javascript">
    95     var controller = new ExperimentPageController();
     102    var controller = new OAAS_CONTROLLER.ExperimentPageController();
    96103    $(document).ready(function () {
    97104        controller.create();
     
    141148    <div id="container" class="treeStyle"></div>   
    142149    <p>Choose an algorithm:</p>
    143     <div id="algorithms"></div>
     150    <div id="algorithms">
     151        <span>Loading ... <img src="@Url.Content("~/Content/ajax-loader.gif")" alt="Loading animation" />  </span>       
     152    </div>
    144153    <div class="clearer"></div>
    145154    <p>Choose from your stored experiments:</p>
    146     <div id="experiments"></div>
     155    <div id="experiments">
     156        <span>Loading ... <img src="@Url.Content("~/Content/ajax-loader.gif")" alt="Loading animation" />  </span>       
     157    </div>
    147158  </fieldset>
    148159  </div>
     
    196207@section submenu {
    197208    <ul>
    198         <li class="selected">@Html.ActionLink("Build", "New")</li>   
    199         <li>@Html.ActionLink("Edit", "NewEdit")</li>
     209        <li class="selected">@Html.ActionLink("Build", "New", "Experiment")</li>   
     210        <li>@Html.ActionLink("Edit", "NewEdit", "Experiment")</li>
    200211        <li>@Html.ActionLink("Status", "Index", "Status")</li>
    201212    </ul>
Note: See TracChangeset for help on using the changeset viewer.