-
-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Responsive UI layout and CSS fixes (#948)
- Loading branch information
Showing
22 changed files
with
609 additions
and
535 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,103 +1,105 @@ | ||
<div style="text-align: left; margin: auto; width: 800px"> | ||
<div class="panel panel-default"> | ||
<div class="panel-heading"> | ||
<h3 class="panel-title">Bugreport / Debug infos</h3> | ||
</div> | ||
<div class="panel-body"> | ||
So you found a bug? Ideally <a href="https://github.com/theotherp/nzbhydra2/issues/new" target="_blank">raise | ||
an issue on github</a>. If you don't have an account create one ;-) I prefer GitHub issues for communication. Otherwise | ||
<a | ||
href="mailto:theotherp@posteo.net">send me a mail</a>.<br> | ||
<b>But</b> please read this first:<br> | ||
Don't just tell me what the problem is. If you just post an exception from the console or say "x does not | ||
work" I probably won't be willing or able to help. Remember you want something | ||
from | ||
me.<br> | ||
<ul> | ||
<li> | ||
Tell me what you expect to happen and what actually happens | ||
</li> | ||
<li> | ||
If hydra doesn't even start, tell me your OS and how you start it. | ||
</li> | ||
<li> | ||
If the website looks weird tell me what browser you use. If you use a reverse proxy post your config | ||
and your base URL setting. | ||
</li> | ||
<li> | ||
If the GUI behaves strangely or doesn't react as it should check the browser console for errors. | ||
</li> | ||
</ul> | ||
Tell me anything that might help. If you do all that I will do my best to help you and improve NZBHydra. | ||
|
||
<br><br> | ||
If possible provide the log and your settings. Here you can get anonymized versions of both to be | ||
posted:<br> | ||
|
||
<div class="btn-group" uib-dropdown> | ||
<button id="split-button" type="button" class="btn btn-primary" ng-click="downloadDebuggingInfos()">Create and download debug infos | ||
</button> | ||
<button type="button" class="btn btn-primary" uib-dropdown-toggle> | ||
<span class="caret"></span> | ||
<span class="sr-only">Split button!</span> | ||
</button> | ||
<ul class="dropdown-menu" uib-dropdown-menu role="menu" aria-labelledby="split-button"> | ||
<li role="menuitem"><a href="#" ng-click="uploadDebuggingInfos()">Create and upload debug infos to file share</a></li> | ||
<div class="text-left row d-sm-flex justify-content-center"> | ||
<div class="col-xs-20 col-md-14"> | ||
<div class="panel panel-default"> | ||
<div class="panel-heading"> | ||
<h3 class="panel-title">Bugreport / Debug infos</h3> | ||
</div> | ||
<div class="panel-body"> | ||
So you found a bug? Ideally <a href="https://github.com/theotherp/nzbhydra2/issues/new" target="_blank">raise | ||
an issue on github</a>. If you don't have an account create one ;-) I prefer GitHub issues for communication. Otherwise | ||
<a | ||
href="mailto:theotherp@posteo.net">send me a mail</a>.<br> | ||
<b>But</b> please read this first:<br> | ||
Don't just tell me what the problem is. If you just post an exception from the console or say "x does not | ||
work" I probably won't be willing or able to help. Remember you want something | ||
from | ||
me.<br> | ||
<ul> | ||
<li> | ||
Tell me what you expect to happen and what actually happens | ||
</li> | ||
<li> | ||
If hydra doesn't even start, tell me your OS and how you start it. | ||
</li> | ||
<li> | ||
If the website looks weird tell me what browser you use. If you use a reverse proxy post your config | ||
and your base URL setting. | ||
</li> | ||
<li> | ||
If the GUI behaves strangely or doesn't react as it should check the browser console for errors. | ||
</li> | ||
</ul> | ||
Tell me anything that might help. If you do all that I will do my best to help you and improve NZBHydra. | ||
|
||
<br><br> | ||
If possible provide the log and your settings. Here you can get anonymized versions of both to be | ||
posted:<br> | ||
|
||
<div class="btn-group" uib-dropdown> | ||
<button id="split-button" type="button" class="btn btn-primary" ng-click="downloadDebuggingInfos()">Create and download debug infos | ||
</button> | ||
<button type="button" class="btn btn-primary" uib-dropdown-toggle> | ||
<span class="caret"></span> | ||
<span class="sr-only">Split button!</span> | ||
</button> | ||
<ul class="dropdown-menu" uib-dropdown-menu role="menu" aria-labelledby="split-button"> | ||
<li role="menuitem"><a href="#" ng-click="uploadDebuggingInfos()">Create and upload debug infos to file share</a></li> | ||
</ul> | ||
</div> | ||
<span> | ||
<img src="static/img/spinner.gif" ng-show="isBackupCreationAction"> | ||
<span ng-bind-html="debugInfosUrl" style="margin-left: 10px"></span> | ||
</span> | ||
<br> | ||
<button class="btn btn-default" ng-click="logThreadDump()" style="margin-top: 15px">Log thread dump</button> | ||
<br> | ||
<a href="actuator/heapdump" target="_blank"> | ||
<button class="btn btn-default" style="margin-top: 15px">Create heap dump <span class="glyphicon glyphicon-question-sign" tooltip-placement="auto top" | ||
uib-tooltip="Will not work on J9 based JREs (and possibly others as well)."></span></button> | ||
</a> | ||
</div> | ||
<span> | ||
<img src="static/img/spinner.gif" ng-show="isBackupCreationAction"> | ||
<span ng-bind-html="debugInfosUrl" style="margin-left: 10px"></span> | ||
</span> | ||
<br> | ||
<button class="btn btn-default" ng-click="logThreadDump()" style="margin-top: 15px">Log thread dump</button> | ||
<br> | ||
<a href="actuator/heapdump" target="_blank"> | ||
<button class="btn btn-default" style="margin-top: 15px">Create heap dump <span class="glyphicon glyphicon-question-sign" tooltip-placement="auto top" | ||
uib-tooltip="Will not work on J9 based JREs (and possibly others as well)."></span></button> | ||
</a> | ||
</div> | ||
</div> | ||
|
||
<div class="panel panel-default"> | ||
<div class="panel-heading"> | ||
<h3 class="panel-title">CPU usage <span class="glyphicon glyphicon-question-sign" tooltip-placement="auto top" | ||
uib-tooltip="Enable the logging marker 'Performance' for this graph to show data."></span></h3> | ||
</div> | ||
<div class="panel-body"> | ||
<chart> | ||
<nvd3 options="cpuChart.options" data="cpuChart.data" api="api" config="cpuChart.config"></nvd3> | ||
</chart> | ||
</div> | ||
</div> | ||
|
||
<div class="panel panel-default"> | ||
<div class="panel-heading"> | ||
<h3 class="panel-title">Debug SQL execution</h3> | ||
</div> | ||
<div class="panel-body"> | ||
You may want to take a look at the settings to make sure there's nothing in there you wouldn't want me to | ||
see. | ||
<br><br><br> | ||
You can use the input box below to execute any SQL query against the database. You will likely never need | ||
this but it allows me to ask you to execute a query when I try to solve a bug. | ||
<br> | ||
<textarea class="form-control" rows="5" data-ng-model="foo.sql"></textarea> | ||
<button class="btn btn-default" ng-click="executeSqlQuery()">Query</button> | ||
<button class="btn btn-default" ng-click="executeSqlUpdate()">Execute</button> | ||
<textarea class="form-control" rows="10" data-ng-model="foo.csv"></textarea> | ||
|
||
<div class="panel panel-default"> | ||
<div class="panel-heading"> | ||
<h3 class="panel-title">CPU usage <span class="glyphicon glyphicon-question-sign" tooltip-placement="auto top" | ||
uib-tooltip="Enable the logging marker 'Performance' for this graph to show data."></span></h3> | ||
</div> | ||
<div class="panel-body"> | ||
<chart> | ||
<nvd3 options="cpuChart.options" data="cpuChart.data" api="api" config="cpuChart.config"></nvd3> | ||
</chart> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="panel panel-default"> | ||
<div class="panel-heading"> | ||
<h3 class="panel-title">Misc</h3> | ||
|
||
<div class="panel panel-default"> | ||
<div class="panel-heading"> | ||
<h3 class="panel-title">Debug SQL execution</h3> | ||
</div> | ||
<div class="panel-body"> | ||
You may want to take a look at the settings to make sure there's nothing in there you wouldn't want me to | ||
see. | ||
<br><br><br> | ||
You can use the input box below to execute any SQL query against the database. You will likely never need | ||
this but it allows me to ask you to execute a query when I try to solve a bug. | ||
<br> | ||
<textarea class="form-control" rows="5" data-ng-model="foo.sql"></textarea> | ||
<button class="btn btn-default" ng-click="executeSqlQuery()">Query</button> | ||
<button class="btn btn-default" ng-click="executeSqlUpdate()">Execute</button> | ||
<textarea class="form-control" rows="10" data-ng-model="foo.csv"></textarea> | ||
</div> | ||
</div> | ||
<div class="panel-body"> | ||
<a href="internalapi/debuginfos/endpoints" target="_blank"> | ||
<button class="btn btn-default">List HTTP endpoints</button> | ||
</a> | ||
|
||
<div class="panel panel-default"> | ||
<div class="panel-heading"> | ||
<h3 class="panel-title">Misc</h3> | ||
</div> | ||
<div class="panel-body"> | ||
<a href="internalapi/debuginfos/endpoints" target="_blank"> | ||
<button class="btn btn-default">List HTTP endpoints</button> | ||
</a> | ||
</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
Oops, something went wrong.