mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
63 lines
2.0 KiB
HTML
63 lines
2.0 KiB
HTML
<div class="sticky-section left-sticky-section" id="tool-section">
|
|
<div class="sticky-section-wrap">
|
|
<div class="vertical-centerer">
|
|
<ul id="tools-container" class="tools-wrapper">
|
|
<!-- Drawing tools will be inserted here -->
|
|
</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>
|
|
|
|
<!-- Templates -->
|
|
|
|
<!-- Drawing tool icon-button -->
|
|
<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>
|
|
|
|
<!-- Drawing tool tooltip container -->
|
|
<script type="text/template" id="drawing-tool-tooltip-container-template">
|
|
<div class='tools-tooltip-container'>
|
|
<div>{{helptext}} <span class='tools-tooltip-shortcut'>({{shortcut}})</span></div>
|
|
{{descriptors}}
|
|
</div>
|
|
</script>
|
|
|
|
<!-- Drawing tool tooltip line for modifier -->
|
|
<script type="text/template" id="drawing-tool-tooltip-descriptor-template">
|
|
<div class='tools-tooltip-descriptor'>
|
|
<span class='tools-tooltip-descriptor-button'>{{key}}</span>
|
|
{{description}}
|
|
</div>
|
|
</script>
|
|
|
|
<!-- Drawing tool tooltip line -->
|
|
<script type="text/template" id="drawing-tool-tooltip-descriptor-simple-template">
|
|
<div class='tools-tooltip-descriptor'>
|
|
{{description}}
|
|
</div>
|
|
</script>
|
|
</div> |