Skip to content

Commit fbe703f

Browse files
committed
UBO-481 Bootstrap: replaced mr-/ml- with me- and ms-
1 parent 0e8c104 commit fbe703f

File tree

10 files changed

+24
-28
lines changed

10 files changed

+24
-28
lines changed

ubo-common/pom.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -346,10 +346,6 @@
346346
<groupId>org.mycore</groupId>
347347
<artifactId>mycore-orcid2</artifactId>
348348
</dependency>
349-
<dependency>
350-
<groupId>org.mycore</groupId>
351-
<artifactId>mycore-sass</artifactId>
352-
</dependency>
353349
<dependency>
354350
<groupId>org.mycore</groupId>
355351
<artifactId>mycore-solr</artifactId>

ubo-common/src/main/resources/META-INF/resources/accessibility.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
Unsere Postanschrift lautet:
6969
</p>
7070

71-
<p class="border-left pl-5">
71+
<p class="border-left ps-5">
7272
Universitätsbibliothek Duisburg-Essen<br />
7373
Universitätsstr. 9 - 11<br />
7474
D-45141 Essen
@@ -98,7 +98,7 @@
9898
aus und senden ihn per
9999
<a href="mailto:ombudsstelle-barrierefreie-it@mags.nrw.de" title="E-Mail Ombudsstelle">E-Mail</a> an die Ombudsstelle.
100100
</p>
101-
<p class="border-left pl-5">
101+
<p class="border-left ps-5">
102102
Ombudsstelle für barrierefreie In­for­ma­ti­ons­tech­nik<br/>
103103
des Landes Nordrhein-Westfalen bei der<br/>
104104
Landesbeauftragten für Men­schen mit Be­hin­de­run­gen<br/>

ubo-common/src/main/resources/xsl/html-layout.xsl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -151,12 +151,12 @@
151151
<div id="basket-info" class="card my-3 w-100">
152152
<div class="card-body">
153153
<a href="{$ServletsBaseURL}MCRBasketServlet?action=show&amp;type=objects">
154-
<span class="fas fa-bookmark mr-1" aria-hidden="true" />
155-
<span class="mr-1"><xsl:value-of select="i18n:translate('basket')" />:</span>
156-
<span class="mr-1" id="basket-info-num">
154+
<span class="fas fa-bookmark me-1" aria-hidden="true" />
155+
<span class="me-1"><xsl:value-of select="i18n:translate('basket')" />:</span>
156+
<span class="me-1" id="basket-info-num">
157157
<xsl:value-of xmlns:basket="xalan://org.mycore.ubo.basket.BasketUtils" select="basket:size()" />
158158
</span>
159-
<span class="mr-1"><xsl:value-of select="i18n:translate('ubo.publications')" /></span>
159+
<span class="me-1"><xsl:value-of select="i18n:translate('ubo.publications')" /></span>
160160
</a>
161161
</div>
162162
</div>
@@ -223,7 +223,7 @@
223223
<!-- current user and login formular-->
224224
<xsl:template name="layout.login">
225225

226-
<div class="nav-item mr-2">
226+
<div class="nav-item me-2">
227227
<xsl:choose>
228228
<xsl:when test="$CurrentUser = $MCR.Users.Guestuser.UserName">
229229
<span class="user btn p-0" style="cursor: default;">
@@ -251,7 +251,7 @@
251251
<xsl:call-template name="orcidUser"/>
252252

253253
</div>
254-
<div class="nav-item mr-2">
254+
<div class="nav-item me-2">
255255
<xsl:choose>
256256
<xsl:when test="/html/@id='login'" />
257257
<xsl:when test="$CurrentUser = $MCR.Users.Guestuser.UserName">

ubo-common/src/main/resources/xsl/ldappidsearch.xsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@
121121
<div class="cancel-submit form-group form-inline">
122122
<label class="mycore-form-label">
123123
</label>
124-
<input type="submit" class="btn btn-primary mr-2" name="search" value="{i18n:translate('button.search')}" />
124+
<input type="submit" class="btn btn-primary me-2" name="search" value="{i18n:translate('button.search')}" />
125125
<input type="submit" class="btn btn-primary" name="cancel" value="{i18n:translate('button.cancel')}" />
126126
</div>
127127
<xsl:if test="results and not(contains(@referrer,'list-wizard'))">

ubo-common/src/main/resources/xsl/localpidsearch.xsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105
<div class="cancel-submit form-group form-inline">
106106
<label class="mycore-form-label">
107107
</label>
108-
<input type="submit" class="btn btn-primary mr-2" name="search" value="{i18n:translate('button.search')}" />
108+
<input type="submit" class="btn btn-primary me-2" name="search" value="{i18n:translate('button.search')}" />
109109
<input type="submit" class="btn btn-primary" name="cancel" value="{i18n:translate('button.cancel')}" />
110110
</div>
111111
<xsl:if test="results and not(contains(@referrer,'list-wizard'))">

ubo-common/src/main/resources/xsl/lsfpidsearch.xsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
<div class="cancel-submit form-group form-inline">
111111
<label class="mycore-form-label">
112112
</label>
113-
<input type="submit" class="btn btn-primary mr-2" name="search" value="{i18n:translate('button.search')}" />
113+
<input type="submit" class="btn btn-primary me-2" name="search" value="{i18n:translate('button.search')}" />
114114
<input type="submit" class="btn btn-primary" name="cancel" value="{i18n:translate('button.cancel')}" />
115115
</div>
116116
<xsl:if test="results and not(contains(@referrer,'list-wizard'))">

ubo-common/src/main/resources/xsl/mods-display.xsl

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
<xsl:template name="pubtype">
6363
<xsl:variable name="genre" select="substring-after(mods:genre[@type='intern']/@valueURI, '#')"/>
6464

65-
<span class="label-info badge bg-secondary mr-1 ubo-hover-pointer" title="{i18n:translate('ubo.genre')}"
65+
<span class="label-info badge bg-secondary me-1 ubo-hover-pointer" title="{i18n:translate('ubo.genre')}"
6666
onclick="location.assign('{$WebApplicationBaseURL}servlets/solr/select?sort=modified+desc&amp;q={encoder:encode(concat($fq, '+genre:&quot;', $genre, '&quot;'))}')">
6767
<xsl:apply-templates select="mods:genre[@type='intern']"/>
6868
<xsl:for-each select="mods:relatedItem[@type='host']/mods:genre[@type='intern']">
@@ -76,15 +76,15 @@
7676
<xsl:if test="check:currentUserIsAdmin()">
7777
<xsl:variable name="kdsf-pubtype" select="mods:classification[@generator='xpathmapping2kdsfPublicationType-mycore']"/>
7878
<xsl:for-each select="$kdsf-pubtype">
79-
<span class="label-info badge bg-warning text-white mr-1" title="{i18n:translate('ubo.publication.type.kdsf')}">
79+
<span class="label-info badge bg-warning text-white me-1" title="{i18n:translate('ubo.publication.type.kdsf')}">
8080
<xsl:variable name="categid" select="substring-after(@valueURI, '#')"/>
8181
<xsl:value-of select="mcrxsl:getDisplayName('kdsfPublicationType', $categid)"/>
8282
</span>
8383
</xsl:for-each>
8484

8585
<xsl:variable name="kdsf-doctype" select="mods:classification[@generator='xpathmapping2kdsfDocumentType-mycore']"/>
8686
<xsl:for-each select="$kdsf-doctype">
87-
<span class="label-info badge bg-info text-white mr-1" title="{i18n:translate('ubo.document.type.kdsf')}">
87+
<span class="label-info badge bg-info text-white me-1" title="{i18n:translate('ubo.document.type.kdsf')}">
8888
<xsl:variable name="categid" select="substring-after(@valueURI, '#')"/>
8989
<xsl:value-of select="mcrxsl:getDisplayName('kdsfDocumentType', $categid)"/>
9090
</span>
@@ -95,7 +95,7 @@
9595
<!-- ============ Ausgabe Fach ============ -->
9696

9797
<xsl:template match="mods:mods/mods:classification[contains(@authorityURI,'fachreferate')]" mode="label-info">
98-
<span class="label-info badge bg-secondary mr-1 ubo-hover-pointer" title="{i18n:translate('facets.facet.subject')}"
98+
<span class="label-info badge bg-secondary me-1 ubo-hover-pointer" title="{i18n:translate('facets.facet.subject')}"
9999
onclick="location.assign('{$WebApplicationBaseURL}servlets/solr/select?sort=modified+desc&amp;q={encoder:encode(concat($fq, '+subject:&quot;', substring-after(@valueURI,'#'),'&quot;'))}')">
100100
<xsl:call-template name="output.category">
101101
<xsl:with-param name="classID" select="'fachreferate'" />
@@ -107,7 +107,7 @@
107107
<!-- ========== Ausgabe Fakultät ========== -->
108108

109109
<xsl:template match="mods:classification[contains(@authorityURI,'ORIGIN')]" mode="label-info">
110-
<span class="label-info badge bg-secondary mr-1 ubo-hover-pointer" title="{i18n:translate('ubo.department')}"
110+
<span class="label-info badge bg-secondary me-1 ubo-hover-pointer" title="{i18n:translate('ubo.department')}"
111111
onclick="location.assign('{$WebApplicationBaseURL}servlets/solr/select?sort=modified+desc&amp;q={encoder:encode(concat($fq, '+origin:&quot;', substring-after(@valueURI,'#'), '&quot;'))}')">
112112
<xsl:call-template name="output.category">
113113
<xsl:with-param name="classID" select="'ORIGIN'" />
@@ -161,7 +161,7 @@
161161

162162
<xsl:template match="mods:classification[contains(@authorityURI,'oa')]" mode="label-info">
163163
<xsl:variable name="category" select="$oa//category[@ID=substring-after(current()/@valueURI,'#')]" />
164-
<span class="badge oa-badge oa-badge-{$category/@ID} ubo-hover-pointer mr-1"
164+
<span class="badge oa-badge oa-badge-{$category/@ID} ubo-hover-pointer me-1"
165165
onclick="location.assign('{$WebApplicationBaseURL}servlets/solr/select?sort=modified+desc&amp;q={encoder:encode(concat($fq, '+oa_exact:', $category/@ID))}')">
166166
<xsl:value-of select="$category/label[lang($CurrentLang)]/@text"/>
167167
</span>
@@ -334,7 +334,7 @@
334334
</xsl:template>
335335

336336
<xsl:template match="mods:dateIssued" mode="label-year-badge">
337-
<span class="label-info badge bg-secondary mr-1 ubo-hover-pointer" title="{i18n:translate('ubo.search.year')}"
337+
<span class="label-info badge bg-secondary me-1 ubo-hover-pointer" title="{i18n:translate('ubo.search.year')}"
338338
onclick="location.assign('{$WebApplicationBaseURL}servlets/solr/select?sort=modified+desc&amp;q={encoder:encode(concat($fq, '+year:', text()))}')">
339339
<xsl:value-of select="text()" />
340340
</span>

ubo-common/src/main/resources/xsl/mycoreobject-structure.xsl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -513,17 +513,17 @@
513513

514514
<div class="modal-footer">
515515
<button type="button" class="ubo-btn-cancel btn btn-secondary" data-dismiss="modal">
516-
<i class="fa fa-times mr-1" aria-hidden="true" />
516+
<i class="fa fa-times me-1" aria-hidden="true" />
517517
<xsl:value-of select="i18n:translate('button.cancel')"/>
518518
</button>
519519
<xsl:if test="$preview">
520520
<button type="submit" name="preview" value="true" class="ubo-btn-preview btn btn-secondary">
521-
<i class="fa fa-{$icon} mr-1" aria-hidden="true" />
521+
<i class="fa fa-{$icon} me-1" aria-hidden="true" />
522522
<xsl:value-of select="i18n:translate('button.preview')"/>
523523
</button>
524524
</xsl:if>
525525
<button type="submit" class="ubo-btn-submit btn btn-primary structure-action">
526-
<i class="fa fa-{$icon} mr-1" aria-hidden="true" />
526+
<i class="fa fa-{$icon} me-1" aria-hidden="true" />
527527
<xsl:value-of select="$button" />
528528
</button>
529529
</div>

ubo-common/src/main/resources/xsl/mycoreobject.xsl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@
252252
<xsl:variable name="numlinks" select="count(document($linkURI)/response/result[@name='response']/doc)" />
253253

254254
<xsl:if test="$numlinks &gt; 0">
255-
<span class="badge bg-alternative mr-1">
255+
<span class="badge bg-alternative me-1">
256256
<a href="solr/select?q=link:{/mycoreobject/@ID}&amp;sort=year+desc">
257257
<xsl:value-of select="concat(i18n:translate('ubo.relatedItem.link'),': ', $numlinks, ' ', i18n:translate('ubo.relatedItem.host.contains.publications'))"/>
258258
</a>
@@ -279,7 +279,7 @@
279279
<xsl:variable name="numDuplicates" select="count(document($duplicates)/result/duplicate)" />
280280

281281
<xsl:if test="$numDuplicates &gt; 0">
282-
<span class="badge bg-alternative ml-1 mr-1">
282+
<span class="badge bg-alternative ml-1 me-1">
283283
<a href="{$ServletsBaseURL}DozBibEntryServlet?id={/mycoreobject/@ID}&amp;XSL.Style=structure">
284284
<xsl:variable name="extro">
285285
<xsl:choose>

ubo-common/src/main/resources/xsl/user.xsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@
301301
<script src="{$WebApplicationBaseURL}modules/orcid2/js/orcid-auth.js"/>
302302

303303
<h3>
304-
<span class="far fa-hand-point-right mr-1" aria-hidden="true" />
304+
<span class="far fa-hand-point-right me-1" aria-hidden="true" />
305305
<xsl:text> </xsl:text>
306306
<xsl:value-of select="i18n:translate('orcid.integration.pending.headline')" />
307307
</h3>

0 commit comments

Comments
 (0)