Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HiveStatistics/sources/HeuristicLab.Services.Hive.Statistics/3.3/App_Start/BundleConfig.cs @ 9625

Last change on this file since 9625 was 9625, checked in by pfleck, 11 years ago

#2063:
Insert charts on index page for CPU utilization, cores and memory usage.
Added html helper for generating chart javascript.
Added ChartDataController for generating JSON data for the charts.

File size: 3.0 KB
Line 
1#region License Information
2/* HeuristicLab
3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
4 *
5 * This file is part of HeuristicLab.
6 *
7 * HeuristicLab is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * HeuristicLab is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>.
19 */
20#endregion
21
22using System.Web.Optimization;
23
24namespace HeuristicLab.Services.Hive.Statistics {
25  public static class BundleConfig {
26    public static void RegisterBundles(BundleCollection bundles) {
27      bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
28                  "~/Scripts/jquery-{version}.js"));
29
30      bundles.Add(new ScriptBundle("~/bundles/jqueryui").Include(
31                  "~/Scripts/jquery-ui-{version}.js"));
32
33      bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
34                  "~/Scripts/jquery.unobtrusive*",
35                  "~/Scripts/jquery.validate*"));
36
37      bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
38                  "~/Scripts/modernizr-*"));
39
40      bundles.Add(new StyleBundle("~/Content/css").Include(
41                  "~/Content/site.css"));
42
43      bundles.Add(new StyleBundle("~/Content/themes/base/css").Include(
44                  "~/Content/themes/base/jquery.ui.core.css",
45                  "~/Content/themes/base/jquery.ui.resizable.css",
46                  "~/Content/themes/base/jquery.ui.selectable.css",
47                  "~/Content/themes/base/jquery.ui.accordion.css",
48                  "~/Content/themes/base/jquery.ui.autocomplete.css",
49                  "~/Content/themes/base/jquery.ui.button.css",
50                  "~/Content/themes/base/jquery.ui.dialog.css",
51                  "~/Content/themes/base/jquery.ui.slider.css",
52                  "~/Content/themes/base/jquery.ui.tabs.css",
53                  "~/Content/themes/base/jquery.ui.datepicker.css",
54                  "~/Content/themes/base/jquery.ui.progressbar.css",
55                  "~/Content/themes/base/jquery.ui.theme.css"));
56
57      bundles.Add(new ScriptBundle("~/Scripts/jqPlot/jquery.jqplot").Include(
58                  "~/Scripts/jqPlot/jquery.jqplot.js",
59                  "~/Scripts/jqPlot/plugins/jqplot.highlighter.js",
60                  "~/Scripts/jqPlot/plugins/jqplot.dateAxisRenderer.js",
61                  "~/Scripts/jqPlot/plugins/jqplot.cursor.js"));
62
63      bundles.Add(new StyleBundle("~/Styles/jqPlot/jquery.jqplot").Include(
64                  "~/Scripts/jqPlot/jquery.jqplot.css"));
65    }
66  }
67}
Note: See TracBrowser for help on using the repository browser.