forked from I2P_Developers/i2p.i2p
home page CSS
This commit is contained in:
@ -45,6 +45,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="homemain">
|
||||
<jsp:useBean class="net.i2p.router.web.HomeHelper" id="homehelper" scope="request" />
|
||||
<jsp:setProperty name="homehelper" property="contextId" value="<%=(String)session.getAttribute(\"i2p.contextId\")%>" />
|
||||
<% if (homehelper.shouldShowWelcome()) { %>
|
||||
@ -77,7 +78,7 @@
|
||||
if (newshelper.shouldShowNews()) {
|
||||
java.io.File fpath = new java.io.File(net.i2p.I2PAppContext.getGlobalContext().getRouterDir(), "docs/news.xml");
|
||||
%>
|
||||
<div class="news" id="news">
|
||||
<div class="news" id="homenews">
|
||||
<jsp:setProperty name="newshelper" property="page" value="<%=fpath.getAbsolutePath()%>" />
|
||||
<jsp:setProperty name="newshelper" property="maxLines" value="300" />
|
||||
<jsp:getProperty name="newshelper" property="content" />
|
||||
@ -111,4 +112,5 @@
|
||||
<jsp:getProperty name="homehelper" property="services" /><br>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body></html>
|
||||
|
@ -602,15 +602,32 @@ td {
|
||||
/* begin home page */
|
||||
|
||||
#appsummary {
|
||||
margin-top: 0;
|
||||
clear: none;
|
||||
float: none;
|
||||
left: 10px;
|
||||
margin: 0;
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
}
|
||||
|
||||
#homemain {
|
||||
left: 217px;
|
||||
margin: 0 10px 10px 0;
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
}
|
||||
|
||||
#homenews {
|
||||
margin: 0 10px 5px 0;
|
||||
}
|
||||
|
||||
h2.app {
|
||||
margin: 15px 10px 15px 207px !important;
|
||||
border-radius: 8px;
|
||||
margin: 1px 10px 15px 0 !important;
|
||||
}
|
||||
|
||||
h4.app {
|
||||
margin: 0 4px 2px 0;
|
||||
margin: 0 10px 2px 10px;
|
||||
padding: 10px 0 8px 0;
|
||||
}
|
||||
|
||||
@ -621,7 +638,7 @@ h4.app2 {
|
||||
}
|
||||
|
||||
div.ag2 {
|
||||
margin: 0 0 0 207px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
div.app {
|
||||
@ -638,7 +655,7 @@ div.appgroup {
|
||||
}
|
||||
|
||||
div.search {
|
||||
margin: 10px 10px 0 207px;
|
||||
margin: 10px 10px 0 0;
|
||||
padding: 8px 8px 0 8px;
|
||||
width: auto;
|
||||
}
|
||||
|
Reference in New Issue
Block a user