Bootstrap template improvements:

support for sidebar
add a banner
add an extra dspace-theme.css
This commit is contained in:
Andrea Bollini
2013-09-12 15:10:28 +02:00
parent 0c5c4cfe03
commit 262a1ec85b
3 changed files with 12 additions and 8 deletions

View File

@@ -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>
<%
}
%>

View File

@@ -164,5 +164,7 @@
<%-- Page contents --%>
<div class="container">
<% if (request.getAttribute("dspace.layout.sidebar") != null) { %>
<div class="row">
<div class="col-md-9">
<% } %>

View File

@@ -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;}