Use bootstrap classes where possible

This commit is contained in:
2018-09-07 18:13:04 +02:00
parent 6b3f025e16
commit 612862c048
7 changed files with 35 additions and 26 deletions

View File

@@ -33,8 +33,8 @@ script(type="text/javascript").
} else if (node_type === 'group_hdri') {
node_type_str = 'HDRi Folder';
}
$('a', '.button-edit').html('<i class="pi-edit button-edit-icon"></i> Edit ' + node_type_str);
$('a', '.button-delete').html('<i class="pi-trash button-delete-icon"></i>Delete ' + node_type_str);
$('a', '.button-edit').html('<i class="pr-2 pi-edit button-edit-icon"></i> Edit ' + node_type_str);
$('a', '.button-delete').html('<i class="pr-2 pi-trash button-delete-icon"></i>Delete ' + node_type_str);
{% if parent %}
ProjectUtils.setProjectAttributes({parentNodeId: '{{parent._id}}'});

View File

@@ -11,19 +11,18 @@ header
#node-container
#node-overlay
section.node-details-container.page
.node-details-container.page.expand-image-links.imgs-fluid
.node-details-header
.node-title#node-title
| {{node.name}}
h2.pt-3.text-center {{node.name}}
hr
| {% if node.description %}
.node-details-description#node-description
| {{ node | markdowned('description') }}
| {{ node | markdowned('description') }}
| {% endif %}
.node-details-meta.footer
span.updated(title="created {{ node._created | pretty_date }}") updated {{ node._updated | pretty_date }}
small.text-muted
span(title="created {{ node._created | pretty_date }}") Updated {{ node._updated | pretty_date }}
include ../_scripts