Lexiconga/index.html

128 lines
4.5 KiB
HTML
Raw Normal View History

2019-05-02 18:57:56 +02:00
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Lexiconga</title>
<script src="src/index.js"></script>
</head>
<body>
<header id="top">
<h1 id="title">Lexiconga</h1>
2019-05-03 21:59:52 +02:00
<input id="openSearchModal" placeholder="🔍&#xFE0E; Search">
<section id="searchModal" class="modal" style="display:none;">
<div class="modal-background" onclick="this.parentElement.style.display='none';"></div>
<div class="modal-content">
<a class="close-button" onclick="this.parentElement.parentElement.style.display='none';">&times;&#xFE0E;</a>
<section>
<label><strong>Search Term</strong>
<input id="searchBox" placeholder="Search term">
</label>
<a id="searchButton" class="small button">Search</a>
<a id="clearSearchButton" class="small red button">Clear</a>
<a class="small button" onclick="var options=document.getElementById('searchOptions').style;options.display=options.display=='block'?'none':'block';">
Toggle Options
</a>
</section>
<footer id="searchOptions" style="display:none;">
<div class="split">
<div class="quarter category">
<h3>Include in Search</h3>
</div>
<div class="three-quarter options">
<label><strong>Word Name</strong>
<input type="checkbox" checked id="searchIncludeName">
</label>
<label><strong>Definition</strong>
<input type="checkbox" checked id="searchIncludeDefinition">
</label>
<label><strong>Details</strong>
<input type="checkbox" checked id="searchIncludeDetails">
</label>
</div>
</div>
</footer>
</div>
</section>
2019-05-02 18:57:56 +02:00
</header>
<main>
<aside id="sideColumn">
<form id="wordForm">
<label>Word<span class="red">*</span><br>
<input id="wordName">
</label>
<label>Pronunciation<a class="label-button">IPA Chart</a><br>
<input id="wordPronunciation">
</label>
<label>Part of Speech<br>
<select id="wordPartOfSpeech" class="part-of-speech-select"></select>
</label>
<label>Definition<span class="red">*</span><br>
<input id="wordDefinition" placeholder="Equivalent words">
</label>
<label>Details<span class="red">*</span><a class="label-button">Maximize</a><br>
<textarea id="wordDetails" placeholder="Markdown formatting allowed"></textarea>
2019-05-02 18:57:56 +02:00
</label>
<div id="wordErrorMessage"></div>
<a class="button" id="addWordButton">Add Word</a>
2019-05-02 18:57:56 +02:00
</form>
</aside>
<section id="mainColumn">
<section id="detailsSection">
<h2 id="dictionaryName">Dictionary Name</h2>
2019-05-02 18:57:56 +02:00
<nav>
<ul>
2019-05-02 23:45:10 +02:00
<li>Description</li><li>Details</li><li>Stats</li><li onclick="document.getElementById('editModal').style.display='block'">Edit</li>
2019-05-02 18:57:56 +02:00
</ul>
</nav>
2019-05-02 23:45:10 +02:00
<article id="detailsPanel" style="display:none;">
2019-05-02 18:57:56 +02:00
<p>The dictionary details</p>
</article>
</section>
<section id="entries">
<article class="entry">
<header>
<h4 class="word">Word</h4>
<span class="pronunciation">Pronunciation</span>
<span class="part-of-speech">Part of Speech</span>
</header>
<dl>
<dt class="definition">Definition</dt>
<dd class="details">
<p><em>Markdown</em> <strong>details</strong></p>
</dd>
</dl>
</article>
</section>
</section>
</main>
<footer id="bottom">
2019-05-02 18:57:56 +02:00
Lexiconga Footer Links
<a class="button">Support</a>
<a class="button">Blog</a>
<a class="button">Issues</a>
<a class="button">Updates</a>
|
<a class="button">Help</a>
<a class="button">Terms</a>
<a class="button">Privacy</a>
2019-05-02 18:57:56 +02:00
</footer>
<section id="editModal" class="modal" style="display:none;">
<div class="modal-background" onclick="this.parentElement.style.display='none';"></div>
<div class="modal-content">
<a class="close-button" onclick="this.parentElement.parentElement.style.display='none';">&times;&#xFE0E;</a>
<nav class="tabs">
<ul>
<li class="active">Description</li><li>Details</li><li>Settings</li><li>Actions</li>
</ul>
</nav>
</div>
</section>
2019-05-02 18:57:56 +02:00
</body>
</html>