summaryrefslogtreecommitdiff
path: root/app/views/gs_cluster_sync_log_entries
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2012-12-17 12:01:45 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2012-12-17 12:01:45 +0100
commitb80bd744ad873f6fc43018bc4bfb90677de167bd (patch)
tree072c4b0e33d442528555b82c415f5e7a1712b2b0 /app/views/gs_cluster_sync_log_entries
parent3e706c2025ecc5523e81ad649639ef2ff75e7bac (diff)
Start of GS5.
Diffstat (limited to 'app/views/gs_cluster_sync_log_entries')
-rw-r--r--app/views/gs_cluster_sync_log_entries/_form.html.haml7
-rw-r--r--app/views/gs_cluster_sync_log_entries/_form_core.html.haml6
-rw-r--r--app/views/gs_cluster_sync_log_entries/_index_core.html.haml17
-rw-r--r--app/views/gs_cluster_sync_log_entries/edit.html.haml3
-rw-r--r--app/views/gs_cluster_sync_log_entries/index.html.haml6
-rw-r--r--app/views/gs_cluster_sync_log_entries/new.html.haml3
-rw-r--r--app/views/gs_cluster_sync_log_entries/show.html.haml19
7 files changed, 61 insertions, 0 deletions
diff --git a/app/views/gs_cluster_sync_log_entries/_form.html.haml b/app/views/gs_cluster_sync_log_entries/_form.html.haml
new file mode 100644
index 0000000..2c47d88
--- /dev/null
+++ b/app/views/gs_cluster_sync_log_entries/_form.html.haml
@@ -0,0 +1,7 @@
+= simple_form_for(@gs_cluster_sync_log_entry) do |f|
+ = f.error_notification
+
+ = render "form_core", :f => f
+
+ .actions
+ = f.button :submit, conditional_t('gs_cluster_sync_log_entries.form.submit') \ No newline at end of file
diff --git a/app/views/gs_cluster_sync_log_entries/_form_core.html.haml b/app/views/gs_cluster_sync_log_entries/_form_core.html.haml
new file mode 100644
index 0000000..50b4630
--- /dev/null
+++ b/app/views/gs_cluster_sync_log_entries/_form_core.html.haml
@@ -0,0 +1,6 @@
+.inputs
+ = f.input :gs_node_id, :label => t('gs_cluster_sync_log_entries.form.gs_node_id.label'), :hint => conditional_hint('gs_cluster_sync_log_entries.form.gs_node_id.hint')
+ = f.input :class_name, :label => t('gs_cluster_sync_log_entries.form.class_name.label'), :hint => conditional_hint('gs_cluster_sync_log_entries.form.class_name.hint')
+ = f.input :action, :label => t('gs_cluster_sync_log_entries.form.action.label'), :hint => conditional_hint('gs_cluster_sync_log_entries.form.action.hint')
+ = f.input :content, :label => t('gs_cluster_sync_log_entries.form.content.label'), :hint => conditional_hint('gs_cluster_sync_log_entries.form.content.hint')
+ = f.input :status, :label => t('gs_cluster_sync_log_entries.form.status.label'), :hint => conditional_hint('gs_cluster_sync_log_entries.form.status.hint')
diff --git a/app/views/gs_cluster_sync_log_entries/_index_core.html.haml b/app/views/gs_cluster_sync_log_entries/_index_core.html.haml
new file mode 100644
index 0000000..05cbda8
--- /dev/null
+++ b/app/views/gs_cluster_sync_log_entries/_index_core.html.haml
@@ -0,0 +1,17 @@
+%table
+ %tr
+ %th= t('gs_cluster_sync_log_entries.index.gs_node_id')
+ %th= t('gs_cluster_sync_log_entries.index.class_name')
+ %th= t('gs_cluster_sync_log_entries.index.action')
+ %th= t('gs_cluster_sync_log_entries.index.content')
+ %th= t('gs_cluster_sync_log_entries.index.status')
+
+ - reset_cycle
+ - for gs_cluster_sync_log_entry in gs_cluster_sync_log_entries
+ %tr{:class => cycle('odd', 'even')}
+ %td= gs_cluster_sync_log_entry.gs_node_id
+ %td= gs_cluster_sync_log_entry.class_name
+ %td= gs_cluster_sync_log_entry.action
+ %td= gs_cluster_sync_log_entry.content
+ %td= gs_cluster_sync_log_entry.status
+ =render :partial => 'shared/index_view_edit_destroy_part', :locals => {:child => gs_cluster_sync_log_entry} \ No newline at end of file
diff --git a/app/views/gs_cluster_sync_log_entries/edit.html.haml b/app/views/gs_cluster_sync_log_entries/edit.html.haml
new file mode 100644
index 0000000..b0c65f3
--- /dev/null
+++ b/app/views/gs_cluster_sync_log_entries/edit.html.haml
@@ -0,0 +1,3 @@
+- title t("gs_cluster_sync_log_entries.edit.page_title")
+
+= render "form" \ No newline at end of file
diff --git a/app/views/gs_cluster_sync_log_entries/index.html.haml b/app/views/gs_cluster_sync_log_entries/index.html.haml
new file mode 100644
index 0000000..68be7e0
--- /dev/null
+++ b/app/views/gs_cluster_sync_log_entries/index.html.haml
@@ -0,0 +1,6 @@
+- title t("gs_cluster_sync_log_entries.index.page_title")
+
+- if @gs_cluster_sync_log_entries && @gs_cluster_sync_log_entries.count > 0
+ = render "index_core", :gs_cluster_sync_log_entries => @gs_cluster_sync_log_entries
+
+= render :partial => 'shared/create_link', :locals => {:child_class => GsClusterSyncLogEntry} \ No newline at end of file
diff --git a/app/views/gs_cluster_sync_log_entries/new.html.haml b/app/views/gs_cluster_sync_log_entries/new.html.haml
new file mode 100644
index 0000000..01b795c
--- /dev/null
+++ b/app/views/gs_cluster_sync_log_entries/new.html.haml
@@ -0,0 +1,3 @@
+- title t("gs_cluster_sync_log_entries.new.page_title")
+
+= render "form" \ No newline at end of file
diff --git a/app/views/gs_cluster_sync_log_entries/show.html.haml b/app/views/gs_cluster_sync_log_entries/show.html.haml
new file mode 100644
index 0000000..733576d
--- /dev/null
+++ b/app/views/gs_cluster_sync_log_entries/show.html.haml
@@ -0,0 +1,19 @@
+- title t("gs_cluster_sync_log_entries.show.page_title")
+
+%p
+ %strong= t('gs_cluster_sync_log_entries.show.gs_node_id') + ":"
+ = @gs_cluster_sync_log_entry.gs_node_id
+%p
+ %strong= t('gs_cluster_sync_log_entries.show.class_name') + ":"
+ = @gs_cluster_sync_log_entry.class_name
+%p
+ %strong= t('gs_cluster_sync_log_entries.show.action') + ":"
+ = @gs_cluster_sync_log_entry.action
+%p
+ %strong= t('gs_cluster_sync_log_entries.show.content') + ":"
+ = @gs_cluster_sync_log_entry.content
+%p
+ %strong= t('gs_cluster_sync_log_entries.show.status') + ":"
+ = @gs_cluster_sync_log_entry.status
+
+= render :partial => 'shared/show_edit_destroy_part', :locals => { :child => @gs_cluster_sync_log_entry } \ No newline at end of file