Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added default/ask/latest option for server upon startup
- Loading branch information
Showing
6 changed files
with
128 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<!DOCTYPE html> | ||
<div class="wrapper"> | ||
<div class="ui middle aligned center aligned grid" style="height: 100vh;"> | ||
<div class="narrow column"> | ||
<h2 class="ui image header"> | ||
<div class="content"> | ||
Connect to Server | ||
</div> | ||
</h2> | ||
|
||
<div class="ui one fluid cards" ng-repeat="server in servers"> | ||
<div class="card"> | ||
<div class="content"> | ||
<div class="header"> | ||
<i class="torrent icon" ng-class="server.getIcon()"></i> | ||
{{server.getName()}} | ||
</div> | ||
<div class="meta"> | ||
{{server.getNameAtAddress()}} | ||
</div> | ||
</div> | ||
<div class="ui bottom attached green button" ng-click="connectToServer(server)"> | ||
Connect | ||
<i class="icon right arrow"></i> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,55 +1,68 @@ | ||
<!DOCTYPE html> | ||
<h1>General Settings</h1> | ||
<div class="ui large divided list"> | ||
<!-- Magnet links --> | ||
<div class="item"> | ||
<div class="right floated middle aligned content"> | ||
<toggle ng-model="general.magnets"></toggle> | ||
<div class="ui three doubling stackable cards"> | ||
<div class="ui card"> | ||
<div class="content"> | ||
<div class="header"> | ||
<i class="asterisk icon"></i> | ||
Startup Connection | ||
</div> | ||
<div class="description"> | ||
Configure which server to connect to when starting the application | ||
</div> | ||
</div> | ||
<div class="center aligned extra content"> | ||
<dropdown class="fluid" title="Connection Mode" ng-model="settings.startup"> | ||
<dropdown-group data-value="default">Default</dropdown-group> | ||
<dropdown-group data-value="ask">Ask</dropdown-group> | ||
<dropdown-group data-value="latest">Latest</dropdown-group> | ||
</dropdown> | ||
</div> | ||
<i class="large magnet middle aligned icon"></i> | ||
<div class="middle aligned content"> | ||
</div> | ||
<div class="ui card"> | ||
<div class="content"> | ||
<div class="header"> | ||
<i class="magnet icon"></i> | ||
Magnet Links | ||
</div> | ||
<div class="description"> | ||
Enabling this makes Electorrent the default program for magnet links | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<!-- Table resize style --> | ||
<div class="item"> | ||
<div class="right floated middle aligned content"> | ||
<dropdown title="Resize Mode" ng-model="settings.ui.resizeMode"> | ||
<dropdown-group data-value="FixedResizer">Fixed</dropdown-group> | ||
<dropdown-group data-value="OverflowResizer">Overflow</dropdown-group> | ||
<dropdown-group data-value="BasicResizer">Basic</dropdown-group> | ||
</dropdown> | ||
<div class="center aligned extra content"> | ||
<toggle ng-model="general.magnets"></toggle> | ||
</div> | ||
<i class="large expand middle aligned icon"></i> | ||
<div class="middle aligned content"> | ||
</div> | ||
<div class="ui card"> | ||
<div class="content"> | ||
<div class="header"> | ||
<i class="expand icon"></i> | ||
Table Resize Style | ||
</div> | ||
<div class="description"> | ||
Changes how the torrent table behaves when resized | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<!-- Notifications --> | ||
<div class="item"> | ||
<div class="right floated middle aligned content"> | ||
<toggle ng-model="settings.ui.notifications"></toggle> | ||
<div class="center aligned extra content"> | ||
<dropdown class="fluid" title="Resize Mode" ng-model="settings.ui.resizeMode"> | ||
<dropdown-group data-value="FixedResizer">Fixed</dropdown-group> | ||
<dropdown-group data-value="OverflowResizer">Overflow</dropdown-group> | ||
<dropdown-group data-value="BasicResizer">Basic</dropdown-group> | ||
</dropdown> | ||
</div> | ||
<i class="large alarm middle aligned icon"></i> | ||
<div class="middle aligned content"> | ||
</div> | ||
<div class="ui card"> | ||
<div class="content"> | ||
<div class="header"> | ||
<i class="alarm icon"></i> | ||
Notifications | ||
</div> | ||
<div class="description"> | ||
Enable desktop notifications | ||
Enable desktop notifications when torrents finishes | ||
</div> | ||
</div> | ||
<div class="center aligned extra content"> | ||
<toggle ng-model="settings.ui.notifications"></toggle> | ||
</div> | ||
</div> | ||
</div> |