Skip to content

Commit

Permalink
Merge pull request #2 from swapnilsparsh/tarun/disable-some-options
Browse files Browse the repository at this point in the history
Tarun/disable some options
  • Loading branch information
swapnilsparsh authored May 31, 2024
2 parents 5809ecf + e3f460f commit a682dec
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 12 deletions.
10 changes: 5 additions & 5 deletions ui/src/components/blocks/block-connection-details.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<!-- FIREWALL -->

<OnOffButtonControl
<!-- <OnOffButtonControl
v-bind:class="{ lowOpacity: IsPaused }"
text="Firewall"
:onTextClick="onShowFirewallConfig"
Expand All @@ -29,10 +29,10 @@
: null
"
:isProgress="firewallIsProgress"
/>
/> -->

<!-- ANTITRACKER -->
<div class="horizontalLine" />
<!-- <div class="horizontalLine" />
<OnOffButtonControl
text="AntiTracker"
Expand All @@ -51,10 +51,10 @@
this.$store.state.settings.antiTracker?.Hardcore ? '#77152a' : null
"
:isProgress="antitrackerIsProgress"
/>
/> -->

<!-- PROTOCOL -->
<div class="horizontalLine" />
<!-- <div class="horizontalLine" /> -->

<SelectButtonControl
class="leftPanelBlock"
Expand Down
2 changes: 1 addition & 1 deletion ui/src/components/settings/settings-account.vue
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ export default {
sender.shellOpenExternal(`https://www.ivpn.net/account`);
},
addMoreTime() {
sender.shellOpenExternal(`https://www.ivpn.net/account`);
sender.shellOpenExternal(`https://privateline.io/`);
},
},
computed: {
Expand Down
2 changes: 1 addition & 1 deletion ui/src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default {
UpdateWindowWidth: 600,

// shellOpenExternal(...) allows only URLs started with this prefix
URLsAllowedPrefixes: ["https://privateline.io/"],
URLsAllowedPrefixes: ["https://privateline.io/", "x-apple.systempreferences:"],
URLApps: "https://www.ivpn.net/apps/",

IsDebug,
Expand Down
5 changes: 2 additions & 3 deletions ui/src/views/Component-Main.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
<div class="leftPanelTopSpace">
<transition name="smooth-display">
<div
v-if="isMinimizedButtonsVisible"
class="minimizedButtonsPanel leftPanelTopMinimizedButtonsPanel"
v-bind:class="{
minimizedButtonsPanelRightElements: isWindowHasFrame,
Expand All @@ -18,9 +17,9 @@
<img src="@/assets/settings.svg" />
</button>

<button v-on:click="onMaximize(true)" title="Show map">
<!-- <button v-on:click="onMaximize(true)" title="Show map">
<img src="@/assets/maximize.svg" />
</button>
</button> -->
</div>
</transition>
</div>
Expand Down
4 changes: 2 additions & 2 deletions ui/src/views/Component-Settings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
>
Connection
</button>
<button
<!-- <button
v-if="isLoggedIn"
class="noBordersBtn tabTitleBtn"
v-on:click="onView('firewall')"
Expand Down Expand Up @@ -107,7 +107,7 @@
}"
>
Advanced
</button>
</button> -->

<!--
<button
Expand Down

0 comments on commit a682dec

Please sign in to comment.