Compare commits

..

No commits in common. "2fcb6e1faee7f233b3060933aa37f8c5c23d367e" and "434c84ce5c07b684c0bb3e7e95c5ebad1c2365a9" have entirely different histories.

3 changed files with 8 additions and 32 deletions

View file

@ -1,5 +1,4 @@
@using System.Reflection @inject CustomAuthenticationStateProvider AuthStateProvider;
@inject CustomAuthenticationStateProvider AuthStateProvider;
@inject State State; @inject State State;
<AuthorizeView> <AuthorizeView>
<Authorized> <Authorized>
@ -43,10 +42,6 @@
<i class="fa-solid fa-door-open"></i> <i class="fa-solid fa-door-open"></i>
<span>Logout</span> <span>Logout</span>
</a> </a>
<a class="row medium-opacity">
<i class="fa-solid fa-circle-info tiny"></i>
<small>@assembly.Name - @assembly.Version?.ToString()</small>
</a>
</menu> </menu>
</button> </button>
<small class="s m address"><i class="fa-solid fa-fw fa-at tiny"></i>@State.SelectedAddressName</small> <small class="s m address"><i class="fa-solid fa-fw fa-at tiny"></i>@State.SelectedAddressName</small>
@ -81,7 +76,6 @@
</AuthorizeView> </AuthorizeView>
@code { @code {
AssemblyName assembly = Assembly.GetExecutingAssembly().GetName();
public void changeAddress(AddressResponseData address) { public void changeAddress(AddressResponseData address) {
State.SelectedAddress = address; State.SelectedAddress = address;
} }

View file

@ -13,19 +13,14 @@
</div> </div>
<nav> <nav>
<label class="checkbox" disabled="@loading"> <label class="checkbox">
<InputCheckbox @bind-Value="listed" disabled="@loading"></InputCheckbox> <InputCheckbox @bind-Value="listed"></InputCheckbox>
<span>Include my page in the Now Garden</span> <span>Include my page in the Now Garden</span>
</label> </label>
<div class="max"></div> <div class="max"></div>
<button class="transparent link" onclick="history.back();" disabled="@loading">Cancel</button> <button class="transparent link" onclick="history.back();">Cancel</button>
<button @onclick="Save" disabled="@loading"> <button @onclick="Save">
@if (loading) { <i class="fa-solid fa-floppy-disk"></i> <span>Save</span>
<span>Saving...</span>
}
else {
<i class="fa-solid fa-floppy-disk"></i> <span>Save</span>
}
</button> </button>
</nav> </nav>

View file

@ -238,13 +238,9 @@ dialog {
position:absolute; position:absolute;
left:0; right:0; left:0; right:0;
top:0; bottom:0; top:0; bottom:0;
background-color: var(--surface-container-low); background-color: var(--gray-8);
/*background-image: var(--prami-svg);*/ background-image: var(--prami-svg);
background-size: contain; background-size: contain;
background-repeat: no-repeat;
background-position: center bottom;
border-radius: 50%;
border: 1px dashed var(--gray-4);
z-index:1; z-index:1;
} }
@ -456,12 +452,3 @@ article#directory ul{
.markdown-editor > .EasyMDEContainer > .CodeMirror { .markdown-editor > .EasyMDEContainer > .CodeMirror {
flex: auto; flex: auto;
} }
article {
overflow-wrap: anywhere;
}
nav label {
white-space: break-spaces;
flex: 1 1 100%;
}