Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/12/13 15:10:06 (11 years ago)
Author:
pfleck
Message:

#2063:
Started integrating Hive statistics into statistics web project.
Added jqPlot library for charting.

Location:
branches/HiveStatistics/sources/HeuristicLab.Services.Hive.Statistics/3.3/Views
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/HiveStatistics/sources/HeuristicLab.Services.Hive.Statistics/3.3/Views/Account/Login.cshtml

    r9604 r9617  
    3535</section>
    3636
     37@section Styles {
     38    @Styles.Render("~/Content/themes/base/css")
     39}
     40
    3741@section Scripts {
    38     @Styles.Render("~/Content/themes/base/css")
    3942    @Scripts.Render("~/bundles/jqueryui")
    4043    @Scripts.Render("~/bundles/jqueryval")
  • branches/HiveStatistics/sources/HeuristicLab.Services.Hive.Statistics/3.3/Views/Home/Index.cshtml

    r9604 r9617  
    1 @{
    2     ViewBag.Title = "Home Page";
     1@model HeuristicLab.Services.Hive.Statistics.Models.OverallStatus
     2
     3@{
     4    ViewBag.Title = "Status Monitor";
    35}
    4 @*@section featured {
    5     <section class="featured">
    6         <div class="content-wrapper">
    7             <hgroup class="title">
    8                 <h1>@ViewBag.Title.</h1>
    9                 <h2>@ViewBag.Message</h2>
    10             </hgroup>
    11             <p>
    12                 To learn more about ASP.NET MVC visit
    13                 <a href="http://asp.net/mvc" title="ASP.NET MVC Website">http://asp.net/mvc</a>.
    14                 The page features <mark>videos, tutorials, and samples</mark> to help you get the most from ASP.NET MVC.
    15                 If you have any questions about ASP.NET MVC visit
    16                 <a href="http://forums.asp.net/1146.aspx/1?MVC" title="ASP.NET MVC Forum">our forums</a>.
    17             </p>
    18         </div>
    19     </section>
    20 }*@
    21 <h3>We suggest the following:</h3>
    22 <ol class="round">
    23     <li class="one">
    24         <h5>Getting Started</h5>
    25         ASP.NET MVC gives you a powerful, patterns-based way to build dynamic websites that
    26         enables a clean separation of concerns and that gives you full control over markup
    27         for enjoyable, agile development. ASP.NET MVC includes many features that enable
    28         fast, TDD-friendly development for creating sophisticated applications that use
    29         the latest web standards.
    30         <a href="http://go.microsoft.com/fwlink/?LinkId=245151">Learn more…</a>
    31     </li>
    326
    33     <li class="two">
    34         <h5>Add NuGet packages and jump-start your coding</h5>
    35         NuGet makes it easy to install and update free libraries and tools.
    36         <a href="http://go.microsoft.com/fwlink/?LinkId=245153">Learn more…</a>
    37     </li>
     7<h1>Current Status</h1>
    388
    39     <li class="three">
    40         <h5>Find Web Hosting</h5>
    41         You can easily find a web hosting company that offers the right mix of features
    42         and price for your applications.
    43         <a href="http://go.microsoft.com/fwlink/?LinkId=245157">Learn more…</a>
    44     </li>
    45 </ol>
     9<section>
     10    <table>
     11        <tr>
     12            <td>Overall Available Cores</td>
     13            <td>@Model.OverallCurrentlyAvailableCores</td>
     14        </tr>
     15        <tr>
     16            <td>Availabe Cores (real)</td>
     17            <td>@Model.CurrentlyAvailableCores</td>
     18        </tr>
     19        <tr>
     20            <td>System-Wide Waiting Tasks</td>
     21            <td>@Model.CurrentlyJobsWaiting</td>
     22        </tr>
     23        <tr>
     24            <td>Used Cores</td>
     25            <td>@Model.CurrentlyUsedCores</td>
     26        </tr>
     27        <tr>
     28            <td>Overall Avg. CPU Utilization</td>
     29            <td>@Model.OverallCpuUtilization</td>
     30        </tr>
     31        <tr>
     32            <td>Available Avg. CPU Utilization</td>
     33            <td>@Model.AvailableCpuUtilization</td>
     34        </tr>
     35    </table>
     36</section>
     37
     38<section>
     39    <div id="chartdiv" style="height:400px;width:300px;"></div>
     40</section>
     41
     42@section Styles {
     43    @Styles.Render("~/Scripts/jqPlot/jquery.jqplot")
     44}
     45
     46@section Scripts {
     47    @Scripts.Render("~/Scripts/jqPlot/jquery.jqplot")
     48    <script>
     49        $.jqplot('chartdiv', [[[1, 2], [3, 5.12], [5, 13.1], [7, 33.6], [9, 85.9], [11, 219.9]]]);
     50    </script>
     51}
  • branches/HiveStatistics/sources/HeuristicLab.Services.Hive.Statistics/3.3/Views/Shared/_Layout.cshtml

    r9604 r9617  
    99    @Styles.Render("~/Content/css")
    1010    @Scripts.Render("~/bundles/modernizr")
     11    @RenderSection("styles", required: false)
    1112</head>
    1213<body>
     
    2526            </ul>
    2627        </nav>
    27         <section id="body">
     28        <div id="body">
    2829           @RenderBody()
    29         </section>
     30        </div>
    3031        <footer>
    3132            <a href="http://heal.heuristiclab.com/" target="_blank" title="Visit the HeuristicLab website">
Note: See TracChangeset for help on using the changeset viewer.