8d3436fca3
* term-expression => expression * term-pitch-accent => pitch-accent * term-reason => inflection, term-reasons => inflection-list * term-details => expression-list-details * term-glossary => glossary * Update tag list classes * term-definition => definition
175 lines
13 KiB
HTML
175 lines
13 KiB
HTML
<!DOCTYPE html><html><head><title>Display Templates</title></head><body>
|
|
|
|
<!-- Term entry templates -->
|
|
<template id="term-entry-template" data-remove-whitespace-text="true"><div class="entry" data-type="term">
|
|
<div class="entry-current-indicator" title="Current entry"><span class="entry-current-indicator-inner"></span></div>
|
|
<div class="entry-header1">
|
|
<div class="entry-header2">
|
|
<div class="entry-header3">
|
|
<div class="actions">
|
|
<button class="action-button action-view-note" hidden disabled data-icon="view-note" title="View added note" data-hotkey='["viewNote","title","View added note ({0})"]'></button>
|
|
<button class="action-button action-add-note" hidden disabled data-icon="add-term-kanji" data-mode="term-kanji" title="Add expression" data-hotkey='["addNoteTermKanji","title","Add expression ({0})"]'></button>
|
|
<button class="action-button action-add-note" hidden disabled data-icon="add-term-kana" data-mode="term-kana" title="Add reading" data-hotkey='["addNoteTermKana","title","Add reading ({0})"]'></button>
|
|
<button class="action-button action-play-audio" data-icon="play-audio" title="Play audio" data-title-default="Play audio" data-hotkey='["playAudio",["title","data-title-default"],"Play audio ({0})"]' data-menu-position="left below h-cover v-cover"><div class="action-button-badge icon" hidden></div></button>
|
|
<span class="entry-current-indicator-icon" title="Current entry"></span>
|
|
</div>
|
|
<div class="expression-list"></div>
|
|
</div>
|
|
<div class="expression-list-details">
|
|
<div class="expression-list-tag-list tag-list"></div>
|
|
<div class="inflection-list"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="entry-body">
|
|
<div class="entry-body-section" data-section-type="frequencies">
|
|
<div class="entry-body-section-content frequency-group-list"></div>
|
|
</div>
|
|
<div class="entry-body-section" data-section-type="pitch-accents">
|
|
<ol class="entry-body-section-content pitch-accent-group-list"></ol>
|
|
</div>
|
|
<div class="entry-body-section" data-section-type="definitions">
|
|
<ol class="entry-body-section-content definition-list"></ol>
|
|
</div>
|
|
</div>
|
|
<div class="debug-info"><a class="debug-log-link">Log debug info to console</a></div>
|
|
</div></template>
|
|
<template id="expression-template" data-remove-whitespace-text="true"><div class="expression">
|
|
<div class="expression-text-container" lang="ja">
|
|
<span class="expression-text-outer source-text">
|
|
<span class="expression-current-indicator"></span>
|
|
<span class="expression-text"></span>
|
|
</span>
|
|
<span class="expression-reading-outer">
|
|
<span class="expression-reading"></span>
|
|
</span>
|
|
</div>
|
|
<div class="expression-details">
|
|
<button class="action-button action-play-audio" data-icon="play-audio" title="Play audio" data-title-default="Play audio" data-hotkey='["playAudio",["title","data-title-default"],"Play audio ({0})"]' data-menu-position="right below h-cover v-cover"><div class="action-button-badge icon" hidden></div></button>
|
|
<div class="expression-tag-list tag-list"></div>
|
|
</div>
|
|
</div></template>
|
|
<template id="definition-item-template"><li class="definition-item"><div class="definition-tag-list tag-list"></div><div class="definition-disambiguation-list"></div><ul class="glossary-list"></ul></li></template>
|
|
<template id="definition-disambiguation-template"><span class="definition-disambiguation"></span></template>
|
|
<template id="glossary-item-template"><li class="glossary-item click-scannable"><span class="glossary-separator"> </span><span class="glossary"></span></li></template>
|
|
<template id="glossary-item-image-template"><li class="glossary-item click-scannable" data-has-image="true"><span class="glossary-separator"> </span><span class="glossary"><a class="glossary-image-link" target="_blank" rel="noreferrer noopener"><span class="glossary-image-container"><span class="glossary-image-aspect-ratio-sizer"></span><img class="glossary-image" alt=""><span class="glossary-image-container-overlay"></span></span><span class="glossary-image-link-text">Image</span></a> <span class="glossary-image-description"></span></span></li></template>
|
|
<template id="inflection-template"><span class="inflection"></span><span class="inflection-separator"> </span></template>
|
|
|
|
<!-- Frequency templates -->
|
|
<template id="frequency-group-item-template"><span class="frequency-group-item"><span class="tag tag-has-body frequency-group-tag" data-category="frequency"><span class="tag-label"><span class="tag-label-content"></span></span><span class="tag-body"><span class="tag-body-content frequency-list"></span></span></span></span></template>
|
|
<template id="term-frequency-item-template" data-remove-whitespace-text="true"><span class="frequency-item"><span class="tag tag-has-body frequency-tag" data-category="frequency" data-frequency-type="term">
|
|
<span class="tag-label"><span class="tag-label-content"></span></span>
|
|
<span class="tag-body"><span class="tag-body-content frequency-body">
|
|
<ruby class="frequency-disambiguation">
|
|
<span class="frequency-disambiguation-expression"></span>
|
|
<span class="frequency-disambiguation-separator"></span>
|
|
<rt class="frequency-disambiguation-reading"></rt>
|
|
</ruby>
|
|
<span class="frequency-separator"></span>
|
|
<span class="frequency-value"></span>
|
|
</span></span>
|
|
</span></span></template>
|
|
<template id="kanji-frequency-item-template" data-remove-whitespace-text="true"><span class="frequency-item"><span class="tag tag-has-body frequency-tag" data-category="frequency" data-frequency-type="kanji">
|
|
<span class="tag-label"><span class="tag-label-content"></span></span>
|
|
<span class="tag-body"><span class="tag-body-content frequency-body">
|
|
<span class="frequency-value"></span>
|
|
</span></span>
|
|
</span></span></template>
|
|
|
|
<!-- Pitch accent templates -->
|
|
<template id="pitch-accent-static-template"><svg xmlns="http://www.w3.org/2000/svg" style="display: none;" focusable="false">
|
|
<defs>
|
|
<g id="pitch-accent-graph-dot"><circle cx="0" cy="0" r="15" /></g>
|
|
<g id="pitch-accent-graph-dot-downstep"><circle cx="0" cy="0" r="15" /><circle cx="0" cy="0" r="5" /></g>
|
|
<g id="pitch-accent-graph-triangle"><path d="M0 13 L15 -13 L-15 -13 Z" /></g>
|
|
</defs>
|
|
</svg></template>
|
|
<template id="pitch-accent-group-template"><li class="pitch-accent-group"><span class="pitch-accent-group-tag-list tag-list"></span><ul class="pitch-accent-list"></ul></li></template>
|
|
<template id="pitch-accent-disambiguation-template"><span class="pitch-accent-disambiguation"></span></template>
|
|
<template id="pitch-accent-template"><li class="pitch-accent"><span class="pitch-accent-tag-list tag-list"></span><span class="pitch-accent-disambiguation-list"></span><span class="pitch-accent-characters"></span><span class="pitch-accent-position"></span><span class="pitch-accent-details"><svg class="pitch-accent-graph" xmlns="http://www.w3.org/2000/svg" focusable="false"><path class="pitch-accent-graph-line" /><path class="pitch-accent-graph-line-tail" /></svg></span></li></template>
|
|
<template id="pitch-accent-character-template"><span class="pitch-accent-character"><span class="pitch-accent-character-inner"></span></span></template>
|
|
|
|
<!-- Kanji entry templates -->
|
|
<template id="kanji-entry-template" data-remove-whitespace-text="true"><div class="entry" data-type="kanji">
|
|
<div class="entry-current-indicator" title="Current entry"><span class="entry-current-indicator-inner"></span></div>
|
|
<div class="entry-header1">
|
|
<div class="entry-header2">
|
|
<div class="entry-header3">
|
|
<div class="actions">
|
|
<button class="action-button action-view-note" hidden disabled data-icon="view-note" title="View added note" data-hotkey='["viewNote","title","View added note ({0})"]'></button>
|
|
<button class="action-button action-add-note" hidden disabled data-icon="add-term-kanji" data-mode="kanji" title="Add kanji" data-hotkey='["addNoteKanji","title","Add kanji ({0})"]'></button>
|
|
<span class="entry-current-indicator-icon" title="Current entry"></span>
|
|
</div>
|
|
<div class="kanji-glyph-container">
|
|
<span class="expression-current-indicator"></span>
|
|
<div class="kanji-glyph source-text"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="kanji-tag-list tag-list"></div>
|
|
<div class="entry-body">
|
|
<div class="entry-body-section" data-section-type="frequencies">
|
|
<div class="entry-body-section-content frequency-group-list"></div>
|
|
</div>
|
|
</div>
|
|
<table class="kanji-glyph-data"><tbody>
|
|
<tr>
|
|
<th>Glossary</th>
|
|
<th>Readings</th>
|
|
<th>Statistics</th>
|
|
</tr>
|
|
<tr>
|
|
<td class="kanji-glossary-container"><ol class="kanji-glossary-list"></ol></td>
|
|
<td class="kanji-readings"><dl class="kanji-readings-chinese"></dl><dl class="kanji-readings-japanese"></dl></td>
|
|
<td class="kanji-statistics"></td>
|
|
</tr>
|
|
<tr><th colspan="3">Classifications</th></tr>
|
|
<tr><td colspan="3" class="kanji-classifications"></td></tr>
|
|
<tr><th colspan="3">Codepoints</th></tr>
|
|
<tr><td colspan="3" class="kanji-codepoints"></td></tr>
|
|
<tr><th colspan="3">Dictionary Indices</th></tr>
|
|
<tr><td colspan="3" class="kanji-dictionary-indices"></td></tr>
|
|
</tbody></table>
|
|
<div class="debug-info"><a class="debug-log-link">Log debug info to console</a></div>
|
|
</div></template>
|
|
<template id="kanji-info-table-template"><table class="kanji-info-table"><tbody class="kanji-info-table-body"></tbody></table></template>
|
|
<template id="kanji-info-table-item-template"><tr class="kanji-info-table-item"><th class="kanji-info-table-item-header"></th><td class="kanji-info-table-item-value"></td></tr></template>
|
|
<template id="kanji-info-table-empty-template"><tr class="kanji-info-table-item kanji-info-table-item-empty"><td class="kanji-info-table-item-value-empty">No data found</td></tr></template>
|
|
<template id="kanji-glossary-item-template"><li class="kanji-glossary-item"><span class="kanji-glossary"></span></li></template>
|
|
<template id="kanji-reading-template"><dd class="kanji-reading"></dd></template>
|
|
|
|
<!-- Tag templates -->
|
|
<template id="tag-template"><span class="tag"><span class="tag-label"><span class="tag-label-content"></span></span></span></template>
|
|
<template id="tag-with-body-template"><span class="tag tag-has-body"><span class="tag-label"><span class="tag-label-content"></span></span><span class="tag-body"><span class="tag-body-content"></span></span></span></template>
|
|
|
|
<!-- Extra -->
|
|
<template id="footer-notification-template"><div class="footer-notification scrollbar-inverse">
|
|
<div class="footer-notification-body"></div>
|
|
<div class="footer-notification-close-button-container">
|
|
<button class="footer-notification-close-button"><span class="footer-notification-close-button-icon icon" data-icon="cross"></span></button>
|
|
</div>
|
|
</div></template>
|
|
<template id="footer-notification-tag-details-template" data-remove-whitespace-text="true">
|
|
<div class="tag-details"></div>
|
|
<div class="tag-details-disambiguation-list"></div>
|
|
</template>
|
|
<template id="footer-notification-anki-errors-content-template" data-remove-whitespace-text="true"><div class="anki-note-error-info">
|
|
<div class="anki-note-error-header"></div>
|
|
<ul class="anki-note-error-list"></ul>
|
|
<div class="anki-note-error-log-container"><a class="anki-note-error-log-link">Log debug info to console</a></div>
|
|
</div></template>
|
|
<template id="profile-list-item-template"><label class="profile-list-item">
|
|
<div class="profile-list-item-selection"><label class="radio"><input type="radio" class="profile-entry-is-default-radio" name="profile-entry-default-radio"><span class="radio-body"><span class="radio-border"></span><span class="radio-dot"></span></span></label></div>
|
|
<div class="profile-list-item-name"></div>
|
|
</label></template>
|
|
|
|
<!-- Popup menu -->
|
|
<template id="audio-button-popup-menu-template"><div class="popup-menu-container scan-disable audio-button-popup-menu" tabindex="-1" role="dialog"><div class="popup-menu popup-menu-auto-size"><div class="popup-menu-body"></div></div></div></template>
|
|
<template id="audio-button-popup-menu-item-template"><div class="popup-menu-item-group">
|
|
<button class="popup-menu-item popup-menu-item-audio-button" data-menu-action="playAudioFromSource"><div class="popup-menu-item-icon icon" data-icon="none"></div><span class="popup-menu-item-label"></span></button>
|
|
<button class="popup-menu-item popup-menu-item-set-primary-audio-button" data-menu-action="setPrimaryAudio" title="Use as audio for Anki card"><div class="popup-menu-item-icon icon" data-icon="note-card"></div></button>
|
|
</div></template>
|
|
|
|
</body></html>
|