mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-11 16:05:49 +01:00
Fix branch control dropdown
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
prefix = if(branch.length == 40) "tree" else if(repository.branchList.contains(branch)) "branch" else "tree"
|
prefix = if(branch.length == 40) "tree" else if(repository.branchList.contains(branch)) "branch" else "tree"
|
||||||
) {
|
) {
|
||||||
<li><div id="branch-control-title">Switch branches<button id="branch-control-close" class="pull-right">×</button></div></li>
|
<li><div id="branch-control-title">Switch branches<button id="branch-control-close" class="pull-right">×</button></div></li>
|
||||||
<li><input id="branch-control-input" type="text" placeholder="Find or create branch ..."/></li>
|
<li><input id="branch-control-input" type="text" class="form-control input-sm" placeholder="Find or create branch ..."/></li>
|
||||||
@body
|
@body
|
||||||
@if(hasWritePermission) {
|
@if(hasWritePermission) {
|
||||||
<li id="create-branch" style="display: none;">
|
<li id="create-branch" style="display: none;">
|
||||||
|
|||||||
@@ -936,7 +936,8 @@ span.simplified-path {
|
|||||||
|
|
||||||
#branch-control-input {
|
#branch-control-input {
|
||||||
border: solid 1px #ccc;
|
border: solid 1px #ccc;
|
||||||
margin: 10px;
|
margin: 4px;
|
||||||
|
width: 96%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.new-branch-name {
|
.new-branch-name {
|
||||||
|
|||||||
Reference in New Issue
Block a user