SOLR-2399: make fluid layout

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1132475 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Ryan McKinley 2011-06-05 18:35:06 +00:00
parent dfc834423e
commit 2b6e09ff3f
2 changed files with 27 additions and 15 deletions

View File

@ -13,7 +13,7 @@ body, h1, h2, h3, h4, h5, h6, a, button, input, select, option, textarea, th, td
body body
{ {
padding: 20px; padding: 30px;
text-align: center; text-align: center;
} }
@ -62,7 +62,6 @@ ul
margin: 0 auto; margin: 0 auto;
margin-bottom: 30px; margin-bottom: 30px;
text-align: left; text-align: left;
width: 1002px;
} }
#header #header
@ -109,9 +108,6 @@ ul
#main #main
{ {
background-image: url( ../img/div.gif );
background-position: 200px 0;
background-repeat: repeat-y;
border: 1px solid #c0c0c0; border: 1px solid #c0c0c0;
min-height: 600px; min-height: 600px;
position: relative; position: relative;
@ -186,7 +182,7 @@ ul
#menu-wrapper #menu-wrapper
{ {
float: left; float: left;
width: 201px; width: 20%;
} }
#menu p.loader #menu p.loader
@ -285,7 +281,11 @@ ul
#menu li #menu li
{ {
border-bottom: 1px solid #c0c0c0; border-bottom: 1px solid #c0c0c0;
/*border-right: 1px solid #f0f0f0;*/ }
#menu li p
{
border-right: 1px solid #c0c0c0;
} }
#menu li.optional #menu li.optional
@ -293,13 +293,16 @@ ul
display: none; display: none;
} }
#menu li:last-child #menu .singlecore li:last-child
{ {
border-bottom: 0; border-bottom: 0;
} }
#menu ul ul #menu ul ul
{ {
background-image: url( ../img/div.gif );
background-position: 100% 0;
background-repeat: repeat-y;
display: none; display: none;
padding-top: 5px; padding-top: 5px;
padding-bottom: 10px; padding-bottom: 10px;
@ -307,6 +310,7 @@ ul
#menu ul .active ul #menu ul .active ul
{ {
border-bottom: 1px solid #f0f0f0;
display: block; display: block;
} }
@ -405,7 +409,7 @@ ul
#content-wrapper #content-wrapper
{ {
float: right; float: right;
width: 799px; width: 80%;
} }
#content #content
@ -865,14 +869,14 @@ ul
#content #query #content #query
{ {
background-image: url( ../img/div.gif ); background-image: url( ../img/div.gif );
background-position: 210px 0; background-position: 22% 0;
background-repeat: repeat-y; background-repeat: repeat-y;
} }
#content #query #form #content #query #form
{ {
float: left; float: left;
width: 200px; width: 21%;
} }
#content #query #form label #content #query #form label
@ -960,7 +964,7 @@ ul
{ {
display: none; display: none;
float: right; float: right;
width: 560px; width: 77%;
} }
#content #query #result #url #content #query #result #url
@ -2439,20 +2443,20 @@ ul
#content #replication #content #replication
{ {
background-image: url( ../img/div.gif ); background-image: url( ../img/div.gif );
background-position: 165px 0; background-position: 21% 0;
background-repeat: repeat-y; background-repeat: repeat-y;
} }
#content #replication #frame #content #replication #frame
{ {
float: right; float: right;
width: 600px; width: 78%;
} }
#content #replication #navigation #content #replication #navigation
{ {
float: left; float: left;
width: 161px; width: 20%;
} }
#content #replication #error #content #replication #error

View File

@ -4158,9 +4158,17 @@ var solr_admin = function( app_config )
if( is_multicore ) if( is_multicore )
{ {
menu_element
.addClass( 'multicore' );
$( '#cores', menu_element ) $( '#cores', menu_element )
.show(); .show();
} }
else
{
menu_element
.addClass( 'singlecore' );
}
for( var core_name in response.status ) for( var core_name in response.status )
{ {