class Deployinator::Views::Layout

Public Class Methods

partial(name) click to toggle source
Calls superclass method
# File lib/deployinator/views/layout.rb, line 15
def self.partial(name)
  if @@internal_partials.include?(name.to_s)
    File.read("#{File.dirname(__FILE__)}/../templates/#{name.to_s}.mustache")
  else
    super
  end
end

Public Instance Methods

additional_bottom_body_html() click to toggle source
# File lib/deployinator/views/layout.rb, line 31
def additional_bottom_body_html
  ""
end
additional_header_html() click to toggle source
# File lib/deployinator/views/layout.rb, line 39
def additional_header_html
  ""
end
additional_top_body_html() click to toggle source
# File lib/deployinator/views/layout.rb, line 35
def additional_top_body_html
  ""
end
disabled_override() click to toggle source
# File lib/deployinator/views/layout.rb, line 27
def disabled_override
  @disabled_override
end
set_stack(stack) click to toggle source
# File lib/deployinator/views/layout.rb, line 23
def set_stack(stack)
  @stack = stack
end
tailer_loading_message() click to toggle source
# File lib/deployinator/views/layout.rb, line 43
def tailer_loading_message
  "Currently connecting to tailer web socket. If this message persists for a long time, please contact your administrator. If you are developing a new stack, try restarting the deployinator-tailer."
end