| @ -110,7 +110,7 @@ | ||||
|  | ||||
|     public override SecurityAccessLevel SecurityAccessLevel => SecurityAccessLevel.Admin; | ||||
|  | ||||
|     public override string Title => "Folder Management"; | ||||
|     public override string Title => Localizer["FolderManagement.Title"]; | ||||
|  | ||||
|     protected override async Task OnInitializedAsync() | ||||
|     { | ||||
|  | ||||
| @ -11,7 +11,7 @@ | ||||
| else | ||||
| { | ||||
|     <ActionLink Action="Log" Class="btn btn-secondary" Text="View Logs" ResourceKey="ViewJobs" /> | ||||
|     <button type="button" class="btn btn-secondary" @onclick="(async () => await Refresh())">Refresh</button> | ||||
|     <button type="button" class="btn btn-secondary" @onclick="(async () => await Refresh())">@Localizer["Refresh"]</button> | ||||
|     <br /> | ||||
|     <br /> | ||||
|  | ||||
|  | ||||
| @ -16,7 +16,7 @@ | ||||
| else | ||||
| { | ||||
|     <TabStrip> | ||||
|         <TabPanel Name="Manage" ResourceKey="Manage"> | ||||
|         <TabPanel Name="Manage" ResourceKey="Manage" Heading="Manage"> | ||||
|             <form @ref="form" class="@(validated ? "was-validated" : "needs-validation")" novalidate> | ||||
|                 <div class="container"> | ||||
| 					<div class="row mb-1 align-items-center"> | ||||
| @ -45,7 +45,7 @@ else | ||||
| 				<NavLink class="btn btn-secondary" href="@NavigateUrl()">@SharedLocalizer["Cancel"]</NavLink> | ||||
|             </form> | ||||
|         </TabPanel> | ||||
|         <TabPanel Name="Upload" ResourceKey="Upload" Security="SecurityAccessLevel.Host"> | ||||
|         <TabPanel Name="Upload" ResourceKey="Upload" Security="SecurityAccessLevel.Host" Heading="Upload"> | ||||
|             <div class="container"> | ||||
|                 <div class="row mb-1 align-items-center"> | ||||
|                     <Label Class="col-sm-3" HelpText="Upload one or more translations. Once they are uploaded click Install." ResourceKey="LanguageUpload">Translation: </Label> | ||||
|  | ||||
| @ -24,7 +24,7 @@ | ||||
|         <div class="row justify-content-center mb-3"> | ||||
|             <div class="col"> | ||||
|                 <div class="input-group"> | ||||
|                     <span class="input-group-text">Product</span> | ||||
|                     <span class="input-group-text">@Localizer["Product"]</span> | ||||
|                     <input id="search" class="form-control" placeholder="@SharedLocalizer["Search.Hint"]" @bind="@_search" /> | ||||
|                     <button type="button" class="btn btn-primary" @onclick="Search">@SharedLocalizer["Search"]</button> | ||||
|                     <button type="button" class="btn btn-secondary" @onclick="Reset">@SharedLocalizer["Reset"]</button> | ||||
| @ -113,7 +113,7 @@ | ||||
|         <br /> | ||||
|         <ModuleMessage Type="MessageType.Info" Message="@SharedLocalizer["Oqtane.Marketplace"]" /> | ||||
|     </TabPanel> | ||||
|     <TabPanel Name="Upload" ResourceKey="Upload"> | ||||
|     <TabPanel Name="Upload" ResourceKey="Upload" Heading="Upload"> | ||||
|         <div class="container"> | ||||
|             <div class="row mb-1 align-items-center"> | ||||
|                 <Label Class="col-sm-3" HelpText="Upload one or more module packages. Once they are uploaded click Install to complete the installation." ResourceKey="Module">Module: </Label> | ||||
|  | ||||
| @ -10,7 +10,7 @@ | ||||
| { | ||||
|     <form @ref="form" class="@(validated ? "was-validated" : "needs-validation")" novalidate> | ||||
|         <TabStrip Refresh="@_refresh"> | ||||
|             <TabPanel Name="Settings" ResourceKey="Settings"> | ||||
|             <TabPanel Name="Settings" ResourceKey="Settings" Heading=@Localizer["Settings.Heading"]> | ||||
|                 <div class="container"> | ||||
|                     <div class="row mb-1 align-items-center"> | ||||
|                         <Label Class="col-sm-3" For="name" HelpText="Enter the page name" ResourceKey="Name">Name: </Label> | ||||
| @ -126,7 +126,7 @@ | ||||
|                     </div> | ||||
|                 </div> | ||||
|  | ||||
|                 <Section Name="Appearance" Heading="Appearance" ResourceKey="Appearance"> | ||||
|                 <Section Name="Appearance" ResourceKey="Appearance" Heading=@Localizer["Appearance.Name"]> | ||||
|                     <div class="container"> | ||||
|                         <div class="row mb-1 align-items-center"> | ||||
|                             <Label Class="col-sm-3" For="title" HelpText="Optionally enter the page title. If you do not provide a page title, the page name will be used." ResourceKey="Title">Title: </Label> | ||||
| @ -158,7 +158,7 @@ | ||||
|                         </div> | ||||
|                     </div> | ||||
|                 </Section> | ||||
|                 <Section Name="PageContent" Heading="Page Content" ResourceKey="PageContent"> | ||||
|                 <Section Name="PageContent" ResourceKey="PageContent" Heading=@Localizer["PageContent.Heading"]> | ||||
|                     <div class="container"> | ||||
|                         <div class="row mb-1 align-items-center"> | ||||
|                             <Label Class="col-sm-3" For="headcontent" HelpText="Optionally enter content to be included in the page head (ie. meta, link, or script tags)" ResourceKey="HeadContent">Head Content: </Label> | ||||
| @ -175,7 +175,7 @@ | ||||
|                     </div> | ||||
|                 </Section> | ||||
|             </TabPanel> | ||||
|             <TabPanel Name="Permissions" ResourceKey="Permissions"> | ||||
|             <TabPanel Name="Permissions" ResourceKey="Permissions" Heading=@Localizer["Permissions.Heading"]> | ||||
|                 <div class="container"> | ||||
|                     <div class="row mb-1 align-items-center"> | ||||
|                         <PermissionGrid EntityName="@EntityNames.Page" Permissions="@_permissions" @ref="_permissionGrid" /> | ||||
| @ -184,7 +184,7 @@ | ||||
|             </TabPanel> | ||||
|             @if (_themeSettingsType != null) | ||||
|             { | ||||
|                 <TabPanel Name="ThemeSettings" Heading="Theme Settings" ResourceKey="ThemeSettings"> | ||||
|                 <TabPanel Name="ThemeSettings" Heading=@Localizer["Theme.Heading"] ResourceKey="ThemeSettings"> | ||||
|                     @ThemeSettingsComponent | ||||
|                 </TabPanel> | ||||
|             } | ||||
|  | ||||
| @ -137,7 +137,7 @@ | ||||
|                             </div> | ||||
|                         </div> | ||||
|                     </div> | ||||
|                     <Section Name="Appearance" ResourceKey="Appearance"> | ||||
|                     <Section Name="Appearance" ResourceKey="Appearance" Heading="Appearance"> | ||||
|                         <div class="container"> | ||||
|                             <div class="row mb-1 align-items-center"> | ||||
|                                 <Label Class="col-sm-3" For="title" HelpText="Optionally enter the page title. If you do not provide a page title, the page name will be used." ResourceKey="Title">Title: </Label> | ||||
| @ -189,7 +189,7 @@ | ||||
|                     <br /> | ||||
|                     <AuditInfo CreatedBy="@_createdby" CreatedOn="@_createdon" ModifiedBy="@_modifiedby" ModifiedOn="@_modifiedon" DeletedBy="@_deletedby" DeletedOn="@_deletedon"></AuditInfo> | ||||
|                 </TabPanel> | ||||
|                 <TabPanel Name="Permissions" ResourceKey="Permissions"> | ||||
|                 <TabPanel Name="Permissions" ResourceKey="Permissions" Heading="Permissions"> | ||||
|                     <div class="container"> | ||||
|                         <div class="row mb-1 align-items-center"> | ||||
|                             <PermissionGrid EntityName="@EntityNames.Page" PermissionList="@_permissions" @ref="_permissionGrid" /> | ||||
|  | ||||
| @ -14,7 +14,7 @@ | ||||
| else | ||||
| { | ||||
| 	<TabStrip> | ||||
| 		<TabPanel Name="Pages" ResourceKey="Pages"> | ||||
| 		<TabPanel Name="Pages" ResourceKey="Pages" Heading="Pages"> | ||||
| 			@if (!_pages.Where(item => item.IsDeleted).Any()) | ||||
| 			{ | ||||
| 				<br /> | ||||
| @ -31,7 +31,7 @@ else | ||||
| 						<th>@Localizer["DeletedOn"]</th> | ||||
| 					</Header> | ||||
| 					<Row> | ||||
| 						<td><button type="button" @onclick="@(() => RestorePage(context))" class="btn btn-success" title="Restore">Restore</button></td> | ||||
|                         <td><button type="button" @onclick="@(() => RestorePage(context))" class="btn btn-success" title="Restore">@Localizer["Restore"]</button></td> | ||||
| 						<td><ActionDialog Header="Delete Page" Message="@string.Format(Localizer["Confirm.Page.Delete"], context.Name)" Action="Delete" Security="SecurityAccessLevel.Admin" Class="btn btn-danger" OnClick="@(async () => await DeletePage(context))" ResourceKey="DeletePage" /></td> | ||||
| 						<td>@context.Name</td> | ||||
| 						<td>@context.DeletedBy</td> | ||||
| @ -42,7 +42,7 @@ else | ||||
| 				<ActionDialog Header="Remove All Deleted Pages" Message="Are You Sure You Wish To Permanently Remove All Deleted Pages?" Action="Remove All Deleted Pages" Security="SecurityAccessLevel.Admin" Class="btn btn-danger" OnClick="@(async () => await DeleteAllPages())" ResourceKey="DeleteAllPages" /> | ||||
| 			} | ||||
| 		</TabPanel> | ||||
| 		<TabPanel Name="Modules" ResourceKey="Modules"> | ||||
| 		<TabPanel Name="Modules" ResourceKey="Modules" Heading="Modules"> | ||||
| 			@if (!_modules.Where(item => item.IsDeleted).Any()) | ||||
| 			{ | ||||
| 				<br /> | ||||
|  | ||||
| @ -26,7 +26,7 @@ | ||||
|                 <Label Class="col-sm-3" For="homepage" HelpText="Select the home page for the site (to be used if there is no page with a path of '/')" ResourceKey="HomePage">Home Page: </Label> | ||||
|                 <div class="col-sm-9"> | ||||
|                     <select id="homepage" class="form-select" @bind="@_homepageid" required> | ||||
| 						<option value="-"><@Localizer["Not Specified"]></option> | ||||
|                         <option value="-"><@SharedLocalizer["Not Specified"]></option> | ||||
|                         @foreach (Page page in PageState.Pages) | ||||
|                         { | ||||
| 							if (UserSecurity.ContainsRole(page.PermissionList, PermissionNames.View, RoleNames.Everyone)) | ||||
|  | ||||
| @ -27,7 +27,7 @@ | ||||
|             </div> | ||||
|         </div> | ||||
|     </form> | ||||
|     <Section Name="Information" ResourceKey="Information"> | ||||
|     <Section Name="Information" ResourceKey="Information" Heading="Information"> | ||||
|         <div class="container"> | ||||
|              <div class="row mb-1 align-items-center"> | ||||
|                 <Label Class="col-sm-3" For="themename" HelpText="The internal name of the module" ResourceKey="InternalName">Internal Name: </Label> | ||||
|  | ||||
| @ -17,11 +17,11 @@ | ||||
|         } | ||||
|         else | ||||
|         { | ||||
|             <ModuleMessage Type="MessageType.Info" Message="Framework Is Already Up To Date"></ModuleMessage> | ||||
|             <ModuleMessage Type="MessageType.Info" Message=@Localizer["Message.Text"]></ModuleMessage> | ||||
|         } | ||||
|     </TabPanel> | ||||
|     <TabPanel Name="Upload" ResourceKey="Upload"> | ||||
|         <ModuleMessage Type="MessageType.Info" Message="Upload A Framework Package (Oqtane.Framework.version.nupkg) And Then Select Upgrade"></ModuleMessage> | ||||
|         <ModuleMessage Type="MessageType.Info" Message=@Localizer["MessgeUpgrade.Text"]></ModuleMessage> | ||||
|         <div class="container"> | ||||
|             <div class="row mb-1 align-items-center"> | ||||
|                 <Label Class="col-sm-3" HelpText="Upload A Framework Package And Then Select Upgrade" ResourceKey="Framework">Framework: </Label> | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Leigh Pointer
					Leigh Pointer