source: branches/OaaS/HeuristicLab.Services.Optimization.Web/Views/Shared/_Layout.cshtml @ 9324

Last change on this file since 9324 was 9324, checked in by fschoepp, 6 years ago

#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 size: 5.1 KB
Line 
1<!DOCTYPE html>
2<html>
3<head>
4    <meta charset="utf-8" />
5    <title>@ViewBag.Title</title>
6    <link href="@Url.Content("~/Content/hl/Site.css")" rel="stylesheet" type="text/css" />
7    <link href="@Url.Content("~/Content/datatable/css/jquery.dataTables.css")" rel="stylesheet" type="text/css" />
8    <link href="@Url.Content("~/Content/ui-lightness/jquery-ui-1.9.2.min.css")" rel="stylesheet" type="text/css" />   
9    <link href="@Url.Content("~/Content/jqplot/src/jquery.jqplot.css")" rel="stylesheet" type="text/css" />
10   
11    <script src="@Url.Content("~/Scripts/jquery-1.8.3.min.js")" type="text/javascript"></script>
12    <script src="@Url.Content("~/Scripts/jquery.dataTables.min.js")" type="text/javascript"></script>
13    <script src="@Url.Content("~/Scripts/jquery-ui-1.9.2.min.js")" type="text/javascript"></script>
14    <script src="@Url.Content("~/Scripts/modernizr-1.7.min.js")" type="text/javascript"></script>
15    <script src="@Url.Content("~/Content/Styling.js")" type="text/javascript"></script>
16
17    <!--[if lt IE 9]><script language="javascript" type="text/javascript" src="/Content/jqplot/src/excanvas.js"></script><![endif]-->
18    <script src="@Url.Content("~/Content/jqplot/src/jquery.jqplot.js")" type="text/javascript"></script>
19    <script src="@Url.Content("~/Content/jqplot/src/plugins/jqplot.canvasTextRenderer.js")" type="text/javascript"></script>
20    <script src="@Url.Content("~/Content/jqplot/src/plugins/jqplot.canvasAxisLabelRenderer.js")" type="text/javascript"></script>
21    <script type="text/javascript" src="@Url.Content("~/Content/jqplot/src/plugins/jqplot.highlighter.js")"></script>
22    <script type="text/javascript" src="@Url.Content("~/Content/jqplot/src/plugins/jqplot.barRenderer.js")"></script>
23    <script type="text/javascript" src="@Url.Content("~/Content/jqplot/src/plugins/jqplot.categoryAxisRenderer.js")"></script>
24    <script type="text/javascript" src="@Url.Content("~/Content/jqplot/src/plugins/jqplot.pointLabels.js")"></script>
25    <script type="text/javascript" src="@Url.Content("~/Content/jqplot/src/plugins/jqplot.pieRenderer.js")"></script>
26    <script type="text/javascript" src="@Url.Content("~/Content/jqplot/src/plugins/jqplot.donutRenderer.js")"></script>
27    <script type="text/javascript" src="@Url.Content("~/Content/jqplot/src/plugins/jqplot.cursor.js")"></script>
28
29    <link href="@Url.Content("~/Content/dynatree/src/skin/ui.dynatree.css")" rel="stylesheet" type="text/css" />
30    <script type="text/javascript" src="@Url.Content("~/Content/dynatree/dist/jquery.dynatree.min.js")"></script>
31    <script type="text/javascript" src="@Url.Content("~/Content/ExperimentSupport.js")"></script>
32
33    <!-- Experiment Additions -->
34   
35    <link href="@Url.Content("~/Content/smartwizard2.0/styles/smart_wizard.css")" rel="stylesheet" type="text/css" />
36    <script type="text/javascript" src="@Url.Content("~/Content/smartwizard2.0/js/jquery.smartWizard-2.0.min.js")"></script>
37
38    <script type='text/javascript' src='@Url.Content("~/Content/backbone/underscore.js")'></script>
39    <script type='text/javascript' src='@Url.Content("~/Content/backbone/backbone-min.js")'></script>
40    <script type='text/javascript' src='@Url.Content("~/Content/backbone/backbone-relational.js")'></script>
41
42    <script src="@Url.Content("~/Content/Datatypemapping.js")" type="text/javascript"></script>
43    <script type='text/javascript' src='@Url.Content("~/Content/experiment.model.js")'></script>
44    <script type='text/javascript' src='@Url.Content("~/Content/experiment.view.js")'></script>
45    <script type='text/javascript' src='@Url.Content("~/Content/experiment.controller.js")'></script>
46
47    @RenderSection("customHeader", required: false)
48</head>
49<body>
50    <div id="master-page">
51       
52        <div id="master-header">
53            <div class="logo">
54                <a href="/">Optimization-as-a-Service</a>
55            </div>       
56            <div class="login">
57                @Html.Partial("_LogOnPartial")
58            </div>
59        </div>
60        <div id="master-mainmenu">
61            <ul id="menu">
62                <li>@Html.ActionLink("Home", "Index", "Home")</li>
63                <li>@Html.ActionLink("Experiment", "Index", "Experiment")</li>               
64                <li>@Html.ActionLink("Admin", "Index", "Admin")</li>               
65                <li>@Html.ActionLink("About", "About", "Home")</li>
66            </ul>
67        </div>
68       
69        <div id="master-main">
70            <div id="master-submenu">
71                @RenderSection("submenu", required: false)
72            </div>
73            <div id="master-MainContent">               
74                @RenderBody()               
75            </div>
76        </div>
77        <div id="master-footer">
78            <div class="logo">
79                <a title="Visit the HeuristicLab website" href="http://www.heuristiclab.com/" target="_blank">
80                    <img alt="HeuristicLab" src="/Content/hl/images/hl-logo.png" />
81                </a>
82            </div>
83        </div>
84        <!--footer>
85        </footer-->
86    </div>
87</body>
88</html>
Note: See TracBrowser for help on using the repository browser.