Skip to content

Commit

Permalink
Some styling for torrentdialog and condense and sort search engine na…
Browse files Browse the repository at this point in the history
…mes. Skip nyaa.se for now. re #413
  • Loading branch information
SchizoDuckie committed May 14, 2015
1 parent ecd277f commit 306429f
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 5 deletions.
8 changes: 8 additions & 0 deletions css/dialogs.css
Expand Up @@ -44,3 +44,11 @@
.modal-content a {
color: #E0E0E0;
}

.modal-content .table a {
text-decoration: none;
}

.modal-content .table strong {
color: white;
}
3 changes: 2 additions & 1 deletion gulpfile.js
Expand Up @@ -30,7 +30,8 @@ var nightly = false; // for nightly builds


// scripts are provided in order to prevent any problems with the load order
var scripts = ['./js/ap*.js', './js/controllers/*.js', './js/controllers/*/*.js', './js/directives/*.js', './js/services/*.js', './js/services/*/*.js'];
var scripts = ['./js/ap*.js', './js/controllers/*.js', './js/controllers/*/*.js', './js/directives/*.js', './js/services/*.js', './js/services/*/*.js', '!./js/**/**/Nyaa.js'];


/**
* Dependencies for the app, will be rolled into deps.js
Expand Down
2 changes: 1 addition & 1 deletion js/services/TorrentSearchEngines/KickassTorrents.js
@@ -1,7 +1,7 @@
DuckieTV.run(["TorrentSearchEngines", "$q", "$http", "$injector",
function(TorrentSearchEngines, $q, $http, $injector) {

TorrentSearchEngines.registerSearchEngine('KickAssTorrents', new GenericTorrentSearchEngine({
TorrentSearchEngines.registerSearchEngine('KickAss', new GenericTorrentSearchEngine({
mirror: 'https://kat.cr',
mirrorSettingsKey: 'KickAssTorrents.mirror', // where to grab custom mirror from settings.
mirrorResolver: null, //'KickassMirrorResolver'
Expand Down
2 changes: 1 addition & 1 deletion js/services/TorrentSearchEngines/Nyaa.js
@@ -1,7 +1,7 @@
DuckieTV.run(["TorrentSearchEngines", "$q", "$http", "$injector",
function(TorrentSearchEngines, $q, $http, $injector) {

TorrentSearchEngines.registerSearchEngine('nyaa.se', new GenericTorrentSearchEngine({
TorrentSearchEngines.registerSearchEngine('Nyaa', new GenericTorrentSearchEngine({
mirror: 'http://www.nyaa.se',
mirrorResolver: null,
endpoints: {
Expand Down
2 changes: 1 addition & 1 deletion js/services/TorrentSearchEngines/Torrentz.eu.js
@@ -1,7 +1,7 @@
DuckieTV.run(["TorrentSearchEngines", "$q", "$http", "$injector",
function(TorrentSearchEngines, $q, $http, $injector) {

TorrentSearchEngines.registerSearchEngine('Torrentz.eu', new GenericTorrentSearchEngine({
TorrentSearchEngines.registerSearchEngine('Torrentz', new GenericTorrentSearchEngine({
mirror: 'https://torrentz.eu',
mirrorResolver: null,
endpoints: {
Expand Down
2 changes: 1 addition & 1 deletion templates/torrentDialog.html
Expand Up @@ -12,7 +12,7 @@ <h1>{{'TORRENTDIALOG/hdr'|translate}}</h1>
</div>

<div class="btn-group">
<button ng-repeat="name in clients" type="button" class="btn btn-default" ng-class="{'active': searchprovider == name}" ng-click="setProvider(name)">{{name}}</button>
<button ng-repeat="name in clients |orderBy: name" type="button" class="btn btn-default" ng-class="{'active': searchprovider == name}" ng-click="setProvider(name)">{{name}}</button>
</div>

<table class="torrents table table-condensed white">
Expand Down

0 comments on commit 306429f

Please sign in to comment.