Update to new angular style

This commit is contained in:
2025-08-07 22:49:05 -07:00
parent aaba96a8c4
commit e89a8cd3d0
5 changed files with 46 additions and 23 deletions
+13 -10
View File
@@ -3,16 +3,19 @@
</div>
<a class="top-bar-logo" routerLink="">
<img class="top-bar-logo" style="margin: 0;" src="img/logo-full.png" />
<img class="top-bar-logo" style="margin: 0;" src="img/MistoxLogo.png" />
</a>
<div *ngIf="auth.isLoggedIn" class="top-bar-buttons flex-right">
<a class="nav-button nav-button-login" routerLink="/account/settings"><span>{{ auth.loggedInUser.userName.toUpperCase() }}</span></a>
<a class="nav-button nav-button-login" routerLink="/account/logout"><span>LOGOUT</span></a>
@if (auth.isLoggedIn) {
<div class="top-bar-buttons flex-right">
<a class="nav-button" routerLink="/account/settings"><span>{{ auth.loggedInUser.userName.toUpperCase() }}</span></a>
<a class="nav-button" routerLink="/account/logout"><span>LOGOUT</span></a>
</div>
<div *ngIf="!auth.isLoggedIn" class="top-bar-buttons flex-right">
<a class="nav-button nav-button-login" routerLink="/account/login"><span>LOGIN</span></a>
<a class="nav-button nav-button-login" routerLink="/account/register"><span>REGISTER</span></a>
} @else {
<div class="top-bar-buttons flex-right">
<a class="nav-button" routerLink="/account/login"><span>LOGIN</span></a>
<a class="nav-button" routerLink="/account/register"><span>REGISTER</span></a>
</div>
}
</div>
<div class="content">
<router-outlet></router-outlet>
@@ -23,9 +26,9 @@
<a class="nav-button-bottom bottom-bar-padding" routerLink="/privacy">PRIVACY</a>
<a class="nav-button-bottom bottom-bar-padding" routerLink="/about">ABOUT</a>
</div>
<a class="bottom-bar-logo" href="https://mistox.com">
<img src="img/mistox-logo.png" />
</a>
<div class="bottom-bar-logo">
</div>
<div class="bottom-bar-buttons flex-right bottom-bar-float">
<div class="bottom-bar-padding">
<span>Mistox LLC</span>
@@ -16,8 +16,13 @@
</div>
</div>
<ul *ngIf="errorMsgs.length > 0" >
<li *ngFor="let msg of errorMsgs" >{{ msg }}</li>
@if(errorMsgs.length > 0){
<ul>
@for(msg of errorMsgs; track msg.length ){
<li>{{ msg }}</li>
}
</ul>
}
</form>
</div>
@@ -28,8 +28,13 @@
</div>
</div>
<ul *ngIf="errorMsgs.length > 0" >
<li *ngFor="let msg of errorMsgs" >{{ msg }}</li>
@if(errorMsgs.length > 0){
<ul>
@for(msg of errorMsgs; track msg.length ){
<li>{{ msg }}</li>
}
</ul>
}
</form>
</div>
@@ -28,8 +28,13 @@
</div>
</div>
<ul *ngIf="errorMsgs.length > 0" >
<li *ngFor="let msg of errorMsgs" >{{ msg }}</li>
@if(errorMsgs.length > 0){
<ul>
@for(msg of errorMsgs; track msg.length ){
<li>{{ msg }}</li>
}
</ul>
}
</form>
</div>
@@ -22,8 +22,13 @@
</div>
</div>
<ul *ngIf="errorMsgs.length > 0" >
<li *ngFor="let msg of errorMsgs" >{{ msg }}</li>
@if(errorMsgs.length > 0){
<ul>
@for(msg of errorMsgs; track msg.length ){
<li>{{ msg }}</li>
}
</ul>
}
</form>
</div>