Sha256: 51406c0a71f5b9afcef5f055dda85b16e18287960fb0b1862e3847759e197cc8
Contents?: true
Size: 1.37 KB
Versions: 3
Compression:
Stored size: 1.37 KB
Contents
<h1>WorkflowKit Demo App</h1> <p> This test app demonstrates the <strong>ruby on rails gem <a href="http://github.com/fiedl/workflow_kit">workflow_kit</a></strong>. </p> <p>You might start <i>executing</i> a workflow. Notice how this workflow adds some log messages below. Next, you could <i>edit</i> a workflow and see how that works.</p> <p>Please note, this gem is still in an <i>alpha state</i> and not ready for use in production, yet.</p> <h2>Workflows</h2> <table> <tr> <th>Name</th> <th>Description</th> <th></th> <th></th> <th></th> <th></th> </tr> <% @workflows.each do |workflow| %> <tr> <td><strong><%= workflow.name %></strong></td> <td><%= workflow.description %></td> <td><%= link_to 'Show', workflow %></td> <td><%= link_to 'Edit', edit_workflow_path(workflow) %></td> <td><%= link_to 'Destroy', workflow, method: :delete, data: { confirm: 'Are you sure?' } %></td> <td><%= link_to 'Execute', execute_workflow_path( workflow ), method: :put %></td> </tr> <% end %> </table> <br /> <%= link_to 'New Workflow', new_workflow_path %> <br /><br /> <h2>Logged Messages</h2> <div id="messages"> <ul> <% for message in Message.order( "created_at desc" ).limit( 10 ) %> <li> <span class="datetime"><%=h message.created_at %></span> <span class="text"><%=h message.text %></span> </li> <% end %> </ul> </div>
Version data entries
3 entries across 3 versions & 1 rubygems