Skip to content

Commit

Permalink
From rat- to flo- css tags
Browse files Browse the repository at this point in the history
  • Loading branch information
northox committed Nov 14, 2020
1 parent d045430 commit a74b44d
Show file tree
Hide file tree
Showing 11 changed files with 19 additions and 19 deletions.
6 changes: 3 additions & 3 deletions app/views/floristry/ssh/_flo_task.html.erb
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<div class="rat-bubble">
<div class="rat-task-header">
<div class="flo-bubble">
<div class="flo-task-header">
<%= flo_task.current_state %>
<b><%= flo_task.name %></b>
</div>
<div class="rat-task">
<div class="flo-task">
<pre>
<%= flo_task.to_yaml %>
</pre>
Expand Down
2 changes: 1 addition & 1 deletion app/views/floristry/web/_flo_task.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="rat-task">
<div class="flo-task">
<p>
State: <%= flo_task.instance.current_state %>
</p>
Expand Down
2 changes: 1 addition & 1 deletion app/views/floristry/workflows/_flo_concurrence.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="rat-concurrence">
<div class="flo-concurrence">
<%- flo_concurrence.each_with_index do |child, index| %>
<%= render :partial => child.class.to_s.underscore,
:layout => child.layout,
Expand Down
2 changes: 1 addition & 1 deletion app/views/floristry/workflows/_flo_cron.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="rat-cron">
<div class="flo-cron">
Cron "<%= flo_cron.atts.keys[0] %>"
<%- flo_cron.each_with_index do |child, index| %>
<%= render :partial => child.class.to_s.underscore,
Expand Down
2 changes: 1 addition & 1 deletion app/views/floristry/workflows/_flo_if.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="rat-sequence">
<div class="flo-sequence">
<%- flo_if.each_with_index do |child, index| %>
<%= render :partial => child,
:layout => child.layout,
Expand Down
2 changes: 1 addition & 1 deletion app/views/floristry/workflows/_flo_sequence.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="rat-sequence">
<div class="flo-sequence">
<%- flo_sequence.each_with_index do |child, index| %>
<%= render :partial => child,
:layout => child.layout,
Expand Down
6 changes: 3 additions & 3 deletions app/views/floristry/workflows/_flo_sleep.html.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div class="rat-bubble">
<div class="rat-task-header">
<div class="flo-bubble">
<div class="flo-task-header">
</div>
<div class="rat-task">
<div class="flo-task">
Sleep for <pre><%= flo_sleep.duration %></pre>
</div>
</div>
6 changes: 3 additions & 3 deletions app/views/floristry/workflows/_flo_task.html.erb
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<div class="rat-bubble">
<div class="rat-task-header">
<div class="flo-bubble">
<div class="flo-task-header">
<%= flo_task.current_state %>
<b><%= flo_task.name %> (<%= flo_task.atts[0] %>)</b>
</div>
<div class="rat-task">
<div class="flo-task">
<pre>
<%= flo_task.payload.except('scoped', 'procedure_id') %>
</pre>
Expand Down
6 changes: 3 additions & 3 deletions app/views/layouts/floristry/_leaf-procedure.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="rat-leaf">
<div class="rat-out">
<div class="rat-in<%= ' rat-active' if leaf.active? %>">
<div class="flo-leaf">
<div class="flo-out">
<div class="flo-in<%= ' flo-active' if leaf.active? %>">
<%= yield %>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion lib/generators/floristry/templates/_task.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="rat-leaf-header"><%= class_name %></div>
<div class="flo-leaf-header"><%= class_name %></div>

<%%= simple_form_for(<%= singular_table_name %>) do |f| %>
<%%= f.error_notification %>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="rat-leaf-header">FormTask</div>
<div class="flo-leaf-header">FormTask</div>

<%= simple_form_for(form_task) do |f| %>
<%= f.error_notification %>
Expand Down

0 comments on commit a74b44d

Please sign in to comment.