mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-14 09:25:49 +01:00
Fix buttons of webhook list
This commit is contained in:
@@ -13,7 +13,6 @@
|
|||||||
@html.menu("settings", repository){
|
@html.menu("settings", repository){
|
||||||
@menu("hooks", repository){
|
@menu("hooks", repository){
|
||||||
@helper.html.information(info)
|
@helper.html.information(info)
|
||||||
|
|
||||||
<div class="panel panel-default">
|
<div class="panel panel-default">
|
||||||
<div class="panel-heading strong">Webhook / Manage webhook</div>
|
<div class="panel-heading strong">Webhook / Manage webhook</div>
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
|
|||||||
@@ -28,10 +28,10 @@
|
|||||||
<em class="css-truncate" style="max-width: 225px;">(<span class="css-truncate-target">@events.map(_.name).mkString(", ")</span>)</em>
|
<em class="css-truncate" style="max-width: 225px;">(<span class="css-truncate-target">@events.map(_.name).mkString(", ")</span>)</em>
|
||||||
</td><td>
|
</td><td>
|
||||||
<div class="btn-group pull-right">
|
<div class="btn-group pull-right">
|
||||||
<a href="@url(repository)/settings/hooks/edit/@urlEncode(webHook.url)" class="btn btn-small">
|
<a href="@url(repository)/settings/hooks/edit/@urlEncode(webHook.url)" class="btn btn-default">
|
||||||
<span class="octicon octicon-pencil"></span>
|
<span class="octicon octicon-pencil"></span>
|
||||||
</a>
|
</a>
|
||||||
<a href="@url(repository)/settings/hooks/delete?url=@urlEncode(webHook.url)" class="btn btn-small btn-danger" onclick="return confirm('delete webhook for @webHook.url ?')">
|
<a href="@url(repository)/settings/hooks/delete?url=@urlEncode(webHook.url)" class="btn btn-danger" onclick="return confirm('delete webhook for @webHook.url ?')">
|
||||||
<span class="octicon octicon-x"></span>
|
<span class="octicon octicon-x"></span>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -494,6 +494,10 @@ span.highlight {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.btn-danger .octicon {
|
.btn-danger .octicon {
|
||||||
|
color: #900;
|
||||||
|
}
|
||||||
|
|
||||||
|
a.btn-danger:hover .octicon {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user