Add AJAX indicators

pull/6827/head
Mark Maglana 15 years ago
parent 722b1e0a80
commit f41385d7bc
  1. 2
      app/views/backlogs/show.html.erb
  2. 1
      app/views/tasks/_task.html.erb
  3. BIN
      assets/images/warning.png
  4. 2
      assets/stylesheets/story.css
  5. 12
      assets/stylesheets/task.css

@ -32,7 +32,7 @@
<!-- form field templates -->
<select class="assigned_to_id template" id="assigned_to_id_options">
<option value="">None</option>
<option value=""> </option>
<%- @project.members.each do |member| %>
<option value="<%= member.user_id %>"><%= member.name %></option>
<%- end %>

@ -5,4 +5,5 @@
<div class="t"><%= assignee_name_or_empty(task) %></div>
<div class="v"><%= assignee_id_or_empty(task) %></div>
</div>
<div class="indicator"> </div>
</div>

Binary file not shown.

After

Width:  |  Height:  |  Size: 613 B

@ -57,7 +57,7 @@
width:16px;
}
.story.error .indicator{
background-image:url('/images/warning.png');
background-image:url('../images/warning.png');
}
.story .id{
background-color:#cfc;

@ -79,4 +79,16 @@
position:absolute;
top:81px;
width:108px;
}
.task.saving .indicator{
background-image:url('../images/indicator.gif');
display:block;
height:16px;
left:3px;
position:absolute;
top:1px;
width:16px;
}
.task.error .indicator{
background-image:url('../images/warning.png');
}
Loading…
Cancel
Save