Changes for Preview6

This commit is contained in:
Shaun Walker
2019-06-19 08:32:04 -04:00
parent 600872d0b0
commit 59a715e468
41 changed files with 107 additions and 105 deletions

View File

@ -20,7 +20,7 @@
</div>
</div>
@functions {
@code {
string closeurl;
protected override void OnInit()

View File

@ -31,7 +31,7 @@
<label for="Module" class="control-label" style="color: white !important;">Module: </label>
@if (moduledefinitions != null)
{
<select class="form-control" bind="@moduledefinitionname">
<select class="form-control" @bind="@moduledefinitionname">
<option value="">&lt;Select Module&gt;</option>
@foreach (var moduledefinition in moduledefinitions)
{
@ -42,7 +42,7 @@
</div>
<div class="form-group">
<label for="Pane" class="control-label" style="color: white !important;">Pane: </label>
<select class="form-control" bind="@pane">
<select class="form-control" @bind="@pane">
<option value="">&lt;Select Pane&gt;</option>
@foreach (string pane in PageState.Page.Panes.Split(';'))
{
@ -52,11 +52,11 @@
</div>
<div class="form-group">
<label for="Title" class="control-label" style="color: white !important;">Title: </label>
<input type="text" name="Title" class="form-control" bind="@title" />
<input type="text" name="Title" class="form-control" @bind="@title" />
</div>
<div class="form-group">
<label for="Container" class="control-label" style="color: white !important;">Container: </label>
<select class="form-control" bind="@containertype">
<select class="form-control" @bind="@containertype">
<option value="">&lt;Select Container&gt;</option>
@foreach (KeyValuePair<string, string> container in containers)
{
@ -64,13 +64,13 @@
}
</select>
</div>
<button type="button" class="btn btn-primary" onclick="@AddModule">Add Module To Page</button>
<button type="button" class="btn btn-primary" @onclick="@AddModule">Add Module To Page</button>
</div>
</div>
</div>
<span class="oi oi-menu" style="@display" onclick="openActions()"></span>
@functions {
@code {
string display = "display: none";
List<ModuleDefinition> moduledefinitions;
Dictionary<string, string> containers = new Dictionary<string, string>();

View File

@ -5,9 +5,9 @@
@inject IUriHelper UriHelper
@inject IJSRuntime jsRuntime
<button type="button" class="btn btn-primary" onclick="@Click">@name</button>
<button type="button" class="btn btn-primary" @onclick="@Click">@name</button>
@functions {
@code {
string name = "";
protected override async Task OnInitAsync()

View File

@ -3,7 +3,7 @@
@((MarkupString)logo)
@functions {
@code {
string logo = "";
protected override void OnInit()

View File

@ -30,7 +30,7 @@
}
</ul>
@functions {
@code {
List<Page> pages;
Page parent = null;

View File

@ -11,12 +11,12 @@
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
@foreach (var action in actions)
{
<a class="dropdown-item" onclick="@(async () => await ModuleAction(action.Action))">@action.Name</a>
<a class="dropdown-item" @onclick="@(async () => await ModuleAction(action.Action))">@action.Name</a>
}
</div>
</div>
@functions {
@code {
string display = "display: none";
List<ActionViewModel> actions;

View File

@ -3,7 +3,7 @@
@title
@functions {
@code {
string title = "";
protected override void OnInit()

View File

@ -9,7 +9,7 @@
<NavLink class="btn btn-primary" href="@url">@name</NavLink>
@functions {
@code {
string name = "";
string url = "";

View File

@ -27,7 +27,7 @@
</div>
</div>
@functions {
@code {
public override string Name { get { return "Theme1"; } }
public override string Panes { get { return "Left;Right"; } }
}

View File

@ -25,7 +25,7 @@
</div>
</div>
@functions {
@code {
public override string Name { get { return "Theme2"; } }
public override string Panes { get { return "Top;Bottom"; } }
}

View File

@ -11,7 +11,7 @@
</div>
</div>
@functions {
@code {
public override string Name { get { return "Horizontal Layout"; } }
public override string Panes { get { return "Left;Right"; } }
}

View File

@ -20,7 +20,7 @@
</div>
</div>
@functions {
@code {
public override string Name { get { return "Theme3"; } }
public override string Panes { get { return ""; } }
}

View File

@ -9,7 +9,7 @@
<Pane Name="Bottom" />
</div>
@functions {
@code {
public override string Name { get { return "Vertical Layout"; } }
public override string Panes { get { return "Top;Bottom"; } }
}