]> source.dussan.org Git - gitea.git/commitdiff
Changes to repo-header-download-drop, different repo-clone-url input behaviour
authorStefan-Code <Stefan-Code@users.noreply.github.com>
Wed, 11 Feb 2015 06:28:51 +0000 (07:28 +0100)
committerStefan-Code <Stefan-Code@users.noreply.github.com>
Wed, 11 Feb 2015 06:28:51 +0000 (07:28 +0100)
.gitignore
public/ng/css/gogs.css
public/ng/less/gogs/repository.less
templates/repo/header.tmpl

index b21581331e4f4f7772269f97d2f9c5ece98e6b62..ba878d92d4dcb557f13cf67550a97acadd5ceec8 100644 (file)
@@ -1,6 +1,7 @@
 .DS_Store
 *.db
 *.log
+log/
 custom/
 data/
 .vendor/
@@ -34,4 +35,4 @@ docker/fig.yml
 docker/docker/Dockerfile
 docker/docker/init_gogs.sh
 gogs.sublime-project
-gogs.sublime-workspace
\ No newline at end of file
+gogs.sublime-workspace
index 71208f4b561594021ba705e928b31e31d537af61..9f6cf12f97b17b98eca895f0c02d01ffa8231501 100644 (file)
@@ -1066,6 +1066,9 @@ The register and sign-in page style
 #repo-header-download-drop .btn > i {
   margin-right: 6px;
 }
+#repo-header-download-drop input {
+  cursor: default;
+}
 #repo-header-download-drop button,
 #repo-header-download-drop input {
   font-size: 11px;
index 59513c77c72d561c98b3aaa9d7f569c19a3c6348..d683d0334177b4bcaed8e983799b65c01bdc4d7c 100644 (file)
@@ -81,6 +81,9 @@
     .btn>i {
         margin-right: 6px;
     }
+    input {
+        cursor: default;
+    }
     button, input {
         font-size: 11px;
     }
index 9e52efc727c778e639917d87d62fc9de11c488ee..a0b927be60f3f5d276f2651d0b0c93b306733d67 100644 (file)
@@ -22,7 +22,7 @@
                         <button class="btn btn-blue left btn-left-radius" id="repo-clone-ssh" data-link="{{$.CloneLink.SSH}}">SSH</button>
                         {{end}}
                         <button class="btn {{if $.DisableSSH}}btn-blue{{else}}btn-gray{{end}} left" id="repo-clone-https" data-link="{{$.CloneLink.HTTPS}}">HTTPS</button>
-                        <input id="repo-clone-url" class="ipt ipt-disabled left" value="{{if $.DisableSSH}}{{$.CloneLink.HTTPS}}{{else}}{{$.CloneLink.SSH}}{{end}}" readonly />
+                        <input id="repo-clone-url" class="ipt ipt-disabled left" value="{{if $.DisableSSH}}{{$.CloneLink.HTTPS}}{{else}}{{$.CloneLink.SSH}}{{end}}" onclick="this.select();" readonly />
                         <button id="repo-clone-copy" class="btn btn-black left btn-right-radius" data-copy-val="val" data-copy-from="#repo-clone-url" original-title="{{$.i18n.Tr "repo.click_to_copy"}}" data-original-title="{{$.i18n.Tr "repo.click_to_copy"}}" data-after-title="{{$.i18n.Tr "repo.copied"}}">{{$.i18n.Tr "repo.copy_link"}}</button>
                         <p class="text-center" id="repo-clone-help">{{$.i18n.Tr "repo.clone_helper" "http://git-scm.com/book/en/Git-Basics-Getting-a-Git-Repository" | Str2html}}</p>
                         <hr/>
@@ -60,4 +60,4 @@
         </ul>
     </div>
 </div>
-{{end}}
\ No newline at end of file
+{{end}}