-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
thank you #1
Comments
Thank you for the wonderful effort I have a serenity vision project MVC please help |
Hello @Qasem2022 DashboardIndex.cshtml @{
ViewData["Title"] = "Dashboard";
ViewData["PageId"] = "Dashboard";
}
@section Head {
@Html.StyleBundle("Pages/Dashboard")
@Html.ScriptBundle("Pages/Dashboard")
}
@section ContentHeader {
<h1>@LocalText.Get("Navigation.Dashboard")</h1>
}
<!-- this is where to put the placeholders -->
<div class="row">
<div class="col-lg-12">
<section id="StatisticsArea">
</section>
</div>
</div>
@section PageInitScript {
new YourProject.Dashboard.Bootstrapper();
} DashboardBootstrapper.ts namespace YourProject.Dashboard {
export class Bootstrapper {
constructor() {
// this is how to initial the widget (StatisticsWidget) and place it to the dashboard placeholder
new YourProject.Dashboard.StatisticsWidget($('#StatisticsArea'), {}).init();
}
}
} |
Thanks for this great effort
Is there an MVC version please
Please
The text was updated successfully, but these errors were encountered: