summaryrefslogtreecommitdiff
path: root/views/models.haml
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.de>2010-02-18 15:44:10 +0100
committerChristoph Helma <helma@in-silico.de>2010-02-18 15:44:10 +0100
commit53af6c563627bdb69eeceefecf2dc9ca62bd052e (patch)
tree1c2e1ac3f9d2e254b796918fc725fc1e6672c2e2 /views/models.haml
parent757ac0ba1fed803ecfc0c9a1ef632e615484a91a (diff)
model information added
Diffstat (limited to 'views/models.haml')
-rw-r--r--views/models.haml20
1 files changed, 20 insertions, 0 deletions
diff --git a/views/models.haml b/views/models.haml
new file mode 100644
index 0000000..9cf2bd6
--- /dev/null
+++ b/views/models.haml
@@ -0,0 +1,20 @@
+%p Get an overview about ToxCreate models. This page is refreshed every 15 seconds to update the model status.
+- @models.each do |model|
+ %h2
+ = model.name
+ %dl
+ %dt Status:
+ %dd
+ = model.status
+ (
+ = link_to "delete", "/model/#{model.id}/delete"
+ )
+ %dt Started:
+ %dd= model.created_at
+ %dt Details:
+ %dd= model.messages
+ %dt Validation:
+ %dd
+ %em
+ to be added
+