<%- local sysconfig = require 'gluon.sysconfig' local i18n = require 'luci.i18n' local template = require 'luci.template' -%>

<%:Welcome!%>

<%= template.render_string(i18n.translate('gluon-config-mode:welcome'), {hostname=hostname, sysconfig=sysconfig}) %>

<% if not self.embedded then %>
<% end %>
<% if self.title and #self.title > 0 then %>

<%=self.title%>

<% end %> <% if self.description and #self.description > 0 then %>
<%=self.description%>
<% end %> <% self:render_children() %>
<%- if self.message then %>
<%=self.message%>
<%- end %> <%- if self.errmessage then %>
<%=self.errmessage%>
<%- end %> <% if not self.embedded then %>
<%- if type(self.hidden) == "table" then for k, v in pairs(self.hidden) do -%> <%- end end %>
<% end %>