@model Disco.Web.Areas.Config.Models.Plugins.IndexViewModel @using Disco.Services.Plugins; @{ ViewBag.Title = Html.ToBreadcrumb("Configuration", MVC.Config.Config.Index(), "Plugins"); } @{ if (Model.PluginManifests.Count == 0) {

No Plugins are Installed

} else { var pluginGroups = Model.PluginManifestsByType; int itemsPerColumn = pluginGroups.Count / 3; var itemNextId = 0; @for (int i = 0; i < 3; i++) { }
@Html.DropDownList("uninstallPlugin", Model.PluginManifests.ToSelectListItems(null, true, "Select a Plugin to Uninstall"))
Are you sure you want to uninstall this plugin?

} }
@using (Html.BeginForm(MVC.API.Plugin.Install(), 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.
@if (Model.PluginManifests.Count > 0) { @Html.ActionLinkButton("Uninstall Plugins", MVC.Config.Plugins.Index(), "buttonUninstall") } @Html.ActionLinkButton("Install Plugins", MVC.Config.Plugins.Index(), "buttonInstall")