Browse Source

Removed unused bundles

tags/3.0.0
Teknikode 2 years ago
parent
commit
d8c681665b

+ 0
- 4
Teknik/Areas/User/UserAreaRegistration.cs View File

@@ -171,23 +171,19 @@ namespace Teknik.Areas.Users
"~/Areas/User/Scripts/Settings.js"));

BundleTable.Bundles.Add(new CdnScriptBundle("~/bundles/user/settings/blog", config.CdnHost).Include(
"~/Scripts/jquery.blockUI.js",
"~/Areas/User/Scripts/BlogSettings.js"));

BundleTable.Bundles.Add(new CdnScriptBundle("~/bundles/user/settings/invite", config.CdnHost).Include(
"~/Areas/User/Scripts/InviteSettings.js"));

BundleTable.Bundles.Add(new CdnScriptBundle("~/bundles/user/settings/profile", config.CdnHost).Include(
"~/Scripts/jquery.blockUI.js",
"~/Areas/User/Scripts/ProfileSettings.js"));

BundleTable.Bundles.Add(new CdnScriptBundle("~/bundles/user/settings/security", config.CdnHost).Include(
"~/Scripts/jquery.blockUI.js",
"~/Scripts/bootstrap-switch.js",
"~/Areas/User/Scripts/SecuritySettings.js"));

BundleTable.Bundles.Add(new CdnScriptBundle("~/bundles/user/settings/upload", config.CdnHost).Include(
"~/Scripts/jquery.blockUI.js",
"~/Scripts/bootstrap-switch.js",
"~/Areas/User/Scripts/UploadSettings.js"));


+ 0
- 1
Teknik/Areas/User/Views/User/Settings/BlogSettings.cshtml View File

@@ -11,7 +11,6 @@
var editURL = '@Url.SubRouteUrl("user", "User.Action", new { action = "EditBlog" })';
</script>

@Styles.Render("~/Content/user/settings/blog")
@Scripts.Render("~/bundles/user/settings/blog")



+ 0
- 1
Teknik/Areas/User/Views/User/Settings/InviteSettings.cshtml View File

@@ -7,7 +7,6 @@
Layout = "~/Areas/User/Views/User/Settings/Settings.cshtml";
}

@Styles.Render("~/Content/user/settings/invite")
@Scripts.Render("~/bundles/user/settings/invite")

<script nonce="@Context.Items[Constants.NONCE_KEY]">

+ 0
- 1
Teknik/Areas/User/Views/User/Settings/ProfileSettings.cshtml View File

@@ -11,7 +11,6 @@
var editURL = '@Url.SubRouteUrl("user", "User.Action", new { action = "EditProfile" })';
</script>

@Styles.Render("~/Content/user/settings/profile")
@Scripts.Render("~/bundles/user/settings/profile")

<form class="form" action="##" method="post" id="updateForm">

+ 0
- 1
Teknik/Areas/User/Views/User/Settings/Settings.cshtml View File

@@ -7,7 +7,6 @@
@using Teknik.Utilities
@using Teknik.Areas.Users.ViewModels

@Styles.Render("~/Content/user/settings")
@Scripts.Render("~/bundles/user/settings")

<script nonce="@Context.Items[Constants.NONCE_KEY]">

Loading…
Cancel
Save