Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Metadata Catalogue
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EIP
Metadata Catalogue
Commits
4a52ebae
Commit
4a52ebae
authored
1 year ago
by
Iain Walmsley
Browse files
Options
Downloads
Patches
Plain Diff
align Service Agreement page styling with Document page
parent
03c93fdd
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!632
adding publication process for Service Agreements DCDEV-13
Pipeline
#32267
passed
1 year ago
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
templates/html/service_agreement/service-agreement.ftlh
+4
-4
4 additions, 4 deletions
templates/html/service_agreement/service-agreement.ftlh
web/less/style-serviceagreement.less
+2
-2
2 additions, 2 deletions
web/less/style-serviceagreement.less
with
6 additions
and
6 deletions
templates/html/service_agreement/service-agreement.ftlh
+
4
−
4
View file @
4a52ebae
...
...
@@ -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>
...
...
This diff is collapsed.
Click to expand it.
web/less/style-serviceagreement.less
+
2
−
2
View file @
4a52ebae
.serviceAgreement {
.adminPanel {
margin: 1em 0 !important;
.btn {
min-width: 1
50px
;
.btn
-wide
{
min-width: 1
0em
;
}
form {
display: inline-block;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment