Skip to content

jcdcdev/Umbraco.Community.SimpleDashboards

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Umbraco.Community.SimpleDashboards

Umbraco Marketplace GitHub License NuGet Downloads Project Website

This packages aims to help developers quickly put together Umbraco Dashboards using C# only.

Basic Dashboard in the Umbraco Office

Features

  • C# dashboard creation
  • No javascript or umbraco-package.json files required
  • Supports both Views & View Components
  • Easy to define section permissions

Quick Start

Install Package

dotnet add package Umbraco.Community.SimpleDashboards 

Register Dashboard

By default, this will display in the content section for Admins only.

using Umbraco.Community.SimpleDashboards.Web; 
public class BasicDashboard : SimpleDashboard { }

Create View

  • Your view must go in /Views/Dashboard
  • You view must be the name of your C# class (without Dashboard)
    • For example: BasicDashboard.cs => /Views/Dashboard/Basic.cshtml
@inherits Umbraco.Community.SimpleDashboards.Web.DashboardViewPage

<uui-box headline="Hello Umbraco">
    <p>My Dashboard is: @Model.Dashboard.Alias</p>
</uui-box>

More Examples

docs/examples.md

Contributing

Contributions to this package are most welcome! Please read the Contributing Guidelines.

Acknowledgments (thanks!)