Changes for Preview6
This commit is contained in:
@ -20,7 +20,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@functions {
|
||||
@code {
|
||||
string closeurl;
|
||||
|
||||
protected override void OnInit()
|
||||
|
@ -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=""><Select Module></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=""><Select Pane></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=""><Select Container></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>();
|
||||
|
@ -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()
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
@((MarkupString)logo)
|
||||
|
||||
@functions {
|
||||
@code {
|
||||
string logo = "";
|
||||
|
||||
protected override void OnInit()
|
||||
|
@ -30,7 +30,7 @@
|
||||
}
|
||||
</ul>
|
||||
|
||||
@functions {
|
||||
@code {
|
||||
List<Page> pages;
|
||||
Page parent = null;
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
@title
|
||||
|
||||
@functions {
|
||||
@code {
|
||||
string title = "";
|
||||
|
||||
protected override void OnInit()
|
||||
|
@ -9,7 +9,7 @@
|
||||
|
||||
<NavLink class="btn btn-primary" href="@url">@name</NavLink>
|
||||
|
||||
@functions {
|
||||
@code {
|
||||
string name = "";
|
||||
string url = "";
|
||||
|
||||
|
@ -27,7 +27,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@functions {
|
||||
@code {
|
||||
public override string Name { get { return "Theme1"; } }
|
||||
public override string Panes { get { return "Left;Right"; } }
|
||||
}
|
@ -25,7 +25,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@functions {
|
||||
@code {
|
||||
public override string Name { get { return "Theme2"; } }
|
||||
public override string Panes { get { return "Top;Bottom"; } }
|
||||
}
|
@ -11,7 +11,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@functions {
|
||||
@code {
|
||||
public override string Name { get { return "Horizontal Layout"; } }
|
||||
public override string Panes { get { return "Left;Right"; } }
|
||||
}
|
@ -20,7 +20,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@functions {
|
||||
@code {
|
||||
public override string Name { get { return "Theme3"; } }
|
||||
public override string Panes { get { return ""; } }
|
||||
}
|
@ -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"; } }
|
||||
}
|
Reference in New Issue
Block a user