remove unused code + clean up styles in general box
This commit is contained in:
@@ -26,14 +26,6 @@
|
||||
"id": scope.node.id
|
||||
};
|
||||
|
||||
scope.template = {
|
||||
"description": "Description for the template section"
|
||||
};
|
||||
|
||||
scope.idSection = {
|
||||
"name": "Id"
|
||||
};
|
||||
|
||||
// get available templates
|
||||
scope.availableTemplates = getAvailableTemplates(scope.node);
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
.umb-node-preview {
|
||||
padding: 7px 0;
|
||||
padding: 5px 0;
|
||||
display: flex;
|
||||
max-width: 66.6%;
|
||||
box-sizing: border-box;
|
||||
|
||||
@@ -805,19 +805,6 @@ legend + .control-group {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.form-horizontal .block-form .umb-node-preview {
|
||||
padding: 0;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.form-horizontal .block-form .umb-control-group label small {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.form-horizontal .block-form .umb-control-group label {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
//make sure buttons are always on top
|
||||
.umb-panel-buttons .umb-btn-toolbar .btn {
|
||||
position: relative;
|
||||
|
||||
@@ -150,11 +150,12 @@
|
||||
<umb-box-content class="block-form">
|
||||
|
||||
<umb-control-group label="@template_createdDate">
|
||||
{{node.createDate | amDateFormat:'DD'}} {{ node.createDate | amDateFormat:'MMM'}} {{ node.createDate | amDateFormat:'YYYY'}}, {{node.createDate | amDateFormat:'h:mmA'}} by {{ node.owner.name }}
|
||||
{{node.createDate | amDateFormat:'MMMM Do YYYY, HH:mm'}} by {{ node.owner.name }}
|
||||
</umb-control-group>
|
||||
|
||||
<umb-control-group label="@content_documentType">
|
||||
<umb-node-preview
|
||||
style="max-width: 100%; margin-bottom: 0;"
|
||||
icon="documentType.icon"
|
||||
name="documentType.linkText"
|
||||
allow-open="allowOpen"
|
||||
@@ -171,10 +172,11 @@
|
||||
</select>
|
||||
</umb-control-group>
|
||||
|
||||
<umb-control-group label="{{ idSection.name }}">
|
||||
<umb-control-group label="Id">
|
||||
<div>{{ node.id }}</div>
|
||||
<small>{{ node.key }}</small>
|
||||
</umb-control-group>
|
||||
|
||||
</umb-box-content>
|
||||
</umb-box>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user