Skip to content
Snippets Groups Projects
Commit 4a52ebae authored by Iain Walmsley's avatar Iain Walmsley :popcorn:
Browse files

align Service Agreement page styling with Document page

parent 03c93fdd
Branches
Tags
1 merge request!632adding publication process for Service Agreements DCDEV-13
Pipeline #32267 passed
......@@ -22,7 +22,7 @@
<div class="row hidden-print adminPanel" role="toolbar">
<#if !isHistorical()>
<#if getState() != "pending publication" && getState() != "published">
<div class="btn-group">
<div class="btn-group btn-group-sm">
<button type="button" class="btn btn-default edit-control btn-wide" data-document-type="service-agreement">Edit</button>
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" >
<span class="caret"></span>
......@@ -41,17 +41,17 @@
<#list getModelLinks() as link>
<#if link.rel == 'history'>
<a href="${link.href}" class="btn btn-default">${link.title}</a>
<a href="${link.href}" class="btn btn-default btn-wide btn-sm">${link.title}</a>
<#else>
<form action="${link.href}" method="post">
<input type="submit" class="btn btn-default" value="${link.title}">
<input type="submit" class="btn btn-default btn-wide btn-sm" value="${link.title}">
</form>
</#if>
</#list>
<#elseif isHistorical()>
<#list getModelLinks() as link>
<#if link.title == 'History'>
<a href="${link.href}" class="btn btn-default">${link.title}</a>
<a href="${link.href}" class="btn btn-default btn-wide btn-sm">${link.title}</a>
</#if>
</#list>
</#if>
......
.serviceAgreement {
.adminPanel {
margin: 1em 0 !important;
.btn {
min-width: 150px;
.btn-wide {
min-width: 10em;
}
form {
display: inline-block;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment