1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-16 11:37:58 +02:00

Shutdown and restart are buttons now

This commit is contained in:
Mark McDowall 2014-02-07 22:53:35 -08:00
parent fcd05cda60
commit 469d802b7b
2 changed files with 10 additions and 34 deletions

View File

@ -219,26 +219,3 @@ body {
height: 55px; height: 55px;
opacity: 0; opacity: 0;
} }
.lifecycle-controls {
font-size: 20px;
i {
cursor: pointer;
}
.drone-button {
height: .8em;
margin-left: -8px;
&:hover {
.icon-stack-base:before {
.icon(@sign-blank)
}
.icon-nd-restart:before {
color: white;
}
}
}
}

View File

@ -3,17 +3,16 @@
<li><a href="#logs" class="x-logs-tab no-router">Logs</a></li> <li><a href="#logs" class="x-logs-tab no-router">Logs</a></li>
<li><a href="#updates" class="x-updates-tab no-router">Updates</a></li> <li><a href="#updates" class="x-updates-tab no-router">Updates</a></li>
<li class="lifecycle-controls pull-right"> <li class="lifecycle-controls pull-right">
<span class="icon-stack drone-button x-shutdown"> <div class="btn-group">
<i class="icon-check-empty icon-stack-base"></i> <button class="btn btn-icon-only x-shutdown" title="Shutdown" data-container="body">
<i class="icon-nd-shutdown"></i> <i class="icon-nd-shutdown"></i>
</span> </button>
{{#if_windows}} {{#if_windows}}
<span class="icon-stack drone-button x-restart"> <button class="btn btn-icon-only x-restart" title="Restart" data-container="body">
<i class="icon-check-empty icon-stack-base"></i>
<i class="icon-nd-restart"></i> <i class="icon-nd-restart"></i>
</span> </button>
{{/if_windows}} {{/if_windows}}
</div>
</li> </li>
</ul> </ul>