@model Disco.Web.Areas.Config.Models.Plugins.InstallModel @using Disco.Services.Plugins; @{ Authorization.Require(Claims.Config.Plugin.Install); var canInstallLocal = Authorization.Has(Claims.Config.Plugin.InstallLocal); ViewBag.Title = Html.ToBreadcrumb("Configuration", MVC.Config.Config.Index(), "Plugins", MVC.Config.Plugins.Index(), "Install Plugin"); }

The plugin catalogue [https://discoict.com.au] was last updated @CommonHelpers.FriendlyDate((Model.Catalogue.ResponseTimestamp > DateTime.Now ? DateTime.Now : Model.Catalogue.ResponseTimestamp))

@if (Model.Catalogue.Plugins.Count == 0) {

No Plugins are Available

} else { var plugins = Model.Catalogue.Plugins; int itemsPerColumn = plugins.Count / 3; var itemNextId = 0; @for (int i = 0; i < 3; i++) { } }

 Warning: All plugins run with the same level of network privileges as the Disco Web App.
Only Install plugins from a trusted source.
@if (canInstallLocal) {
@using (Html.BeginForm(MVC.API.Plugin.InstallLocal(), FormMethod.Post, new { enctype = "multipart/form-data" })) { }
 Warning: All plugins run with the same level of network privileges as the Disco Web App.
Only install plugins from a trusted source.
}
@Html.ActionLinkButton("Update Catalogue", MVC.API.Plugin.UpdateLibraryCatalogue()) @if (canInstallLocal) { @Html.ActionLinkButton("Install Plugin Package", MVC.API.Plugin.InstallLocal(), "buttonUpload") }