Fixed: A lot of small ui errors (e.g. More not showing) (Revert of #1959)

This commit is contained in:
Leonardo Galli
2017-08-24 07:57:31 +02:00
parent 38af8edd59
commit a5823bb15f
246 changed files with 2679 additions and 2276 deletions
+2 -2
View File
@@ -48,7 +48,7 @@ module.exports = Marionette.Layout.extend({
icon : 'icon-sonarr-file-text',
command : 'backup',
properties : { type : 'manual' },
successMessage : 'Database and settings were backed up successfully.',
successMessage : 'Database and settings were backed up successfully',
errorMessage : 'Backup Failed!'
}
]
@@ -91,4 +91,4 @@ module.exports = Marionette.Layout.extend({
this.backupCollection.fetch();
}
}
});
});
@@ -1,10 +1,10 @@
<div class="row">
<div class="col-md-12">
<div id="x-backup-toolbar"></div>
<div id="x-backup-toolbar"/>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div id="x-backups" class="table-responsive"></div>
<div id="x-backups" class="table-responsive"/>
</div>
</div>
+1 -1
View File
@@ -23,4 +23,4 @@ module.exports = NzbDroneCell.extend({
return this;
}
});
});
@@ -1,12 +1,13 @@
<fieldset>
<legend>About</legend>
<dl class="dl-horizontal info">
<dt>Version</dt>
<dd>{{version}}</dd>
{{#if isMonoRuntime}}
<dt>Mono version</dt>
<dd>{{runtimeVersion}}</dd>
<dt>Mono Version</dt>
<dd>{{runtimeVersion}}</dd>
{{/if}}
<dt>AppData directory</dt>
@@ -22,13 +22,13 @@ module.exports = Marionette.Layout.extend({
},
{
name : 'freeSpace',
label : 'Free space',
label : 'Free Space',
cell : FileSizeCell,
sortable : false
},
{
name : 'totalSpace',
label : 'Total space',
label : 'Total Space',
cell : FileSizeCell,
sortable : false
}
@@ -55,4 +55,4 @@ module.exports = Marionette.Layout.extend({
className : 'table table-hover'
}));
}
});
});
@@ -1,4 +1,5 @@
<fieldset>
<legend>Disk space</legend>
<div id="x-grid"></div>
</fieldset>
<legend>Disk Space</legend>
<div id="x-grid"/>
</fieldset>
+2 -2
View File
@@ -5,8 +5,8 @@ module.exports = NzbDroneCell.extend({
render : function() {
var level = this._getValue();
this.$el.html('<i class="icon-sonarr-health-{0}" title="{1}"></i>'.format(this._getValue().toLowerCase(), level));
this.$el.html('<i class="icon-sonarr-health-{0}" title="{1}"/>'.format(this._getValue().toLowerCase(), level));
return this;
}
});
});
@@ -1,5 +1,6 @@
<fieldset class="x-health">
<legend>Health</legend>
<div id="x-health-grid"></div>
<div id="x-health-grid"/>
</fieldset>
@@ -1,5 +1,3 @@
<div class="row health-ok">
<div class="col-md-12">
<p>No issues with your current configuration were found.</p>
</div>
</div>
<div class="col-md-12">No issues with your configuration</div>
</div>
+2 -2
View File
@@ -4,7 +4,7 @@ var Backgrid = require('backgrid');
module.exports = Backgrid.UriCell.extend({
className : 'wiki-link-cell',
title : 'Read the Wiki for more information.',
title : 'Read the Wiki for more information',
text : 'Wiki',
@@ -21,4 +21,4 @@ module.exports = Backgrid.UriCell.extend({
this.delegateEvents();
return this;
}
});
});
@@ -1,29 +1,33 @@
<fieldset>
<legend>More info</legend>
<fieldset>
<legend>More Info</legend>
<dl class="dl-horizontal info">
<dt>Discord</dt>
<dd>
<a href="https://discord.gg/AD3UP37">Radarr on Discord</a>
</dd>
<dd><a href="https://discord.gg/AD3UP37">Radarr on Discord</a></dd>
<dt>Reddit</dt>
<dd>
<a href="https://www.reddit.com/r/radarr/">Radarr subreddit</a>
</dd>
<dd><a href="https://www.reddit.com/r/radarr/">Radarr Subreddit</a></dd>
<dt>Homepage</dt>
<dd>
<a href="https://radarr.video/">radarr.video</a>
</dd>
<dd><a href="https://radarr.video/">radarr.video</a></dd>
{{!--<dt>Wiki</dt>
<dd><a href="https://wiki.radarr.tdb/">wiki.radarr.tdb</a></dd>
<dt>Forums</dt>
<dd><a href="https://forums.sonarr.tv/">forums.sonarr.tv</a></dd>
<dt>Twitter</dt>
<dd><a href="https://twitter.com/sonarrtv">@sonarrtv</a></dd>
<dt>IRC</dt>
<dd><a href="irc://irc.freenode.net/#sonarr">#sonarr on Freenode</a> or (<a href="http://webchat.freenode.net/?channels=#sonarr">webchat</a>)</dd>--}}
<dt>Source</dt>
<dd>
<a href="https://github.com/Radarr/Radarr">Radarr on GitHub</a>
</dd>
<dd><a href="https://github.com/Radarr/Radarr">Radarr on GitHub</a></dd>
<dt>Feature requests</dt>
<dd>
<a href="https://github.com/Radarr/Radarr/issues">GitHub issue tracker</a>
</dd>
<dt>Feature Requests</dt>
{{!--<dd><a href="https://forums.sonarr.tv/">forums.sonarr.tv</a></dd>--}}
<dd><a href="https://github.com/Radarr/Radarr/issues">GitHub Issue Tracker</a></dd>
</dl>
</fieldset>
@@ -1,12 +1,15 @@
<div class="row">
<div class="col-md-12" id="health"></div>
</div>
<div class="row">
<div class="col-md-12" id="diskspace"></div>
</div>
<div class="row">
<div class="col-md-12" id="about"></div>
</div>
<div class="row">
<div class="col-md-12" id="more-info"></div>
</div>
@@ -1,12 +1,12 @@
<div id="x-toolbar"></div>
<div id="x-toolbar"/>
<div class="row">
<div class="col-md-12">
<div id="x-grid"></div>
<div id="x-grid"/>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div id="x-contents"></div>
<div id="x-contents"/>
</div>
</div>
</div>
@@ -1,7 +1,7 @@
<div class="modal-content">
<div class="log-details-modal">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="close">&times;</button>
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
<h3>Details</h3>
@@ -11,7 +11,7 @@
<pre>{{message}}</pre>
{{#if exception}}
<br>
<br/>
Exception
<pre>{{exception}}</pre>
{{/if}}
+2 -2
View File
@@ -5,8 +5,8 @@ module.exports = NzbDroneCell.extend({
render : function() {
var level = this._getValue();
this.$el.html('<i class="icon-sonarr-log-{0}" title="{1}"></i>'.format(this._getValue().toLowerCase(), level));
this.$el.html('<i class="icon-sonarr-log-{0}" title="{1}"/>'.format(this._getValue().toLowerCase(), level));
return this;
}
});
});
@@ -1,11 +1,11 @@
<div id="x-toolbar"></div>
<div id="x-toolbar"/>
<div class="row">
<div class="col-md-12">
<div id="x-grid" class="table-responsive"></div>
<div id="x-grid" class="table-responsive"/>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div id="x-pager"></div>
<div id="x-pager"/>
</div>
</div>
+2 -2
View File
@@ -131,7 +131,7 @@ module.exports = Marionette.Layout.extend({
});
Messenger.show({
message : 'Radarr will shutdown shortly.',
message : 'Radarr will shutdown shortly',
type : 'info'
});
},
@@ -143,7 +143,7 @@ module.exports = Marionette.Layout.extend({
});
Messenger.show({
message : 'Radarr will restart shortly.',
message : 'Radarr will restart shortly',
type : 'info'
});
}
+8 -8
View File
@@ -6,17 +6,17 @@
<li><a href="#logs" class="x-logs-tab no-router">Logs</a></li>
<li class="lifecycle-controls pull-right">
<div class="btn-group">
<button class="btn btn-default btn-icon-only x-shutdown" title="Shutdown Radarr">
<i class="icon-sonarr-shutdown" aria-hidden="true"></i>
<button class="btn btn-default btn-icon-only x-shutdown" title="Shutdown">
<i class="icon-sonarr-shutdown"></i>
</button>
<button class="btn btn-default btn-icon-only x-restart" title="Restart Radarr">
<i class="icon-sonarr-restart" aria-hidden="true"></i>
<button class="btn btn-default btn-icon-only x-restart" title="Restart">
<i class="icon-sonarr-restart"></i>
</button>
{{#if_eq authentication compare="forms"}}
<a href="{{UrlBase}}/logout" class="btn btn-default btn-icon-only" title="Logout of Radarr">
<i class="icon-sonarr-logout"></i>
</a>
<a href="{{UrlBase}}/logout" class="btn btn-default btn-icon-only" title="Logout">
<i class="icon-sonarr-logout"></i>
</a>
{{/if_eq}}
</div>
</li>
@@ -28,4 +28,4 @@
<div class="tab-pane" id="tasks"></div>
<div class="tab-pane" id="backup"></div>
<div class="tab-pane" id="logs"></div>
</div>
</div>
+1 -1
View File
@@ -68,4 +68,4 @@ module.exports = Marionette.Layout.extend({
className : 'table table-hover'
}));
}
});
});
+1 -1
View File
@@ -1,5 +1,5 @@
<div class="row">
<div class="col-md-12">
<div id="x-tasks" class="tasks table-responsive"></div>
<div id="x-tasks" class="tasks table-responsive"/>
</div>
</div>
@@ -2,7 +2,7 @@
<fieldset>
<legend>{{version}}
<span class="date">
- {{ ShortDate releaseDate}}
- {{ShortDate releaseDate}}
</span>
<span class="status">
{{#unless_eq branch compare="master"}}
@@ -13,11 +13,9 @@
{{else}}
{{#if latest}}
{{#if installable}}
<span class="label label-info install-update x-install-update" title="Install the latest update.">Install latest</span>
<span class="label label-info install-update x-install-update">Install Latest</span>
{{else}}
<span class="label label-info label-disabled" title="The version installed is newer than the branch you are currently on.">
Install latest
</span>
<span class="label label-info label-disabled" title="Cannot install an older version">Install Latest</span>
{{/if}}
{{/if}}
{{/if}}
@@ -39,7 +37,7 @@
{{/with}}
{{#unless changes}}
<span>Maintenance release</span>
Maintenance release
{{/unless}}
</fieldset>
</div>
@@ -1,5 +1,5 @@
<div class="row">
<div class="col-md-12">
<div id="x-updates"></div>
<div id="x-updates"/>
</div>
</div>