mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
0072a2c8b0
Switched to templates instead of string concatenation. Template for drawing tool LI is defined in drawing-tools template
34 lines
1.1 KiB
HTML
34 lines
1.1 KiB
HTML
<div class="sticky-section left-sticky-section" id="tool-section">
|
|
<div class="sticky-section-wrap">
|
|
<div class="vertical-centerer">
|
|
<script type="text/template" id="drawing-tool-item-template">
|
|
<li rel="tooltip" data-placement="right" class="{{cssclass}}" data-tool-id="{{toolid}}" title="{{title}}"></li>
|
|
</script>
|
|
<ul id="tools-container" class="tools-wrapper"></ul>
|
|
<div class="palette-wrapper">
|
|
<div
|
|
class="tool-icon tool-color-picker"
|
|
title="Primary - left mouse button"
|
|
rel="tooltip"
|
|
data-placement="right"
|
|
>
|
|
<input id="color-picker" class="color" type="text"/>
|
|
</div>
|
|
<div
|
|
class="tool-icon tool-color-picker"
|
|
title="Secondary - right mouse button"
|
|
rel="tooltip"
|
|
data-placement="right"
|
|
>
|
|
<input id="secondary-color-picker" class="secondary-color-picker color" type="text" />
|
|
</div>
|
|
<div
|
|
class="swap-colors-icon"
|
|
title="Swap colors (X)"
|
|
rel="tooltip"
|
|
data-placement="right"
|
|
></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div> |