EnVisageOnline/Main/Source/EnVisage/Views/CapacityManagement/Index.cshtml

69 lines
2.6 KiB
Plaintext

@using EnVisage.Code
@model EnVisage.Models.CapacityPageInitOption
@{
ViewBag.Title = "Capacity Management";
}
@section stylesheets
{
@Styles.Render(String.Format("{0}/{1}", Constants.C_BUNDLE_STYLES_BASE_PATH, "prevu-acstyles"))
}
@section scripts
{
@Scripts.Render(String.Format("{0}/{1}", Constants.C_BUNDLE_SCRIPTS_BASE_PATH, "flot-scripts"))
@Scripts.Render(String.Format("{0}/{1}", Constants.C_BUNDLE_SCRIPTS_BASE_PATH, "prevu-angularservices"))
@Scripts.Render(String.Format("{0}/{1}", Constants.C_BUNDLE_SCRIPTS_BASE_PATH, "prevu-activitycalendar"))
@Scripts.Render(String.Format("{0}/{1}", Constants.C_BUNDLE_SCRIPTS_BASE_PATH, "prevu-scenariodetails"))
<script>
init.push(function () {
saveLastPageVisited(window.location.pathname);
});
</script>
}
@section pagemenu
{
<ul class="nav navbar-nav navbar-right">
<li class="dropdown">
<a href="javascript:void(0);" class="dropdown-toggle user-menu" data-toggle="dropdown">
<i class="fa fa-bars"></i><span>Page Options</span>&nbsp;<i class="fa fa-caret-down"></i>
</a>
<ul class="dropdown-menu dropdown-menu-right calendar-options-menu" id="visibilitydropdown_calendar"></ul>
</li>
</ul>
<div id="menuCalendarOptionsPrint" style="display:none;">
<ul>
<!--<li><a onclick="_printDoc();$(this).parent().parent().parent().removeClass('open');"><i class="dropdown-icon fa fa-print"></i> Print Page</a></li>-->
<li><a href="@Url.Action("ExportToPDF")" onclick="$(this).parent().parent().parent().removeClass('open');"><i class="dropdown-icon fa fa-file-text-o"></i> Save Page as PDF</a></li>
<li class="divider"></li>
</ul>
</div>
}
@{
var model = new
{
DisplayMode = new
{
MenuId = "visibilitydropdown_calendar",
DataSection = "capacityManagementView",
PageKey = "/CapacityManagement",
BackUrlTitle = "calendar"
},
Filter = new
{
EntityType = Model.EntityType,
EntityId = Model.EntityId
},
TargetPage = "ActivityCalendar"
};
}
<div id="srqBody">
@Html.Partial("~/Views/ActivityCalendar/_capacityManagement.cshtml", model)
</div>
<!-- Modal -->
<div id="createScenario" class="modal fade" tabindex="-1" role="dialog" data-backdrop="static">
<div class="modal-dialog modal-lg">
<div class="modal-content" id="reloadForm">
</div> <!-- / .modal-content -->
</div> <!-- / .modal-dialog -->
</div> <!-- /.modal -->
<!-- / Modal -->