gluon-web-model, gluon-config-mode-theme: replace old gluon-map class, fix Form id
This commit is contained in:
parent
9a732f30dd
commit
a3a1d217f2
File diff suppressed because one or more lines are too long
@ -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;
|
||||
}
|
||||
|
@ -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 %>
|
||||
|
Loading…
Reference in New Issue
Block a user