amalgame/commit

added publisher style sheet

authorJacco van Ossenbruggen
Fri Jul 18 13:23:23 2014 +0200
committerJacco van Ossenbruggen
Fri Jul 18 13:23:23 2014 +0200
commit424c6e483fe3e39bdc254bf03daeba64d4a21a90
tree447274375b827a8db4c7187d90a61fb3fde8243d
parenta4d4a38f0bd232b7fa8b9d1eae6ffdc8fb482591
Diff style: patch stat
diff --git a/applications/publisher.pl b/applications/publisher.pl
index ebd5423..7026293 100644
--- a/applications/publisher.pl
+++ b/applications/publisher.pl
@@ -84,13 +84,16 @@ html_page(Alignment, Focus) :-
 	reply_html_page(amalgame(app),
 			[ title(['Align vocabularies'])
 			],
-			[ div(class('yui3-skin-sam yui-skin-sam'),
+			[ \html_requires(css('publisher.css')),
+			  div(class(publisher),
 			      [ \html_ag_header(
 				     [active(http_ag_publish_form),
 				      focus(Focus),
 				      strategy(Alignment)]),
-				div([id(main)],
-				    [ form([id(export_form), action(location_by_id(http_ag_publish)), method(post)],
+				div([id(main), class('yui3-g')],
+				    [ form([class('yui3-u'),
+					    id(export_form),
+					    action(location_by_id(http_ag_publish)), method(post)],
 					   ['Publish the strategy file along with ',
 					    input([type(hidden), name(alignment), value(Alignment)]),
 					    select([name(status), autocomplete(off)],
diff --git a/web/css/publisher.css b/web/css/publisher.css
new file mode 100644
index 0000000..11fe67a
--- /dev/null
+++ b/web/css/publisher.css
@@ -0,0 +1,9 @@
+.publisher div#main {
+	background-color: #C2C2C2;
+}
+.publisher form {
+	margin: 1em;
+	padding: 1em;
+	border: 1px solid #808080;
+	background-color: white;
+}