Permalink
Browse files

clean up whitespace from project

  • Loading branch information...
NARKOZ committed Nov 15, 2011
1 parent 415edda commit 368deb5992f27fce9a23629229af4367ba38f901
Showing with 356 additions and 413 deletions.
  1. +5 −5 app/assets/javascripts/application.js
  2. +10 −12 app/assets/javascripts/commits.js
  3. +12 −15 app/assets/javascripts/note.js
  4. +0 −1 app/assets/javascripts/projects.js
  5. +3 −3 app/assets/stylesheets/application.css
  6. +3 −4 app/assets/stylesheets/issues.css.scss
  7. +0 −1 app/assets/stylesheets/notes.css.scss
  8. +20 −22 app/assets/stylesheets/projects.css.scss
  9. +215 −244 app/assets/stylesheets/style.scss
  10. +5 −7 app/assets/stylesheets/tags.css.css
  11. +2 −2 app/controllers/application_controller.rb
  12. +0 −1 app/controllers/commits_controller.rb
  13. +2 −2 app/controllers/projects_controller.rb
  14. +8 −8 app/controllers/tags_controller.rb
  15. +2 −2 app/helpers/application_helper.rb
  16. +3 −3 app/helpers/dashboard_helper.rb
  17. +2 −2 app/models/issue.rb
  18. +2 −2 app/models/note.rb
  19. +3 −3 app/models/project.rb
  20. +1 −1 app/models/repository.rb
  21. +2 −3 app/views/admin/projects/_form.html.haml
  22. +1 −3 app/views/commits/index.html.haml
  23. +2 −2 app/views/dashboard/index.html.haml
  24. +1 −1 app/views/issues/_show.html.haml
  25. +0 −1 app/views/issues/index.html.haml
  26. +2 −3 app/views/issues/show.html.haml
  27. +1 −1 app/views/layouts/_head_panel.html.erb
  28. +1 −1 app/views/layouts/profile.html.haml
  29. +1 −1 app/views/notes/_form.html.haml
  30. +0 −1 app/views/notes/_load.js.haml
  31. +1 −1 app/views/notes/_show.html.haml
  32. +2 −2 app/views/projects/_feed.html.haml
  33. +2 −2 app/views/projects/_form.html.haml
  34. +0 −1 app/views/projects/_list.html.haml
  35. +0 −1 app/views/projects/_refs.html.haml
  36. +1 −1 app/views/projects/_tile.html.haml
  37. +1 −2 app/views/projects/_tree.html.haml
  38. +1 −1 app/views/projects/index.html.haml
  39. +7 −7 app/views/projects/new.html.haml
  40. +1 −1 app/views/snippets/index.html.haml
  41. +2 −3 app/views/tags/index.html.haml
  42. +0 −1 config/routes.rb
  43. +4 −4 db/migrate/20111027152724_issue_conten_to_note.rb
  44. +4 −4 lib/assets/javascripts/branch-graph.js
  45. +10 −10 lib/graph_commit.rb
  46. +5 −5 spec/models/project_spec.rb
  47. +3 −3 spec/requests/dashboard_spec.rb
  48. +1 −1 spec/requests/projects_spec.rb
  49. +0 −4 spec/requests/tags_spec.rb
  50. +2 −2 spec/requests/top_panel_spec.rb
@@ -22,19 +22,19 @@ $(function(){
$('select#branch').selectmenu({style:'popup', width:200});
$('select#tag').selectmenu({style:'popup', width:200});
- $(".account-box").mouseenter(showMenu);
- $(".account-box").mouseleave(resetMenu);
-
+ $(".account-box").mouseenter(showMenu);
+ $(".account-box").mouseleave(resetMenu);
+
});
function updatePage(data){
$.ajax({type: "GET", url: location.href, data: data, dataType: "script"});
}
function showMenu() {
- $(this).toggleClass('hover');
+ $(this).toggleClass('hover');
}
function resetMenu() {
- $(this).removeClass("hover");
+ $(this).removeClass("hover");
}
@@ -8,25 +8,23 @@ $(document).ready(function(){
});
});
-
-
-var CommitsList = {
+var CommitsList = {
ref:null,
limit:0,
offset:0,
-init:
- function(ref, limit) {
- this.ref=ref;
- this.limit=limit;
- this.offset=limit;
+init:
+ function(ref, limit) {
+ this.ref=ref;
+ this.limit=limit;
+ this.offset=limit;
this.initLoadMore();
$('.loading').show();
},
getOld:
- function() {
+ function() {
$('.loading').show();
$.ajax({
type: "GET",
@@ -39,14 +37,14 @@ getOld:
append:
function(count, html) {
$("#commits_list").append(html);
- if(count > 0) {
+ if(count > 0) {
this.offset += count;
this.initLoadMore();
- }
+ }
},
initLoadMore:
- function() {
+ function() {
$(window).bind('scroll', function(){
if($(window).scrollTop() == $(document).height() - $(window).height()){
$(window).unbind('scroll');
@@ -1,20 +1,20 @@
-var NoteList = {
+var NoteList = {
first_id: 0,
last_id: 0,
resource_name: null,
-init:
- function(resource_name, first_id, last_id) {
- this.resource_name = resource_name;
- this.first_id = first_id;
- this.last_id = last_id;
+init:
+ function(resource_name, first_id, last_id) {
+ this.resource_name = resource_name;
+ this.first_id = first_id;
+ this.last_id = last_id;
this.initRefresh();
this.initLoadMore();
},
getOld:
- function() {
+ function() {
$('.loading').show();
$.ajax({
type: "GET",
@@ -31,25 +31,24 @@ append:
this.initLoadMore();
},
-replace:
+replace:
function(fid, lid, html) {
this.first_id = fid;
this.last_id = lid;
$("#notes-list").html(html);
this.initLoadMore();
},
-
prepend:
function(id, html) {
- if(id != this.last_id) {
+ if(id != this.last_id) {
this.last_id = id;
$("#notes-list").prepend(html);
}
},
getNew:
- function() {
+ function() {
// refersh notes list
$.ajax({
type: "GET",
@@ -59,7 +58,7 @@ getNew:
},
refresh:
- function() {
+ function() {
// refersh notes list
$.ajax({
type: "GET",
@@ -68,8 +67,6 @@ refresh:
dataType: "script"});
},
-
-
initRefresh:
function() {
// init timer
@@ -78,7 +75,7 @@ initRefresh:
},
initLoadMore:
- function() {
+ function() {
$(window).bind('scroll', function(){
if($(window).scrollTop() == $(document).height() - $(window).height()){
$(window).unbind('scroll');
@@ -48,7 +48,6 @@ function taggifyForm(){
source: '/tags.json'
});
-
$('form').submit( function() {
var tag_field = $('#tag_field')
tag_field.val( tag_field.tagify('serialize') );
@@ -15,10 +15,10 @@
.cgreen { color:#44aa22; }
/** COMMON STYLES **/
-.left {
+.left {
float:left;
}
-.right {
+.right {
float:right;
}
.width-50p{
@@ -33,7 +33,7 @@
.width-65p{
width:65%;
}
-.append-bottom-10 {
+.append-bottom-10 {
margin-bottom:10px;
}
.prepend-top-10 {
@@ -12,7 +12,7 @@
.issues_filter {
margin-top:10px;
- .left {
+ .left {
margin-right:15px;
}
}
@@ -38,11 +38,10 @@
/** ISSUES LIST **/
.issue .action-links {
- display:none;
- a {
+ display:none;
+ a {
margin-left:10px;
}
}
.issue:hover .action-links { display:block; }
-
@@ -14,7 +14,6 @@
}
}
-
/* Note textare */
#note_note {
height:100px;
@@ -99,28 +99,27 @@ a {
}
}
-td.code {
+td.code {
width: 100%;
- .highlight {
+ .highlight {
margin-left: 55px;
overflow:auto;
overflow-y:hidden;
}
}
-.highlight pre {
+.highlight pre {
white-space: pre;
word-wrap:normal;
}
.highlighttable tr:hover {
background:white;
}
-table.highlighttable pre{
+table.highlighttable pre{
line-height:16px !important;
font-size:12px !important;
}
-
table.highlighttable .linenodiv pre {
text-align: right;
padding-right: 4px;
@@ -235,7 +234,6 @@ input.ssh_project_url {
}
}
-
#user_projects_limit{
width: 60px;
}
@@ -244,7 +242,7 @@ input.ssh_project_url {
cursor: move;
}
-.project-refs-form {
+.project-refs-form {
span {
background: none !important;
position:static !important;
@@ -258,27 +256,27 @@ input.ssh_project_url {
}
.filter .left { margin-right:15px; }
-
-body.project-page table .commit {
- a.tree-commit-link {
+
+body.project-page table .commit {
+ a.tree-commit-link {
color:gray;
- &:hover {
+ &:hover {
text-decoration:underline;
}
}
}
/** NEW PROJECT **/
-.new-project-hodler {
+.new-project-hodler {
.icon span { background-position: -31px -70px; }
td { border-bottom: 1px solid #DEE2E3; }
}
/** Feed entry **/
.commit,
.snippet,
-.message {
- .title {
+.message {
+ .title {
color:#666;
a { color:#666 !important; }
p { margin-top:0px; }
@@ -295,21 +293,21 @@ body.project-page table .commit {
font-size:1.5em;
height:auto;
font-weight:bold;
- .ui-selectmenu-status {
+ .ui-selectmenu-status {
padding:3px 10px;
}
}
-
+
/** Snippets **/
-.new_snippet textarea,
-.edit_snippet textarea {
+.new_snippet textarea,
+.edit_snippet textarea {
height:300px;
padding: 8px;
width: 95%;
}
.snippet .action-links {
- display:none;
- a {
+ display:none;
+ a {
margin-left:10px;
}
}
@@ -348,11 +346,11 @@ body.project-page table .commit {
background: #2c5c66;
color:white;
}
- &.issue {
+ &.issue {
background: #D12F19;
color:white;
}
- &.commit {
+ &.commit {
background: #44aacc;
color:white;
}
Oops, something went wrong.

0 comments on commit 368deb5

Please sign in to comment.