Finish upgrade to Preview9

This commit is contained in:
Shaun Walker
2019-09-15 18:36:39 -04:00
parent add3728a84
commit 61dc27cf32
38 changed files with 77 additions and 39 deletions

View File

@ -1,4 +1,5 @@
@using Microsoft.AspNetCore.Components.Routing
@using Microsoft.AspNetCore.Components.Web
@using Oqtane.Modules.Controls
@using Oqtane.Models
@using Oqtane.Services
@ -31,7 +32,7 @@
<option value="">&lt;Site Root&gt;</option>
@foreach (Page page in pages)
{
<option value="@(page.PageId)">@(new string('-',page.Level * 2))@(page.Name)</option>
<option value="@(page.PageId)">@(new string('-', page.Level * 2))@(page.Name)</option>
}
</select>
</td>
@ -141,14 +142,14 @@
Dictionary<string, string> panelayouts = new Dictionary<string, string>();
List<Page> pages;
string name;
string name = "";
string parentid;
string insert;
string insert = ">>";
List<Page> children;
int childid = -1;
string isnavigation = "True";
string editmode = "False";
string themetype;
string themetype = "";
string layouttype = "";
string icon = "";
string permissions = ""; // need to set default permissions