Luke Plant avatar Luke Plant committed 5a2c43d

GUI tweaks

Comments (0)

Files changed (2)

semanticeditor/media/semanticeditor/javascript/wymeditor/plugins/semantic/wymeditor.semantic.js

 	"<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr><td width=\"50%\"><div class=\"prescontrolheadings\">Structure:<br/><select size=\"7\" id=\"" + headingsbox_id + "\"></select>" +
 	"<br/><label><input type=\"checkbox\" id=\"" + headingsfilter_id + "\" checked=\"checked\"> Headings only</label></div></td>" +
 	"<td width=\"50%\"><div class=\"prescontroloptsboxcont\">Presentation choices:<div class=\"prescontroloptsbox\" id=\"" + optsbox_id + "\"></div></div></td></tr></table>" +
-	"<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr><td><div class=\"prescontrolrefresh\">" +
-	    "<input type=\"submit\" value=\"Refresh structure\" id=\"" + refresh_id + "\" />" +
-	    "<input type=\"submit\" value=\"Preview (hover/click)\" id=\"" + layoutpreview_id + "\" />" +
-	"</div></td>" +
-	"<td width=\"*\"><div class=\"prescontrolerror\" id=\"" + id_prefix + "errorbox" + "\"></div></td></tr></table>" +
+	"<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr>" +
+	    "<td><input type=\"submit\" value=\"Refresh structure\" id=\"" + refresh_id + "\" /></td>" +
+	    "<td><input type=\"submit\" value=\"Preview (click then hover)\" id=\"" + layoutpreview_id + "\" /></td>" +
+            "<td width=\"100%\"><div class=\"prescontrolerror\" id=\"" + id_prefix + "errorbox" + "\"></div></td></tr></table>" +
         "</div>");
 
     this.optsbox = jQuery('#' + optsbox_id);

semanticeditor/media/semanticeditor/javascript/wymeditor/skins/semanticeditor/skin.css

 	.prescontrolheadings select { min-width: 150px; }
 	.prescontroloptsboxcont div { clear:left; }
 	.prescontroloptsbox         { overflow-y: scroll; }
-	.prescontrolrefresh         {  }
 	.prescontrolerror           { color: red; text-align: center; padding-top: 5px; }
 	.prescontrol .prescontroloptsbox label {
 	    /* Override some stuff set by Django admin CSS*/
 	{
 	    clear: left;
 	    border: 1px solid red;
-	    padding: 3px;
-	    margin-bottom: 2px;
+	    padding: 2px;
+	    margin-bottom: 3px;
 	}
 
 	.orbitaltooltip-previewbox .rowclear
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.