diff options
Diffstat (limited to 'src/guff/views/dialogs/admin/site-add.cr')
-rw-r--r-- | src/guff/views/dialogs/admin/site-add.cr | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/guff/views/dialogs/admin/site-add.cr b/src/guff/views/dialogs/admin/site-add.cr index 894a34a..c124457 100644 --- a/src/guff/views/dialogs/admin/site-add.cr +++ b/src/guff/views/dialogs/admin/site-add.cr @@ -1,5 +1,29 @@ require "./site" class Guff::Views::Dialogs::Admin::SiteAdd < Guff::Views::Dialogs::Admin::Site + TABS = [{ + :id => "content", + :css => "active", + :icon => "fa-pencil", + :name => "Content", + :text => "View content tab.", + }, { + :id => "theme", + :css => "", + :icon => "fa-eye", + :name => "Theme", + :text => "View theme tab.", + }, { + :id => "other", + :css => "", + :icon => "fa-ellipsis-h", + :name => "Other", + :text => "View other tab.", + }] + + private def tabs + super("site-add", TABS) + end + ECR.def_to_s("src/views/dialogs/admin/site-add.ecr") end |