mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 01:54:22 +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");
|
||||
int overallColSpan = 3;
|
||||
if (sidebar == null)
|
||||
{
|
||||
overallColSpan = 2;
|
||||
}
|
||||
%>
|
||||
|
||||
<%-- Right-hand side bar if appropriate --%>
|
||||
@@ -32,7 +27,11 @@
|
||||
if (sidebar != null)
|
||||
{
|
||||
%>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<%= sidebar %>
|
||||
</div>
|
||||
</div>
|
||||
<%
|
||||
}
|
||||
%>
|
||||
|
@@ -164,5 +164,7 @@
|
||||
|
||||
<%-- Page contents --%>
|
||||
<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;}
|
||||
.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