468 lines
25 KiB
HTML
468 lines
25 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
|
|
<meta name="apple-mobile-web-app-capable" content="yes" />
|
|
|
|
<!-- No-op until loaded dynamically (could make configurable) -->
|
|
<link rel="shortcut icon" href="data:image/x-icon;," type="image/x-icon" />
|
|
|
|
<!-- STYLESHEETS (others loaded dynamically) -->
|
|
<style id="styleoverrides" media="screen"></style>
|
|
<link href="svgedit.css" rel="stylesheet" media="all">
|
|
</link>
|
|
|
|
<!-- SCRIPTS -->
|
|
|
|
<!-- Lacking browser support -->
|
|
<script type="module" src="./redirect-on-lacking-support.js"></script>
|
|
|
|
<!-- If you do not wish to add extensions by URL, you can add calls
|
|
within the following file to svgEditor.setConfig -->
|
|
<script type="module" src="index.js"></script>
|
|
|
|
<title>SVG-edit</title>
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="svg_container" style="visibility: hidden;">
|
|
<div id="svg_editor" role="main">
|
|
<div id="rulers">
|
|
<div id="ruler_corner"></div>
|
|
<div id="ruler_x">
|
|
<div>
|
|
<canvas height="15"></canvas>
|
|
</div>
|
|
</div>
|
|
<div id="ruler_y">
|
|
<div>
|
|
<canvas width="15"></canvas>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div id="workarea">
|
|
<div id="svgcanvas" style="position: relative;">
|
|
</div>
|
|
</div>
|
|
<div id="sidepanels">
|
|
<div id="layerpanel">
|
|
<h3 id="layersLabel">Layers</h3>
|
|
<fieldset id="layerbuttons">
|
|
<se-button id="layer_new" title="New Layer" size="small" src="./images/new.svg"></se-button>
|
|
<se-button id="layer_delete" title="Delete Layer" size="small" src="./images/delete.svg"></se-button>
|
|
<se-button id="layer_rename" title="Rename Layer" size="small" src="./images/text.svg"></se-button>
|
|
<se-button id="layer_up" title="Move Layer Up" size="small" src="./images/go_up.svg"></se-button>
|
|
<se-button id="layer_down" title="Move Layer Down" size="small" src="./images/go_down.svg"></se-button>
|
|
<se-button id="layer_moreopts" title="More Options" size="small" src="./images/context_menu.svg">
|
|
</se-button>
|
|
</fieldset>
|
|
<table id="layerlist">
|
|
<tr class="layer">
|
|
<td class="layervis"></td>
|
|
<td class="layername">Layer 1</td>
|
|
</tr>
|
|
</table>
|
|
<span id="selLayerLabel">Move elements to:</span>
|
|
<select id="selLayerNames" title="Move selected elements to a different layer" disabled="disabled">
|
|
<option selected="selected" value="layer1">Layer 1</option>
|
|
</select>
|
|
</div>
|
|
<div id="sidepanel_handle" title="Drag left/right to resize side panel [X]">L a y e r s
|
|
</div>
|
|
</div>
|
|
<se-menu id="main_button" label="SVG-Edit" src="./images/logo.svg">
|
|
<!-- File-like buttons: New, Save, Source -->
|
|
<se-menu-item id="tool_clear" label="New Image" shortcut="N" src="./images/new.svg"></se-menu-item>
|
|
<se-menu-item id="tool_open" label="Open SVG" src="./images/open.svg"></se-menu-item>
|
|
<se-menu-item id="tool_import" label="Import Image" src="./images/importImg.svg"></se-menu-item>
|
|
<se-menu-item id="tool_save" label="Save Image" shortcut="S" src="./images/saveImg.svg"></se-menu-item>
|
|
<se-menu-item id="tool_export" label="Export" src="./images/export.svg"></se-menu-item>
|
|
<se-menu-item id="tool_docprops" label="Document Properties" shortcut="D" src="./images/docprop.svg"></se-menu-item>
|
|
<se-menu-item id="tool_editor_prefs" label="Editor Preferences" src="./images/editPref.svg"></se-menu-item>
|
|
<se-menu-item id="tool_editor_homepage" label="SVG-Edit Home Page" src="./images/svg-edit-home.svg"></se-menu-item>
|
|
<div style="width:50%;margin:auto;">
|
|
<a href="https://www.netlify.com">
|
|
<img style="height:25px;" src="https://www.netlify.com/img/global/badges/netlify-dark.svg"
|
|
alt="Deploys by Netlify" />
|
|
</a>
|
|
</div>
|
|
</se-menu>
|
|
<div id="tools_top">
|
|
<div id="editor_panel">
|
|
<div class="tool_sep"></div>
|
|
<se-button id="tool_source" title="Edit Source" shortcut="U" src="./images/source.svg"></se-button>
|
|
<se-button id="tool_wireframe" title="Wireframe Mode" shortcut="F" src="./images/wireframe.svg"></se-button>
|
|
<se-button id="view_grid" title="Show grid" src="./images/grid.svg"></se-button>
|
|
</div> <!-- editor_panel -->
|
|
<div id="history_panel">
|
|
<div class="tool_sep"></div>
|
|
<se-button id="tool_undo" title="Undo" shortcut="Z" src="./images/undo.svg" disabled></se-button>
|
|
<se-button id="tool_redo" title="Redo" shortcut="Y" src="./images/redo.svg" disabled></se-button>
|
|
</div> <!-- history_panel -->
|
|
<!-- Buttons when a single element is selected -->
|
|
<div id="selected_panel">
|
|
<div class="toolset">
|
|
<div class="tool_sep"></div>
|
|
<se-button id="tool_clone" title="Duplicate Element" shortcut="D" src="./images/clone.svg"></se-button>
|
|
<se-button id="tool_delete" title="Delete Element" shortcut="Backspace" src="./images/delete.svg">
|
|
</se-button>
|
|
<div class="tool_sep"></div>
|
|
<se-button id="tool_move_top" title="Bring to Front" shortcut="Ctrl+Shift+]" src="./images/move_top.svg">
|
|
</se-button>
|
|
<se-button id="tool_move_bottom" title="Send to Back" shortcut="Ctrl+Shift+["
|
|
src="./images/move_bottom.svg"></se-button>
|
|
<se-button id="tool_topath" title="Convert to Path" src="./images/to_path.svg"></se-button>
|
|
<se-button id="tool_reorient" title="Reorient path" src="./images/reorient.svg"></se-button>
|
|
<se-button id="tool_make_link" title="Make (hyper)link" src="./images/globe_link.svg"></se-button>
|
|
<div class="tool_sep"></div>
|
|
<se-input id="elem_id" data-attr="id" size="10" label="id:" title="Identify the element"></se-input>
|
|
<se-input id="elem_class" data-attr="class" size="10" label="class:" title="Element class"></se-input>
|
|
</div>
|
|
<se-spin-input size="3" id="angle" min=-180 max=180 step=5 src="./images/angle.svg"
|
|
title="Change rotation angle"></se-spin-input>
|
|
<se-spin-input size="2" id="blur" min=0 max=100 step=5 src="./images/blur.svg"
|
|
title="Change gaussian blur value"></se-spin-input>
|
|
<div class="dropdown toolset" id="tool_position" title="Align Element to Page">
|
|
<div id="cur_position" class="icon_label"></div>
|
|
<button></button>
|
|
</div>
|
|
<div id="xy_panel" class="toolset">
|
|
<se-input id="selected_x" data-attr:="x" size="4" type="text" label="x:" title="Change X coordinate">
|
|
</se-input>
|
|
<se-input id="selected_y" data-attr="y" size="4" type="text" label="y:" title="Change Y coordinate">
|
|
</se-input>
|
|
</div>
|
|
</div> <!-- selected_panel -->
|
|
<!-- Buttons when multiple elements are selected -->
|
|
<div id="multiselected_panel">
|
|
<div class="tool_sep"></div>
|
|
<se-button id="tool_clone_multi" title="Clone Elements" shortcut="C" src="./images/clone.svg"></se-button>
|
|
<se-button id="tool_delete_multi" title="Delete Selected Elements" shortcut="Delete/Backspace"
|
|
src="./images/delete.svg"></se-button>
|
|
<div class="tool_sep"></div>
|
|
<se-button id="tool_group_elements" title="Group Elements" shortcut="G" src="./images/group_elements.svg">
|
|
</se-button>
|
|
<se-button id="tool_make_link_multi" title="Make (hyper)link" src="./images/globe_link.svg"></se-button>
|
|
<se-button id="tool_align_left" title="Align Left" src="./images/align_left.svg"></se-button>
|
|
<se-button id="tool_align_center" title="Align Center" src="./images/align_center.svg"></se-button>
|
|
<se-button id="tool_align_right" title="Align Right" src="./images/align_right.svg"></se-button>
|
|
<se-button id="tool_align_top" title="Align Top" src="./images/align_top.svg"></se-button>
|
|
<se-button id="tool_align_middle" title="Align Middle" src="./images/align_middle.svg"></se-button>
|
|
<se-button id="tool_align_bottom" title="Align Bottom" src="./images/align_bottom.svg"></se-button>
|
|
<label id="tool_align_relative">
|
|
<span id="relativeToLabel">relative to:</span>
|
|
<select id="align_relative_to" title="Align relative to ...">
|
|
<option id="selected_objects" value="selected">selected objects</option>
|
|
<option id="largest_object" value="largest">largest object</option>
|
|
<option id="smallest_object" value="smallest">smallest object</option>
|
|
<option id="page" value="page">page</option>
|
|
</select>
|
|
</label>
|
|
<div class="tool_sep"></div>
|
|
</div> <!-- multiselected_panel -->
|
|
<div id="rect_panel">
|
|
<div class="toolset">
|
|
<se-input id="rect_width" data-attr="width" size="4" src="./images/width.svg"
|
|
title="Change rectangle width"></se-input>
|
|
<se-input id="rect_height" data-attr="height" size="4" src="./images/height.svg"
|
|
title="Change rectangle height"></se-input>
|
|
</div>
|
|
<se-spin-input id="rect_rx" min=0 max=1000 step=1 size="3" title="Change Rectangle Corner Radius"
|
|
data-attr="Corner Radius" src="./images/c_radius.svg"></se-spin-input>
|
|
</div> <!-- rect_panel -->
|
|
<div id="image_panel">
|
|
<div class="toolset">
|
|
<se-input id="image_width" data-attr="width" size="4" type="text" src="./images/width.svg"
|
|
title="Change image width"></se-input>
|
|
<se-input id="image_height" data-attr="height" size="4" type="text" src="./images/height.svg"
|
|
title="Change image height"></se-input>
|
|
</div>
|
|
<div class="toolset">
|
|
<label id="tool_image_url">url:
|
|
<input id="image_url" type="text" title="Change URL" size="35" />
|
|
</label>
|
|
<label id="tool_change_image">
|
|
<button id="change_image_url" style="display: none;">Change Image</button>
|
|
<span id="url_notice"
|
|
title="NOTE: This image cannot be embedded. It will depend on this path to be displayed"></span>
|
|
</label>
|
|
</div>
|
|
</div> <!-- image_panel -->
|
|
<div id="circle_panel">
|
|
<div class="toolset">
|
|
<se-input id="circle_cx" data-attr="cx" size="4" label="cx:"></se-input>
|
|
<se-input id="circle_cy" data-attr="cy" size="4" label="cy:"></se-input>
|
|
</div>
|
|
<div class="toolset">
|
|
<se-input id="circle_r" data-attr="r" size="4" label="r:"></se-input>
|
|
</div>
|
|
</div> <!-- circle_panel -->
|
|
<div id="ellipse_panel">
|
|
<div class="toolset">
|
|
<se-input id="ellipse_cx" data-attr="cx" size="4" title="Change ellipse's cx coordinate" label="cx:">
|
|
</se-input>
|
|
<se-input id="ellipse_cy" data-attr="cy" size="4" title="Change ellipse's cy coordinate" label="cy:">
|
|
</se-input>
|
|
</div>
|
|
<div class="toolset">
|
|
<se-input id="ellipse_rx" data-attr="rx" size="4" title="Change ellipse's x radius" label="rx:"></se-input>
|
|
<se-input id="ellipse_ry" data-attr="ry" size="4" title="Change ellipse's y radius" label="ry:"></se-input>
|
|
</div>
|
|
</div> <!-- ellipse_panel -->
|
|
<div id="line_panel">
|
|
<div class="toolset">
|
|
<se-input id="line_x1" data-attr="x1" size="4" title="Change line's starting x coordinate" label="x1:">
|
|
</se-input>
|
|
<se-input id="line_y1" data-attr="y1" size="4" title="Change line's starting y coordinate" label="y1:">
|
|
</se-input>
|
|
</div>
|
|
<div class="toolset">
|
|
<se-input id="line_x2" data-attr="x2" size="4" title="Change line's ending x coordinate" label="x2:">
|
|
</se-input>
|
|
<se-input id="line_y2" data-attr="y2" size="4" title="Change line's ending y coordinate" label="y2:">
|
|
</se-input>
|
|
</div>
|
|
</div> <!-- line_panel -->
|
|
<div id="text_panel">
|
|
<div class="toolset">
|
|
<se-button id="tool_bold" size="small" title="Bold Text [B]" src="./images/bold.svg" shortcut="B"></se-button>
|
|
<se-button id="tool_italic" size="small" title="Italic Text [I]" src="./images/italic.svg" shortcut="I"></se-button>
|
|
<div class="tool_button" id="tool_text_anchor_start" title="Align the text in start"></div>
|
|
<div class="tool_button" id="tool_text_anchor_middle" title="Align the text in middle"></div>
|
|
<div class="tool_button" id="tool_text_anchor_end" title="Align the text in end"></div>
|
|
</div>
|
|
<div class="toolset" id="tool_font_family">
|
|
<label>
|
|
<!-- Font family -->
|
|
<input id="font_family" type="text" title="Change Font Family" size="12" />
|
|
</label>
|
|
<div id="font_family_dropdown" class="dropdown">
|
|
<button></button>
|
|
<ul>
|
|
<li style="font-family:serif">Serif</li>
|
|
<li style="font-family:sans-serif">Sans-serif</li>
|
|
<li style="font-family:cursive">Cursive</li>
|
|
<li style="font-family:fantasy">Fantasy</li>
|
|
<li style="font-family:monospace">Monospace</li>
|
|
<li style="font-family:courier">Courier</li>
|
|
<li style="font-family:helvetica">Helvetica</li>
|
|
<li style="font-family:times">Times</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<se-spin-input size="2" id="font_size" min=1 max=1000 step=1 title="Change Font Size"
|
|
src="./images/fontsize.svg"></se-spin-input>
|
|
<!-- Not visible, but still used -->
|
|
<input id="text" type="text" size="35" />
|
|
</div> <!-- text_panel -->
|
|
<!-- formerly gsvg_panel -->
|
|
<div id="container_panel">
|
|
<div class="tool_sep"></div>
|
|
<!-- Add viewBox field here? -->
|
|
<label id="group_title" title="Group identification label">
|
|
<span>label:</span>
|
|
<input id="g_title" data-attr="title" size="10" type="text" />
|
|
</label>
|
|
</div> <!-- container_panel -->
|
|
<div id="use_panel">
|
|
<div class="push_button" id="tool_unlink_use" title="Break link to reference element (make unique)"></div>
|
|
</div> <!-- use_panel -->
|
|
<div id="g_panel">
|
|
<div class="push_button" id="tool_ungroup" title="Ungroup Elements [G]"></div>
|
|
</div> <!-- g_panel -->
|
|
<!-- For anchor elements -->
|
|
<div id="a_panel">
|
|
<label id="tool_link_url" title="Set link URL (leave empty to remove)">
|
|
<span id="linkLabel" class="icon_label"></span>
|
|
<input id="link_url" type="text" size="35" />
|
|
</label>
|
|
</div> <!-- a_panel -->
|
|
<div id="path_node_panel">
|
|
<div class="tool_sep"></div>
|
|
<se-button id="tool_node_link" title="Link Control Points" src="./images/tool_node_link.svg" pressed></se-button>
|
|
<div class="tool_sep"></div>
|
|
<se-input id="path_node_x" data-attr="x" size="4" title="Change node's x coordinate" label="x:"></se-input>
|
|
<se-input id="path_node_y" data-attr="y" size="4" title="Change node's y coordinate" label="y:"></se-input>
|
|
<select id="seg_type" title="Change Segment type">
|
|
<option id="straight_segments" selected="selected" value="4">Straight</option>
|
|
<option id="curve_segments" value="6">Curve</option>
|
|
</select>
|
|
<se-button id="tool_node_clone" title="Clone Node" src="./images/tool_node_clone.svg"></se-button>
|
|
<se-button id="tool_node_delete" title="Delete Node" src="./images/tool_node_delete.svg"></se-button>
|
|
<se-button id="tool_openclose_path" title="Open/close sub-path" src="./images/tool_openclose_path.svg">
|
|
</se-button>
|
|
<se-button id="tool_add_subpath" title="Add sub-path" src="./images/tool_add_subpath.svg"></se-button>
|
|
</div> <!-- path_node_panel -->
|
|
</div> <!-- tools_top -->
|
|
<div id="cur_context_panel">
|
|
</div>
|
|
<div id="tools_left">
|
|
<se-button id="tool_select" title="Select Tool" src="./images/select.svg"></se-button>
|
|
<se-button id="tool_fhpath" title="Pencil Tool" src="./images/pencil.svg" shortcut="Q"></se-button>
|
|
<se-flyingbutton id="tools_line" title="Line Tool (L)/Connect two objects">
|
|
<se-button id="tool_line" title="Line Tool" src="./images/pen.svg" shortcut="L"></se-button>
|
|
<se-button id="mode_connect" title="Connect two objects" src="./images/conn.svg"></se-button>
|
|
</se-flyingbutton>
|
|
<se-flyingbutton id="tools_rect" title="Square/Rect Tool">
|
|
<se-button id="tool_rect" title="Rectangle" src="./images/rect.svg" shortcut="R"></se-button>
|
|
<se-button id="tool_square" title="Square" src="./images/square.svg"></se-button>
|
|
<se-button id="tool_fhrect" title="Free-Hand Rectangle" src="./images/fh_rect.svg"></se-button>
|
|
</se-flyingbutton>
|
|
<se-flyingbutton id="tools_ellipse" title="Ellipse/Circle Tool">
|
|
<se-button id="tool_ellipse" title="Rectangle" src="./images/ellipse.svg" shortcut="E"></se-button>
|
|
<se-button id="tool_circle" title="Square" src="./images/circle.svg"></se-button>
|
|
<se-button id="tool_fhellipse" title="Free-Hand Rectangle" src="./images/fh_ellipse.svg"></se-button>
|
|
</se-flyingbutton>
|
|
<se-button id="tool_path" title="Path Tool" src="./images/path.svg" shortcut="P"></se-button>
|
|
<se-explorerbutton id="tool_shapelib" title="Shape library" lib="./extensions/ext-shapes/shapelib/"
|
|
src="./images/shapelib.svg"></se-explorerbutton>
|
|
<se-button id="tool_text" title="Text Tool" src="./images/text.svg" shortcut="T"></se-button>
|
|
<se-button id="tool_image" title="Image Tool" src="./images/image.svg"></se-button>
|
|
<se-button id="tool_zoom" title="Zoom Tool" src="./images/zoom.svg" shortcut="Z"></se-button>
|
|
<se-button id="tool_eyedropper" title="Eye Dropper Tool" src="./images/eye_dropper.svg" shortcut="I">
|
|
</se-button>
|
|
<se-button id="ext-panning" title="Panning" src="./images/panning.svg"></se-button>
|
|
<se-button id="tool_star" title="Star Tool" src="./images/star.svg"></se-button>
|
|
<se-button id="tool_polygon" title="Polygon Tool" src="./images/polygon.svg"></se-button>
|
|
</div> <!-- tools_left -->
|
|
<div id="tools_bottom">
|
|
<!-- Zoom buttons -->
|
|
<se-dropdown id="zoom" src="./images/zoom.svg" title="Change zoom level" inputsize="40px">
|
|
<div value="1000">1000</div>
|
|
<div value="400">400</div>
|
|
<div value="200">200</div>
|
|
<div value="100">100</div>
|
|
<div value="50">50</div>
|
|
<div value="25">25</div>
|
|
<div value="canvas">Fit to canvas</div>
|
|
<div value="selection">Fit to selection</div>
|
|
<div value="layer">Fit to layer content</div>
|
|
<div value="content">Fit to all content</div>
|
|
</se-dropdown>
|
|
<div id="tool_fill">
|
|
<label for="fill_color" title="Change fill color"></label>
|
|
<div class="color_block">
|
|
<div id="fill_bg"></div>
|
|
<div id="fill_color" class="color_block"></div>
|
|
</div>
|
|
</div> <!-- tool_fill -->
|
|
<div id="tool_stroke">
|
|
<label title="Change stroke color"></label>
|
|
<div class="color_block">
|
|
<div id="stroke_bg"></div>
|
|
<div id="stroke_color" class="color_block" title="Change stroke color" src="./images/fill.svg"></div>
|
|
</div>
|
|
</div>
|
|
<se-spin-input id="stroke_width" min=0 max=99 step=1 title="Change stroke width by 1" label=""></se-spin-input>
|
|
<label class="stroke_tool">
|
|
<select id="stroke_style" title="Change stroke dash style">
|
|
<option selected="selected" value="none">—</option>
|
|
<option value="2,2">...</option>
|
|
<option value="5,5">- -</option>
|
|
<option value="5,2,2,2">- .</option>
|
|
<option value="5,2,2,2,2,2">- ..</option>
|
|
</select>
|
|
</label>
|
|
<div class="stroke_tool dropdown" id="stroke_linejoin">
|
|
<div id="cur_linejoin" title="Linejoin: Miter"></div>
|
|
<button></button>
|
|
</div>
|
|
<div class="stroke_tool dropdown" id="stroke_linecap">
|
|
<div id="cur_linecap" title="Linecap: Butt"></div>
|
|
<button></button>
|
|
</div>
|
|
<div id="tool_opacity">
|
|
<se-spin-input size="3" id="group_opacity" min=0 max=100 step=5 title="Change selected item opacity" label=""></se-spin-input>
|
|
<div id="opacity_dropdown" class="dropdown">
|
|
<button></button>
|
|
<ul>
|
|
<li>0%</li>
|
|
<li>25%</li>
|
|
<li>50%</li>
|
|
<li>75%</li>
|
|
<li>100%</li>
|
|
<li class="special">
|
|
<div id="opac_slider"></div>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div> <!-- tool_opacity -->
|
|
<se-palette id="palette"></se-palette>
|
|
</div> <!-- tools_bottom -->
|
|
<div id="option_lists" class="dropdown">
|
|
<ul id="linejoin_opts">
|
|
<li class="tool_button current" id="linejoin_miter" title="Linejoin: Miter"></li>
|
|
<li class="tool_button" id="linejoin_round" title="Linejoin: Round"></li>
|
|
<li class="tool_button" id="linejoin_bevel" title="Linejoin: Bevel"></li>
|
|
</ul>
|
|
<ul id="linecap_opts">
|
|
<li class="tool_button current" id="linecap_butt" title="Linecap: Butt"></li>
|
|
<li class="tool_button" id="linecap_square" title="Linecap: Square"></li>
|
|
<li class="tool_button" id="linecap_round" title="Linecap: Round"></li>
|
|
</ul>
|
|
<ul id="position_opts" class="optcols3">
|
|
<li class="push_button" id="tool_posleft" title="Align Left"></li>
|
|
<li class="push_button" id="tool_poscenter" title="Align Center"></li>
|
|
<li class="push_button" id="tool_posright" title="Align Right"></li>
|
|
<li class="push_button" id="tool_postop" title="Align Top"></li>
|
|
<li class="push_button" id="tool_posmiddle" title="Align Middle"></li>
|
|
<li class="push_button" id="tool_posbottom" title="Align Bottom"></li>
|
|
</ul>
|
|
</div>
|
|
<!-- hidden divs -->
|
|
<div id="color_picker"></div>
|
|
</div> <!-- svg_editor -->
|
|
<div id="svg_source_editor">
|
|
<div class="overlay"></div>
|
|
<div id="svg_source_container">
|
|
<div id="tool_source_back" class="toolbar_button">
|
|
<button id="tool_source_save">Apply Changes</button>
|
|
<button id="tool_source_cancel">Cancel</button>
|
|
</div>
|
|
<div id="save_output_btns">
|
|
<p id="copy_save_note">
|
|
Copy the contents of this box into a text editor,
|
|
then save the file with a .svg extension.</p>
|
|
<button id="copy_save_done">Done</button>
|
|
</div>
|
|
<form>
|
|
<textarea id="svg_source_textarea" spellcheck="false"></textarea>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
<div id="dialog_box">
|
|
<div class="overlay"></div>
|
|
<div id="dialog_container">
|
|
<div id="dialog_content"></div>
|
|
<div id="dialog_buttons"></div>
|
|
</div>
|
|
</div>
|
|
<ul id="cmenu_canvas" class="contextMenu">
|
|
<li><a href="#cut">Cut<span class="shortcut">META+X</span></a></li>
|
|
<li><a href="#copy">Copy<span class="shortcut">META+C</span></a></li>
|
|
<li><a href="#paste">Paste</a></li>
|
|
<li><a href="#paste_in_place">Paste in Place</a></li>
|
|
<li class="separator"><a href="#delete">Delete<span class="shortcut">BACKSPACE</span></a></li>
|
|
<li class="separator"><a href="#group">Group<span class="shortcut">G</span></a></li>
|
|
<li><a href="#ungroup">Ungroup<span class="shortcut">G</span></a></li>
|
|
<li class="separator"><a href="#move_front">Bring to Front<span class="shortcut">CTRL+SHFT+]</span></a></li>
|
|
<li><a href="#move_up">Bring Forward<span class="shortcut">CTRL+]</span></a></li>
|
|
<li><a href="#move_down">Send Backward<span class="shortcut">CTRL+[</span></a></li>
|
|
<li><a href="#move_back">Send to Back<span class="shortcut">CTRL+SHFT+[</span></a></li>
|
|
</ul>
|
|
<ul id="cmenu_layers" class="contextMenu">
|
|
<li><a href="#dupe">Duplicate Layer...</a></li>
|
|
<li><a href="#delete">Delete Layer</a></li>
|
|
<li><a href="#merge_down">Merge Down</a></li>
|
|
<li><a href="#merge_all">Merge All</a></li>
|
|
</ul>
|
|
|
|
</div>
|
|
</body>
|
|
|
|
</html>
|