Commit 8480b05
html layout callback functions
Changed files (2)
Diff
new file mode 100644@@ -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%; +}new file mode 100644@@ -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);+}