Clone in a terminal:
Commit 8480b05
Johan Mattsson - 2012-08-06T22:14:02+00:00
8480b05030b240f3d6e97facae4f85112f05ceb0johan.mattsson.m@gmail.com

html layout callback functions

Changed files (2)

Diff

diff --git a/layout/style.css b/layout/style.cssnew file mode 100644index 0000000..1769986--- /dev/null+++ b/layout/style.css@@ -0,0 +1,49 @@+@charset "UTF-8";++body {+}++div {+	font-size: 10pt;+}++div.content {+	width: 100%;+}++div.heading {+	width: 100%;+	background-color: #BAC8E7; +	color: #FFFFFF;+}++div.format_box {+	margin: auto auto;+}++div.inner_format_box {+	background-color: #EFEFEF; +	width: 170px;+	height: 200px;+	margin-top: 50px;+	margin-left: auto;+	margin-right: auto;+	padding: 0 0 0 0;+	top: 50%;+}++h2 {+	font-size: 12pt;+	margin-left: 3px;+	margin-bottom: 4px;+}++h3 {+	font-size: 10pt;+	margin-left: 3px;+	margin-bottom: 4px;+}++input.text {+	width: 100%;	+}diff --git a/layout/supplement.js b/layout/supplement.jsnew file mode 100644index 0000000..a0a85cd--- /dev/null+++ b/layout/supplement.js@@ -0,0 +1,30 @@+function call (command) {+	document.title=command;+	document.title='done';+}++function update_export_settings () {++	var mess = 'export_svg:';+	+	var cb = document.getElementById('svg');+	+	if(cb.checked) {+		mess += 'true';+	} else {+		mess += 'false';+	}+	call (mess);+			+	mess = 'export_ttf:';			+	if(document.getElementById('ttf').checked) {+		mess += 'true';+	} else {+		mess += 'false';+	}+	call (mess);++	mess = 'export_name:';+	mess += document.getElementById('fontname').value;+	call (mess);+}

Contact

Email: johan.mattsson.m@gmail.com
Mastodon: typo.social/@birdfont
GitHub: johanmattssonm
LinkedIn: johan-mattsson-2ab324112