Skip to content

Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.

3.0 KB
Raw Blame
@model GeneralCommonSettingsModel
@{
    //page title
    ViewBag.Title = Loc["Admin.Settings.GeneralCommon"];
}
<form asp-area="@Constants.AreaAdmin" asp-controller="Setting" asp-action="GeneralCommon" method="post">
    <div asp-validation-summary="All"></div>
    @* the store scope, then one tab per settings group; Save commits every tab *@
    <admin-page sticky title="@Loc["Admin.Settings.GeneralCommon"]" icon="bi-sliders">
        <page-actions>
            <button class="btn btn-primary" type="submit" name="save">
                <i class="bi bi-check-lg"></i> @Loc["Admin.Common.Save"]
            </button>
            <vc:admin-widget widget-zone="general_common_settings_buttons" additional-data="null"/>
        </page-actions>

        @await Component.InvokeAsync("StoreScope")

        <vc:admin-widget widget-zone="general_common_settings_top" additional-data="null"/>
        <admin-tabstrip name="generalsettings-edit">
            <items>
                <tabstrip-item text="@Loc["Admin.Settings.GeneralCommon.StoreInformationSettings"]" tab-index="0">
                    <content>
                        <div>
                            <partial name="Partials/GeneralCommon.TabStoreInformationSettings" model="Model"/>
                        </div>
                    </content>
                </tabstrip-item>
                <tabstrip-item text="@Loc["Admin.Settings.GeneralCommon.SEOSettings"]" tab-index="1">
                    <content>
                        <div>
                            <partial name="Partials/GeneralCommon.TabSEOSettings" model="Model"/>
                        </div>
                    </content>
                </tabstrip-item>
                <tabstrip-item text="@Loc["Admin.Settings.GeneralCommon.SecuritySettings"]" tab-index="2">
                    <content>
                        <div>
                            <partial name="Partials/GeneralCommon.TabSecuritySettings" model="Model"/>
                        </div>
                    </content>
                </tabstrip-item>
                <tabstrip-item text="@Loc["Admin.Settings.GeneralCommon.PdfSettings"]" tab-index="3">
                    <content>
                        <div>
                            <partial name="Partials/GeneralCommon.TabPdfSettings" model="Model"/>
                        </div>
                    </content>
                </tabstrip-item>
                <tabstrip-item text="@Loc["Admin.Settings.GeneralCommon.DisplayMenu"]" tab-index="4">
                    <content>
                        <div>
                            <partial name="Partials/GeneralCommon.TabMenuSettings" model="Model"/>
                        </div>
                    </content>
                </tabstrip-item>
                <vc:admin-widget widget-zone="general_common_settings_details_tabs" additional-data="Model"/>
            </items>
        </admin-tabstrip>
        <vc:admin-widget widget-zone="general_common_settings_bottom" additional-data="null"/>
    </admin-page>
</form>