mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-25 12:16:37 +00:00
Implement "Need Help?" button
This button guides the user to publish a new issue in the GitHub repository. Fixes: https://github.com/resin-io/etcher/issues/177
This commit is contained in:
parent
bd009a75b0
commit
334eebe9c9
@ -5979,5 +5979,8 @@ h1, h2, h3, h4, h5, h6 {
|
||||
margin-top: 0; }
|
||||
|
||||
.section-header {
|
||||
padding: 5px;
|
||||
padding: 5px 8px;
|
||||
font-size: 15px; }
|
||||
.section-header > .btn {
|
||||
padding-left: 3px;
|
||||
padding-right: 3px; }
|
||||
|
@ -26,6 +26,10 @@
|
||||
</head>
|
||||
<body ng-app="Etcher" style="display: none">
|
||||
<header class="section-header" ng-controller="NavigationController as navigation">
|
||||
<button class="btn btn-link" ng-click="navigation.open('https://github.com/resin-io/etcher/issues/new')">
|
||||
<span class="glyphicon glyphicon-question-sign"></span> Need Help?
|
||||
</button>
|
||||
|
||||
<button class="btn btn-link" ui-sref="settings" ng-hide="navigation.isState('settings')">
|
||||
<span class="glyphicon glyphicon-cog"></span>
|
||||
</button>
|
||||
|
@ -195,6 +195,11 @@ h1, h2, h3, h4, h5, h6 {
|
||||
|
||||
.section-header {
|
||||
@extend .text-right;
|
||||
padding: 5px;
|
||||
padding: 5px 8px;
|
||||
font-size: 15px;
|
||||
|
||||
& > .btn {
|
||||
padding-left: 3px;
|
||||
padding-right: 3px;
|
||||
}
|
||||
}
|
||||
|
BIN
screenshot.png
BIN
screenshot.png
Binary file not shown.
Before Width: | Height: | Size: 115 KiB After Width: | Height: | Size: 119 KiB |
Loading…
x
Reference in New Issue
Block a user