Skip to content

Commit

Permalink
ui improvements: loading icon, whitespace nowrap
Browse files Browse the repository at this point in the history
  • Loading branch information
corux committed May 24, 2013
1 parent ee9b57f commit 1ac1f9f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/_table.scala.html
Expand Up @@ -22,7 +22,7 @@
//cancel: "Cancel",
//submit: "Save",
//onblur: "ignore",
indicator: "@Messages("index.saving")",
indicator: "<div class='loading-small'></div>",
intercept: function(result) {
result = jQuery.parseJSON(result);
handleResult(result);
Expand Down
Binary file added public/images/ajax-loader-small.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions public/stylesheets/main.css
Expand Up @@ -19,6 +19,7 @@ table.dataTable tr:not(.obsolete) .btn-delete { display: none; }
table.dataTable tr:not(.obsolete) .btn-keep { display: none; }
table.dataTable tr:not(.keep) .btn-unkeep { display: none; }

table.dataTable tr td:first-child { white-space: nowrap; }
table.dataTable img { height: 1em; }

table.dataTable { border-collapse:collapse; border-spacing:0; }
Expand Down Expand Up @@ -112,3 +113,4 @@ table.dataTable tr.even.obsolete td.sorting_2 { background-color: #ffffe2; }

div.loading { background-image: url(../images/ajax-loader.gif); margin: 100px auto; width: 32px; height: 32px; }

div.loading-small { width: 16px; height: 16px; background-repeat: no-repeat; background-image: url(../images/ajax-loader-small.gif); }

0 comments on commit 1ac1f9f

Please sign in to comment.