|
@@ -54,51 +54,56 @@
|
|
|
</template>
|
|
|
|
|
|
<template id="pkmn-data-template">
|
|
|
+ <div>L̅ = <span bind-to="lightness"></span>%</div>
|
|
|
+ <div>C̅ = <span bind-to="chroma"></span></div>
|
|
|
+ <div>h̅ = <span bind-to="hue"></span>°</div>
|
|
|
+ <div>σ² = <span bind-to="variance"></span></div>
|
|
|
+ <div>a̅ = <span bind-to="abar"></span></div>
|
|
|
+ <div>b̅ = <span bind-to="bbar"></span></div>
|
|
|
+ <div class="full-grid-row center">τ = (<span bind-to="tilt"></span>)</div>
|
|
|
+ <div class="pkmn-data-separator | full-grid-row" role="presentation"></div>
|
|
|
<div>α = <span bind-to="alpha"></span></div>
|
|
|
<div>Ψ = <span bind-to="psi"></span></div>
|
|
|
<div>Ω = <span bind-to="omega"></span></div>
|
|
|
<div role="presentation"></div>
|
|
|
<div>δ = <span bind-to="delta"></span></div>
|
|
|
<div>θ = <span bind-to="theta"></span>°</div>
|
|
|
+ <div class="pkmn-data-separator | full-grid-row" role="presentation"></div>
|
|
|
+ <div class="pkmn-data-size">N = <span bind-to="size"></span></div>
|
|
|
+ <div>β = <span bind-to="beta"></span></div>
|
|
|
<div>ΔL = <span bind-to="deltaL"></span></div>
|
|
|
<div>ΔC = <span bind-to="deltaC"></span></div>
|
|
|
<div>Δh = <span bind-to="deltaH"></span>°</div>
|
|
|
- <div class="pkmn-data-separator | full-grid-row" role="presentation"></div>
|
|
|
- <div>β = <span bind-to="beta"></span></div>
|
|
|
- <div>σ² = <span bind-to="variance"></span></div>
|
|
|
- <div>L̅ = <span bind-to="lightness"></span>%</div>
|
|
|
- <div class="pkmn-data-size">N = <span bind-to="size"></span></div>
|
|
|
- <div>C̅ = <span bind-to="chroma"></span></div>
|
|
|
- <div class="pkmn-data-separator | full-grid-row" role="presentation"></div>
|
|
|
- <div>a̅ = <span bind-to="abar"></span></div>
|
|
|
- <div>b̅ = <span bind-to="bbar"></span></div>
|
|
|
- <div>h̅ = <span bind-to="hue"></span>°</div>
|
|
|
- <div class="full-grid-row center">τ = (<span bind-to="tilt"></span>)</div>
|
|
|
</template>
|
|
|
|
|
|
<template id="pkmn-tile-template">
|
|
|
- <div class="pkmn-tile | flex col no-gap">
|
|
|
- <div class="ellipsis emphasis" bind-to="name"></div>
|
|
|
+ <div class="pkmn-tile | flex col no-gap" bind-to="tileRoot">
|
|
|
+ <div class="pkmn-title | emphasis flex">
|
|
|
+ <span class="ellipsis" bind-to="name"></span>
|
|
|
+ <span class="pkmn-info-icon | smaller" bind-to="infoHover">ⓘ</span>
|
|
|
+ </div>
|
|
|
<div class="pkmn-info | highlight-border flex">
|
|
|
+ <div class="pkmn-info-detail | math-font grid" bind-to="totalData"></div>
|
|
|
+ <div class="pkmn-info-detail | math-font grid" bind-to="cls1Data"></div>
|
|
|
+ <div class="pkmn-info-detail | math-font grid" bind-to="cls2Data"></div>
|
|
|
+ <div class="pkmn-info-detail | math-font grid" bind-to="cls3Data"></div>
|
|
|
+ <div class="pkmn-info-detail | math-font grid" bind-to="cls4Data"></div>
|
|
|
<div class="pkmn-info-main | flex col">
|
|
|
- <a bind-to="link" href=""><img bind-to="image" /></a>
|
|
|
+ <a bind-to="link" target="_blank" rel="noopener noreferrer" href="">
|
|
|
+ <img bind-to="image" />
|
|
|
+ </a>
|
|
|
<div class="math-font center" bind-to="score"></div>
|
|
|
<div class="smallest center">"<span bind-to="color"></span>"</div>
|
|
|
<button
|
|
|
bind-to="totalBtn"
|
|
|
class="pkmn-total | math-font color-select"
|
|
|
></button>
|
|
|
- <div class="total-info | math-font grid" bind-to="totalData"></div>
|
|
|
</div>
|
|
|
<div class="cluster-buttons | math-font flex col">
|
|
|
<button bind-to="cls1Btn" class="color-select" hidden></button>
|
|
|
- <div class="cluster-info | grid" bind-to="cls1Data"></div>
|
|
|
<button bind-to="cls2Btn" class="color-select" hidden></button>
|
|
|
- <div class="cluster-info | grid" bind-to="cls2Data"></div>
|
|
|
<button bind-to="cls3Btn" class="color-select" hidden></button>
|
|
|
- <div class="cluster-info | grid" bind-to="cls3Data"></div>
|
|
|
<button bind-to="cls4Btn" class="color-select" hidden></button>
|
|
|
- <div class="cluster-info | grid" bind-to="cls4Data"></div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|