error.htm 865 B

12345678910111213141516171819
  1. <div class="cbi-map" id="cbi-<%=self.config%>">
  2. <% if self.title and #self.title > 0 then %><h2 name="content"><%=self.title%></h2><% end %>
  3. <% if self.description and #self.description > 0 then %><div class="cbi-map-descr"><%=self.description%></div><% end %>
  4. <p class="alert-message danger">
  5. <%: The configuration file could not be loaded due to the following error: %><br />
  6. <code><%=pcdata(self.error)%></code>
  7. </p>
  8. <textarea name="cbi.source" style="width:100%; margin-bottom:1em" rows="<%=math.max(self.source:cmatch("\n"), 10)%>"><%=pcdata(self.source)%></textarea>
  9. <p class="alert-message">
  10. <%: Edit the raw configuration data above to fix any error and hit "Save" to reload the page. %>
  11. </p>
  12. <div class="cbi-page-actions">
  13. <input class="btn cbi-button cbi-button-apply" type="submit" name="cbi.save" value="<%:Save%>" />
  14. </div>
  15. </div>