Skip to content
This repository has been archived by the owner on Mar 29, 2024. It is now read-only.

Commit

Permalink
Remove SPN network status
Browse files Browse the repository at this point in the history
  • Loading branch information
dhaavi committed Aug 7, 2023
1 parent 751f631 commit 4b79be9
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 19 deletions.
2 changes: 0 additions & 2 deletions modules/portmaster/src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ import { PromptListComponent } from './shared/prompt-list/prompt-list.component'
import { SecurityLockComponent } from './shared/security-lock';
import { SPNAccountDetailsComponent } from './shared/spn-account-details';
import { SPNLoginComponent } from './shared/spn-login';
import { SPNNetworkStatusComponent } from './shared/spn-network-status';
import { SPNStatusComponent } from './shared/spn-status';
import { PilotWidgetComponent } from './shared/status-pilot';
import { PlaceholderComponent } from './shared/text-placeholder';
Expand Down Expand Up @@ -86,7 +85,6 @@ import { QsHistoryComponent } from './pages/app-view/qs-history/qs-history.compo
SecurityLockComponent,
SPNStatusComponent,
SPNLoginComponent,
SPNNetworkStatusComponent,
SPNAccountDetailsComponent,
NetworkScoutComponent,
EditProfileDialog,
Expand Down
9 changes: 0 additions & 9 deletions modules/portmaster/src/app/layout/side-dash/side-dash.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,6 @@
<app-spn-status class="block w-64"></app-spn-status>

<div class="absolute top-0 right-0 flex flex-row gap-2 pr-4">
<span (click)="openNetworkStatus()"
class="block p-1.5 bg-gray-400 rounded cursor-pointer text-primary hover:bg-gray-300 hover:text-primary">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"
class="w-5 h-5">
<path stroke-linecap="round" stroke-linejoin="round"
d="M12 7.5h1.5m-1.5 3h1.5m-7.5 3h7.5m-7.5 3h7.5m3-9h3.375c.621 0 1.125.504 1.125 1.125V18a2.25 2.25 0 01-2.25 2.25M16.5 7.5V18a2.25 2.25 0 002.25 2.25M16.5 7.5V4.875c0-.621-.504-1.125-1.125-1.125H4.125C3.504 3.75 3 4.254 3 4.875V18a2.25 2.25 0 002.25 2.25h13.5M6 7.5h3v3H6v-3z" />
</svg>
</span>

<span (click)="openAccountDetails()"
class="block p-1.5 bg-gray-400 rounded cursor-pointer text-primary hover:bg-gray-300 hover:text-primary">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"
Expand Down
8 changes: 0 additions & 8 deletions modules/portmaster/src/app/layout/side-dash/side-dash.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { ChangeDetectionStrategy, Component } from '@angular/core';
import { SfngDialogService } from '@safing/ui';
import { SPNAccountDetailsComponent } from 'src/app/shared/spn-account-details';
import { SPNNetworkStatusComponent } from 'src/app/shared/spn-network-status';

@Component({
selector: 'app-side-dash',
Expand All @@ -17,13 +16,6 @@ export class SideDashComponent {
private dialog: SfngDialogService,
) { }

openNetworkStatus() {
this.dialog.create(SPNNetworkStatusComponent, {
autoclose: true,
backdrop: 'light'
})
}

openAccountDetails() {
this.dialog.create(SPNAccountDetailsComponent, {
autoclose: true,
Expand Down

0 comments on commit 4b79be9

Please sign in to comment.