gluon-web-model, gluon-config-mode-theme: replace old gluon-map class, fix Form id

This commit is contained in:
Matthias Schiffer 2018-08-19 12:27:34 +02:00
parent 9a732f30dd
commit a3a1d217f2
No known key found for this signature in database
GPG Key ID: 16EF3F64CB201D9C
3 changed files with 6 additions and 6 deletions

File diff suppressed because one or more lines are too long

View File

@ -498,15 +498,15 @@ input.gluon-section-create-name {
margin-right: -0.25em;
}
div.gluon-map-descr {
div.gluon-form-descr {
margin-bottom: 1em;
}
.gluon-map-descr:empty, .gluon-section-descr:empty {
.gluon-form-descr:empty, .gluon-section-descr:empty {
display: none;
}
.gluon-map-descr, .gluon-section-descr, .gluon-page-actions {
.gluon-form-descr, .gluon-section-descr, .gluon-page-actions {
padding: 1em;
background: #ececec;
}

View File

@ -2,9 +2,9 @@
<input type="hidden" name="token" value="<%=token%>" />
<input type="hidden" name="<%=id%>" value="1" />
<div class="gluon-map" id="gluon-<%=self.config%>">
<div class="gluon-form" id="form-<%=id%>">
<% if self.title and #self.title > 0 then %><h2 name="content"><%|self.title%></h2><% end %>
<% if self.description and #self.description > 0 then %><div class="gluon-map-descr"><%=self.description%></div><% end %>
<% if self.description and #self.description > 0 then %><div class="gluon-form-descr"><%=self.description%></div><% end %>
<% self:render_children(renderer) %>
</div>
<%- if self.message then %>