diff options
author | Tristan Storch <tstorch@math.uni-bielefeld.de> | 2014-08-30 15:12:53 +0200 |
---|---|---|
committer | Tristan Storch <tstorch@math.uni-bielefeld.de> | 2014-08-30 15:12:53 +0200 |
commit | 69e332f432c87ce83a488a8c06a02ded26f66beb (patch) | |
tree | 03c8ae1382e92612341df57856e9d1a17e1de8a9 /public | |
parent | 9bc63bda7ded31b77ad4aaf3495582a7c8555d2f (diff) | |
download | gitea-69e332f432c87ce83a488a8c06a02ded26f66beb.tar.gz gitea-69e332f432c87ce83a488a8c06a02ded26f66beb.zip |
Removed trailing white spaces
Removed trailing whitespaces with
```sh
for file in `grep -r " $" * | cut -d : -f 1 | sort | uniq | grep -v " "`; do sed -i 's/[ \t]*$//' $file; done
```
and some handwork.
Diffstat (limited to 'public')
-rwxr-xr-x | public/css/gogs.css | 4 | ||||
-rwxr-xr-x | public/fonts/fontawesome-webfont.svg | 2 | ||||
-rw-r--r-- | public/js/app.js | 26 | ||||
-rwxr-xr-x | public/ng/fonts/fontawesome-webfont.svg | 2 | ||||
-rw-r--r-- | public/ng/less/gogs/base.less | 12 | ||||
-rw-r--r-- | public/ng/less/gogs/dashboard.less | 4 |
6 files changed, 25 insertions, 25 deletions
diff --git a/public/css/gogs.css b/public/css/gogs.css index cfa113411b..2d30d06284 100755 --- a/public/css/gogs.css +++ b/public/css/gogs.css @@ -1266,7 +1266,7 @@ body { #issue .issue-child .issue-content .user .avatar { height: 21px; width: 21px; -} +} #issue .issue-line { border-color: #CCC; @@ -1808,7 +1808,7 @@ body { position: absolute; top: 0px; bottom: 0px; - + margin: 5px; padding: 8px; diff --git a/public/fonts/fontawesome-webfont.svg b/public/fonts/fontawesome-webfont.svg index a9f8469503..047844b8ef 100755 --- a/public/fonts/fontawesome-webfont.svg +++ b/public/fonts/fontawesome-webfont.svg @@ -501,4 +501,4 @@ <glyph horiz-adv-x="1792" /> <glyph horiz-adv-x="1792" /> </font> -</defs></svg>
\ No newline at end of file +</defs></svg>
\ No newline at end of file diff --git a/public/js/app.js b/public/js/app.js index 9dea65eb85..a5bb9569ef 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -546,7 +546,7 @@ function initIssue() { if ($textArea.attr("id") == "issue-reply-content") { var $closeBtn = $('#issue-close-btn'); var $openBtn = $('#issue-open-btn'); - + if ($textArea.val().length) { $closeBtn.val($closeBtn.data("text")); $openBtn.val($openBtn.data("text")); @@ -575,7 +575,7 @@ function initIssue() { $hoverImage.addClass("attachment-preview-img"); $hoverElement.append($hoverImage); - $(document.body).append($hoverElement); + $(document.body).append($hoverElement); var over = function() { var $this = $(this); @@ -605,7 +605,7 @@ function initIssue() { $hoverElement.css({"top": top + "px", "left": left + "px"}); $hoverElement.css({"height": height + 16, "width": width + 16}); $hoverElement.show(); - }); + }); } else { $hoverElement.show(); } @@ -624,7 +624,7 @@ function initIssue() { var $addButton = $("#attachments-button"); var files = []; var fileInput = document.getElementById("attachments-input"); - + if (fileInput === null) { return; } @@ -635,9 +635,9 @@ function initIssue() { files.splice($parent.data("index"), 1); $parent.remove(); }); - + var clickedButton; - + $('input[type="submit"],input[type="button"],button.btn-success', fileInput.form).on('click', function() { clickedButton = this; @@ -722,7 +722,7 @@ function initIssue() { xhr.open("POST", this.action, true); xhr.send(data); - + return false; }); @@ -826,7 +826,7 @@ function initIssue() { //window.location.reload(); $a.data("assigned", uid); - if (uid > 0) { + if (uid > 0) { $('.clear-assignee').toggleShow(); $(".assignee > p").html('<img src="' + img + '"><strong>' + text + '</strong>'); } else { @@ -862,12 +862,12 @@ function initIssue() { $('.clear-milestone').toggleShow(); } $('.milestone', '#issue').on('click', 'li.milestone-item', function () { - var id = $(this).data("id"); + var id = $(this).data("id"); if (is_issue_bar) { var m = $m.data("milestone"); if (id != m) { var text = $(this).text(); - + $.post($m.data("ajax"), { issue: $('#issue').data("id"), milestone: id @@ -876,7 +876,7 @@ function initIssue() { //window.location.reload(); $m.data("milestone", id); - if (id > 0) { + if (id > 0) { $('.clear-milestone').toggleShow(); $(".milestone > .name").html('<a href="' + location.pathname + '?milestone=' + id + '"><strong>' + text + '</strong></a>'); } else { @@ -982,7 +982,7 @@ function initIssue() { $(item).addClass("no-checked"); $("#label-" + id, $labels).remove(); - + if ($labels.children(".label-item").length == 0) { $labels.append("<p>None yet</p>"); } @@ -991,7 +991,7 @@ function initIssue() { $(item).removeClass("no-checked"); $(item).addClass("checked"); - + $("p:not([class])", $labels).remove(); var $l = $("<p></p>"); diff --git a/public/ng/fonts/fontawesome-webfont.svg b/public/ng/fonts/fontawesome-webfont.svg index a9f8469503..047844b8ef 100755 --- a/public/ng/fonts/fontawesome-webfont.svg +++ b/public/ng/fonts/fontawesome-webfont.svg @@ -501,4 +501,4 @@ <glyph horiz-adv-x="1792" /> <glyph horiz-adv-x="1792" /> </font> -</defs></svg>
\ No newline at end of file +</defs></svg>
\ No newline at end of file diff --git a/public/ng/less/gogs/base.less b/public/ng/less/gogs/base.less index 0ca733c519..241846dbbd 100644 --- a/public/ng/less/gogs/base.less +++ b/public/ng/less/gogs/base.less @@ -254,11 +254,11 @@ clear: both; .table { width: 100%; max-width: 100%; - > thead > tr > th, - > tbody > tr > th, - > tfoot > tr > th, - > thead > tr > td, - > tbody > tr > td, + > thead > tr > th, + > tbody > tr > th, + > tfoot > tr > th, + > thead > tr > td, + > tbody > tr > td, > tfoot > tr > td { border-top: 1px solid #e7eaec; line-height: 1.42857; @@ -268,7 +268,7 @@ clear: both; th { text-align: left; } -} +} .table-striped { >tbody>tr:nth-child(odd)>td, >tbody>tr:nth-child(odd)>th { diff --git a/public/ng/less/gogs/dashboard.less b/public/ng/less/gogs/dashboard.less index 6bf1150ba7..afef60cfab 100644 --- a/public/ng/less/gogs/dashboard.less +++ b/public/ng/less/gogs/dashboard.less @@ -189,8 +189,8 @@ The dashboard page style } } a { - text-overflow: ellipsis; - -o-text-overflow: ellipsis; + text-overflow: ellipsis; + -o-text-overflow: ellipsis; overflow: hidden; } } |