mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-17 15:03:18 +00:00
Bootstrap template improvements:
support for sidebar add a banner add an extra dspace-theme.css
This commit is contained in:
@@ -20,11 +20,6 @@
|
|||||||
|
|
||||||
<%
|
<%
|
||||||
String sidebar = (String) request.getAttribute("dspace.layout.sidebar");
|
String sidebar = (String) request.getAttribute("dspace.layout.sidebar");
|
||||||
int overallColSpan = 3;
|
|
||||||
if (sidebar == null)
|
|
||||||
{
|
|
||||||
overallColSpan = 2;
|
|
||||||
}
|
|
||||||
%>
|
%>
|
||||||
|
|
||||||
<%-- Right-hand side bar if appropriate --%>
|
<%-- Right-hand side bar if appropriate --%>
|
||||||
@@ -32,7 +27,11 @@
|
|||||||
if (sidebar != null)
|
if (sidebar != null)
|
||||||
{
|
{
|
||||||
%>
|
%>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-3">
|
||||||
<%= sidebar %>
|
<%= sidebar %>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<%
|
<%
|
||||||
}
|
}
|
||||||
%>
|
%>
|
||||||
|
@@ -164,5 +164,7 @@
|
|||||||
|
|
||||||
<%-- Page contents --%>
|
<%-- Page contents --%>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
<% if (request.getAttribute("dspace.layout.sidebar") != null) { %>
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-9">
|
||||||
|
<% } %>
|
@@ -1,3 +1,6 @@
|
|||||||
.banner img {background-color: #FFFFFF;padding:15px;margin:20px;}
|
.banner img {background-color: #FFFFFF;padding:15px;margin:20px;}
|
||||||
.brand {padding-top: 30px;}
|
.brand {padding-top: 30px;}
|
||||||
.brand h4 {color: #999999}
|
.brand h4 {color: #999999}
|
||||||
|
ol.breadcrumb li {color: white; font-style: italic;}
|
||||||
|
ol.breadcrumb li a {color: white; font-weight: bold; font-style: normal;}
|
||||||
|
body {overflow-x: hidden;}
|
Reference in New Issue
Block a user