Edit mode improvements
This commit is contained in:
@ -62,6 +62,17 @@
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<label for="Name" class="control-label">Edit Mode? </label>
|
||||
</td>
|
||||
<td>
|
||||
<select class="form-control" @bind="@editmode">
|
||||
<option value="True">Yes</option>
|
||||
<option value="False">No</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<label for="Name" class="control-label">Theme: </label>
|
||||
@ -123,6 +134,7 @@
|
||||
string parentid;
|
||||
string order = "";
|
||||
string isnavigation = "True";
|
||||
string editmode = "False";
|
||||
string themetype;
|
||||
string layouttype = "";
|
||||
string icon = "";
|
||||
@ -166,6 +178,7 @@
|
||||
page.Path = path;
|
||||
page.Order = (order == null ? 1 : Int32.Parse(order));
|
||||
page.IsNavigation = (isnavigation == null ? true : Boolean.Parse(isnavigation));
|
||||
page.EditMode = (editmode == null ? true : Boolean.Parse(editmode));
|
||||
page.ThemeType = themetype;
|
||||
page.LayoutType = (layouttype == null ? "" : layouttype);
|
||||
page.Icon = (icon == null ? "" : icon);
|
||||
|
Reference in New Issue
Block a user