2015-10-26 05:41:25 +01:00
<!DOCTYPE html>
< html >
< head >
< meta charset = "utf-8" / >
2015-10-26 22:50:09 +01:00
< title > Dictionary Builder< / title >
2015-10-26 05:41:25 +01:00
< link href = "css/styles.css" rel = "stylesheet" / >
< script src = "js/dictionaryBuilder.js" > < / script >
< / head >
< body >
2015-10-26 22:50:09 +01:00
< form id = "wordEntryForm" >
2015-10-26 05:41:25 +01:00
< label > < span > Word< / span >
< input type = "text" id = "word" / >
< / label >
< label > < span > Equivalent Word< / span >
< input type = "text" id = "simpleDefinition" / >
< / label >
2015-10-26 22:50:09 +01:00
< label > < span > Explanation< / span >
2015-10-26 05:41:25 +01:00
< textarea id = "longDefinition" > < / textarea >
< / label >
< label > < span > Part of Speech< / span >
< select id = "partOfSpeech" >
< option value = "noun" > Noun< / option >
< option value = "adjective" > Adjective< / option >
< option value = "verb" > Verb< / option >
< option value = "adverb" > Adverb< / option >
< option value = "preposition" > Preposition< / option >
< option value = "pronoun" > Pronoun< / option >
< option value = "conjunction" > Conjunction< / option >
< / select >
< / label >
2015-10-26 22:50:09 +01:00
< input type = "hidden" id = "editIndex" / >
< span id = "errorMessage" > < / span >
< div id = "newWordButtonArea" style = "display: block;" >
< button type = "button" onclick = "AddWord(); return false;" > Add Word< / button >
< / div >
< div id = "editWordButtonArea" style = "display: none;" >
< button type = "button" onclick = "AddWord(); return false;" > Edit Word< / button > < button type = "button" onclick = "ClearForm(); return false;" > Cancel< / button >
< / div >
< div id = "updateConflict" style = "display: none;" > < / div >
2015-10-26 05:41:25 +01:00
< / form >
< div id = "dictionaryContainer" >
2015-10-26 22:50:09 +01:00
< span id = "settingsButton" onclick = "ShowSettings()" > Settings< / span >
< h2 id = "dictionaryName" > < / h2 >
2015-10-26 05:41:25 +01:00
< div id = "theDictionary" > < / div >
< / div >
2015-10-26 22:50:09 +01:00
< div id = "settingsScreen" style = "display:none;" >
< span id = "settingsScreenCloseButton" onclick = "HideSettings()" > Close< / span >
< h2 > Dictionary Settings< / h2 >
< form >
< label >
< span > Dictionary name< / span >
< input type = "text" id = "dictionaryNameEdit" / >
< / label >
< label >
< span > Dictionary is complete< / span >
< input type = "checkbox" id = "dictionaryIsComplete" / >
< / label >
< label > < button type = "button" onclick = "ExportDictionary()" style = "cursor:pointer;" > Export Current Dictionary< / button > < / label >
< label >
< span > Import Dictionary< / span >
< input type = "file" id = "importFile" / >
< button type = "button" onclick = "ImportDictionary(); return false;" > Import< / button >
< / label >
< label > < button type = "button" onclick = "EmptyWholeDictionary()" style = "cursor:pointer;" > Empty Current Dictionary< / button > < / label >
< br >
< span id = "settingsErrorMessage" > < / span >
< button type = "button" onclick = "SaveSettings(); return false;" > Save Settings< / button > < br >
< button type = "button" onclick = "SaveSettings(); HideSettings(); return false;" > Save and Close< / button >
< / form >
< / div >
2015-10-26 22:57:32 +01:00
< footer > Version < script > document . write ( currentVersion ) ; < / script > . Dictionary Builder only guaranteed to work with most up-to-date HTML5 browsers.< / footer >
2015-10-26 05:41:25 +01:00
< / body >
< / html >