-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'panel_improvements' into ux_improvements
- Loading branch information
Showing
44 changed files
with
1,199 additions
and
467 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
ul.icons | ||
li | ||
cursor:pointer | ||
list-style-image:none | ||
list-style-position:outside | ||
list-style-type:none | ||
margin:2px | ||
:position relative | ||
:float left | ||
:position relative | ||
:float left | ||
:margin 1px | ||
:padding-top 1px | ||
a | ||
:display block | ||
:height 23px | ||
:width 23px | ||
:margin 0px auto | ||
span.ui-icon | ||
margin: auto !important | ||
width: 16px | ||
height: 16px |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,26 @@ | ||
<span class="icons ui-widget ui-widget-content ui-corner-all"> | ||
<%= link_to "View", {:controller => model.class.to_s.downcase.pluralize, :id => model, :action => 'show'}, {:class=>"ui-icon-note ui-icon"} %> | ||
<%= link_to "Edit", {:controller => model.class.to_s.downcase.pluralize, :id => model, :action => 'edit'}, {:id=>"edit_#{model.class.to_s.downcase}_#{model.id}",:class=>"ui-icon-pencil ui-icon"} %> | ||
<% if not assoc.nil? %> | ||
<%= link_to "New #{assoc.capitalize}", {:controller => assoc.pluralize, :action => :new, "#{model.class.to_s.downcase}_id".to_sym => model.id }, {:class=>"ui-icon-document ui-icon"} %> | ||
<% end %> | ||
<%= link_to 'Delete', model, {:class=>"ui-icon-trash ui-icon",:method => :delete,:confirm => 'Are you sure?'} %> | ||
<ul class="icons"> | ||
<li title="View" class="ui-state-default ui-corner-all"> | ||
<%= link_to "<span class='ui-icon ui-icon-note' />", {:controller => model.class.to_s.downcase.pluralize, :id => model, :action => 'show'} %> | ||
</li> | ||
<li title="Edit" class="ui-state-default ui-corner-all"> | ||
<%= link_to "<span class='ui-icon-pencil ui-icon' />", | ||
{:controller => model.class.to_s.downcase.pluralize, :id => model, :action => 'edit'}, {:id=>"edit_#{model.class.to_s.downcase}_#{model.id}"} %> | ||
</li> | ||
<% if assoc.nil? == false && model.send("#{assoc.to_s.singularize}_ids").empty? == false %> | ||
<li title="<%= assoc.pluralize.capitalize %>" class="ui-state-default ui-corner-all"> | ||
<%= link_to "<span class='ui-icon ui-icon-zoomin' />", | ||
{:controller => model.class.to_s.downcase.pluralize, :id => model.id, :action => assoc.pluralize }%> | ||
</li> | ||
<% end %> | ||
<li title="Delete" class="ui-state-default ui-corner-all"> | ||
<%= link_to "<span class='ui-icon-trash ui-icon' />", model, {:method => :delete,:confirm => 'Are you sure?'} %> | ||
</li> | ||
<% if not assoc.nil? %> | ||
<li title="New <%=assoc.capitalize%>" class="ui-state-default ui-corner-all"> | ||
<%= link_to "<span class='ui-icon-document ui-icon' />", | ||
{:controller => assoc.pluralize, :action => :new, "#{model.class.to_s.downcase}_id".to_sym => model.id } %> | ||
</li> | ||
<% end %> | ||
</ul> | ||
</span> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,2 @@ | ||
<b>Title: </b><%= feature.title %><br/> | ||
<b>Created at: </b><%= feature.creation_date %><br/> | ||
<% if !feature.story_ids.empty? %> | ||
<%= link_to "Stories", stories_feature_path(feature)%> | ||
<% end %> | ||
<b>Created at: </b><%= feature.creation_date %><br/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,4 @@ | ||
<b>Title: </b><%= project.title %><br/> | ||
<b>Description: </b><%= project.description %><br/> | ||
<b>Aim: </b><%= project.aim %><br/> | ||
<b>Created at: </b><%= project.creation_date %><br/> | ||
<% if !project.feature_ids.empty? %> | ||
<%= link_to "Features", features_project_path(project)%> | ||
<% end %> | ||
<b>Created at: </b><%= project.creation_date %><br/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1 @@ | ||
<b>Scenario: </b><%=h story.scenario %><br/> | ||
<% if !story.step_ids.empty? %> | ||
<%= link_to "Steps", steps_story_path(story), {:id=>"story_#{story.id}_steps"} %> | ||
<% end %> | ||
<b>Scenario: </b><%=h story.scenario %><br/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<span id="panel" class="icons ui-widget ui-widget-content ui-corner-all"> | ||
<ul class="icons"> | ||
<% if not feature.stories.blank? %> | ||
<li class="ui-state-default ui-corner-all"> | ||
<%= link_to_with_tooltip "<span class='ui-icon ui-icon-disk' />", export_feature_path(feature), 'Export a feature' %> | ||
</li> | ||
<% end %> | ||
<% if feature.is_diff? %> | ||
<li class="ui-state-default ui-corner-all"> | ||
<%= link_to_with_tooltip "<span class='ui-icon-transferthick-e-w ui-icon' />", changes_feature_path(feature), 'Check the difference between the systems & your applications features' %> | ||
</li> | ||
<li class="ui-state-default ui-corner-all"> | ||
<%= link_to_with_tooltip "<span class='ui-icon ui-icon-arrowthickstop-1-n'/>", merge_feature_path(feature), 'Merge a systems changes with the feature' %> | ||
</li> | ||
<% end %> | ||
<% if !feature.stories.blank? %> | ||
<li class="ui-state-default ui-corner-all"> | ||
<%= link_to_with_tooltip "<span class='ui-icon ui-icon-arrowthickstop-1-s'/>", system_merge_feature_path(feature), 'Merge a features changes with the system' %> | ||
</li> | ||
<% end %> | ||
<% if feature.is_diff? %> | ||
<li class="ui-state-default ui-corner-all"> | ||
<%= link_to_with_tooltip "<span class='ui-icon ui-icon-shuffle'/>", feature_path(feature, :format => :patch), 'Patch a feature with the systems changes' %> | ||
</li> | ||
<% end %> | ||
<li class="ui-state-default ui-corner-all"> | ||
<%= link_to_with_tooltip "<span class='ui-icon ui-icon-pencil'/>", edit_feature_path(feature), 'Edit the feature and it\'s stories' %> | ||
</li> | ||
</ul> | ||
</span> | ||
<div class="clearfix"></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<span id="panel" class="icons ui-widget ui-widget-content ui-corner-all"> | ||
<ul class="icons"> | ||
<li class="ui-state-default ui-corner-all"> | ||
<%= link_to_with_tooltip "<span class='ui-icon ui-icon ui-icon-plus'/>", import_project_path(project), 'Allows you to import features singularly' unless @project.location.blank? %> | ||
</li> | ||
<li class="ui-state-default ui-corner-all"> | ||
<%= link_to_with_tooltip "<span class='ui-icon ui-icon-circle-plus'/>", import_all_project_path(project), 'Allows you to import all project features in one easy step' unless @project.location.blank? %> | ||
</li> | ||
<li class="ui-state-default ui-corner-all"> | ||
<%= link_to_with_tooltip "<span class='ui-icon ui-icon-pencil'/>", edit_project_path(project), 'Allows you to edit a projects information' %> | ||
</li> | ||
</ul> | ||
</span> | ||
<div class="clearfix"></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<span id="panel" class="ui-widget ui-widget-content ui-corner-all"> | ||
<ul class="icons"> | ||
<li class="ui-state-default ui-corner-all"> | ||
<%= link_to_with_tooltip "<span class='ui-icon ui-icon-pencil'/>", edit_step_path(@step), 'Edit the step' %> | ||
</li> | ||
</ul> | ||
</span> | ||
<div class="clearfix"></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<span id="panel" class="icons ui-widget ui-widget-content ui-corner-all"> | ||
<ul class="icons"> | ||
<li class="ui-state-default ui-corner-all"> | ||
<%= link_to_with_tooltip "<span class='ui-icon ui-icon-pencil'/>", edit_story_path(story), 'Edit the features information' %> | ||
</li> | ||
</ul> | ||
</span> | ||
<div class="clearfix"></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.