diff options
author | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-04-14 20:40:22 +0800 |
---|---|---|
committer | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-04-14 20:40:22 +0800 |
commit | 8549b47e04a1461520d698bd87cbd67f1236508b (patch) | |
tree | 9fa4baf3e85ebe3eabec7e63709fe565e048c83e /public | |
parent | 337eef2ee57707f055042db21b7b4159db0f0200 (diff) | |
download | gitea-8549b47e04a1461520d698bd87cbd67f1236508b.tar.gz gitea-8549b47e04a1461520d698bd87cbd67f1236508b.zip |
fix repo-new ui, fix top-nav search-bar ui
Diffstat (limited to 'public')
-rwxr-xr-x | public/css/gogs.css | 2 | ||||
-rw-r--r-- | public/js/app.js | 10 |
2 files changed, 11 insertions, 1 deletions
diff --git a/public/css/gogs.css b/public/css/gogs.css index b9c7b6ae49..12b6d8b058 100755 --- a/public/css/gogs.css +++ b/public/css/gogs.css @@ -109,11 +109,13 @@ html, body { background-color: #F6F6F6; border-bottom-right-radius: 3px; border-top-right-radius: 3px; + -webkit-transition: width linear .25s; } #nav-search-form input[type=search]:focus { background-color: #FFF; border-color: #D9D9D9; + width: 320px; } /* gogits nav item active status */ diff --git a/public/js/app.js b/public/js/app.js index 059663e1a2..a5c79a3987 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -559,7 +559,15 @@ function initRelease() { $('.release-write a[data-toggle]').on("click", function () { $('.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 ($) { |