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;
|
margin-right: -0.25em;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.gluon-map-descr {
|
div.gluon-form-descr {
|
||||||
margin-bottom: 1em;
|
margin-bottom: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.gluon-map-descr:empty, .gluon-section-descr:empty {
|
.gluon-form-descr:empty, .gluon-section-descr:empty {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.gluon-map-descr, .gluon-section-descr, .gluon-page-actions {
|
.gluon-form-descr, .gluon-section-descr, .gluon-page-actions {
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
background: #ececec;
|
background: #ececec;
|
||||||
}
|
}
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
<input type="hidden" name="token" value="<%=token%>" />
|
<input type="hidden" name="token" value="<%=token%>" />
|
||||||
<input type="hidden" name="<%=id%>" value="1" />
|
<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.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) %>
|
<% self:render_children(renderer) %>
|
||||||
</div>
|
</div>
|
||||||
<%- if self.message then %>
|
<%- if self.message then %>
|
||||||
|
Loading…
Reference in New Issue
Block a user