mirror of
https://github.com/go-gitea/gitea.git
synced 2024-08-25 21:44:20 -04:00
fix repo-new ui, fix top-nav search-bar ui
This commit is contained in:
parent
337eef2ee5
commit
8549b47e04
@ -109,11 +109,13 @@ html, body {
|
|||||||
background-color: #F6F6F6;
|
background-color: #F6F6F6;
|
||||||
border-bottom-right-radius: 3px;
|
border-bottom-right-radius: 3px;
|
||||||
border-top-right-radius: 3px;
|
border-top-right-radius: 3px;
|
||||||
|
-webkit-transition: width linear .25s;
|
||||||
}
|
}
|
||||||
|
|
||||||
#nav-search-form input[type=search]:focus {
|
#nav-search-form input[type=search]:focus {
|
||||||
background-color: #FFF;
|
background-color: #FFF;
|
||||||
border-color: #D9D9D9;
|
border-color: #D9D9D9;
|
||||||
|
width: 320px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* gogits nav item active status */
|
/* gogits nav item active status */
|
||||||
|
@ -559,7 +559,15 @@ function initRelease() {
|
|||||||
$('.release-write a[data-toggle]').on("click", function () {
|
$('.release-write a[data-toggle]').on("click", function () {
|
||||||
$('.release-preview-content').html("loading...");
|
$('.release-preview-content').html("loading...");
|
||||||
});
|
});
|
||||||
}())
|
}());
|
||||||
|
|
||||||
|
// release new target selection
|
||||||
|
(function () {
|
||||||
|
$('#release-new-target-branch-list').on('click', 'a', function () {
|
||||||
|
$('#tag-target').val($(this).text());
|
||||||
|
$('#release-new-target-name').text(" " + $(this).text());
|
||||||
|
});
|
||||||
|
}());
|
||||||
}
|
}
|
||||||
|
|
||||||
(function ($) {
|
(function ($) {
|
||||||
|
@ -28,6 +28,7 @@
|
|||||||
{{end}}
|
{{end}}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
<input id="tag-target" type="hidden" name="tag_target" value="{{.Repository.DefaultBranch}}"/>
|
||||||
</div>
|
</div>
|
||||||
<p class="help-block">Choose an existing tag, or create a new tag on publish</p>
|
<p class="help-block">Choose an existing tag, or create a new tag on publish</p>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user