diff --git a/content/singledataset.html b/content/singledataset.html
index 96e7989a..3d1af3d6 100644
--- a/content/singledataset.html
+++ b/content/singledataset.html
@@ -4,6 +4,7 @@ date: 2019-08-29 09:00
draft: false
---
+
@@ -74,14 +75,14 @@ draft: false
const LatexInline = ['\\(', '\\)']
var md = [];
var els = [];
- var customRenderingProp = ["excitations", "sourceFile","DOI"]
- const fullNames={
- Abs:'Absorption',
- Fluo:"Fluorescence",
- ZPE:"ZPE"
+ var customRenderingProp = ["excitations", "sourceFile", "DOI"]
+ const fullNames = {
+ Abs: 'Absorption',
+ Fluo: "Fluorescence",
+ ZPE: "ZPE"
}
for (const key of Object.keys(window.data)) {
- if (window.data[key] != null) {
+ if (window.data[key] != null) {
md.push(fullNames[key])
for (const prop of Object.keys(window.data[key])) {
if (!(customRenderingProp.includes(prop)))
@@ -150,30 +151,32 @@ draft: false
For this select a method for absorption, fluorescence or ZPE
Data
diff --git a/static/css/form.css b/static/css/form.css
new file mode 100644
index 00000000..69c5f6d5
--- /dev/null
+++ b/static/css/form.css
@@ -0,0 +1,16 @@
+form fieldset.table {
+ display: table;
+}
+
+form fieldset.table div {
+ display: table-row;
+}
+
+form fieldset.table input, form fieldset.table select, form fieldset.table label {
+ display: table-cell;
+ margin: 3px;
+}
+
+form fieldset.table label {
+ text-align: right;
+}
\ No newline at end of file