diff --git a/codemeta_generation.js b/codemeta_generation.js --- a/codemeta_generation.js +++ b/codemeta_generation.js @@ -36,6 +36,24 @@ 'issueTracker', 'name', 'version', + 'identifier', + 'description', + 'applicationCategory', + //keywords TODO:keywords array + 'releaseNotes', + 'funding', + 'runtimePlatform', + //softwareRequiremnts, + 'operatingSystem', + 'developmentStatus', + //relatedLink + 'programmingLanguage', + 'isPartOf', + //'referencePublication' + // "@type": "ScholarlyArticle", + // "idendifier": "https://doi.org/xx.xxxx/xxxx.xxxx.xxxx", + // "name": "title of publication" + ]; // Names of codemeta properties with a matching HTML field name, @@ -44,6 +62,7 @@ 'givenName', 'familyName', 'email', + 'affiliation' ]; function generatePerson(idPrefix) { diff --git a/dynamic_form.js b/dynamic_form.js --- a/dynamic_form.js +++ b/dynamic_form.js @@ -35,6 +35,11 @@

+

+ + +

`; return fieldset; diff --git a/fields_data.js b/fields_data.js --- a/fields_data.js +++ b/fields_data.js @@ -10,6 +10,7 @@ var SPDX_LICENSES = null; var SPDX_LICENSE_IDS = null; + function initSpdx() { var xhr = new XMLHttpRequest(); xhr.open('GET', './data/spdx/licenses.json', true); diff --git a/index.html b/index.html --- a/index.html +++ b/index.html @@ -28,8 +28,46 @@ + the software title

+ +

+ + + such as ISBNs, GTIN codes, UUIDs etc.. http://schema.org/identifier +

+ + +

+ + +

+ +

+ +
+ +

+ +

License - + + from SPDX licence list

@@ -86,6 +125,24 @@

+ +

+ +
+ +

+ + + + + + + +
@@ -115,6 +172,57 @@ onclick="removePerson('contributor');" />
+ +
+ Additional Info +

+ + + software funded by (e.g. specific grant) +

+ +

+ + +

+ +

+ + +

+ +

+ + + + + see www.repostatus.org for details +

+ +

+ + +

+ +

+ + +

+
diff --git a/style.css b/style.css --- a/style.css +++ b/style.css @@ -5,6 +5,7 @@ * See top-level LICENSE file for more information */ + .person { display: inline-block; } @@ -18,10 +19,20 @@ min-width: 20em; } +#funding { + /* Funding names are long */ + min-width: 20em; +} + input[type=URL] { /* URLs are longer than the other fields */ min-width: 20em; } +description { + color : rgb(100, 104, 103); + font-size: small; + display: block; +} #codemetaText { width: 100%; @@ -32,3 +43,11 @@ #errorMessage { color: red; } + +input:valid { + color: black; + } +input:invalid { + color: red; + } +