silverstripe-cms/templates/ImageEditor.ss

51 lines
2.8 KiB
Scheme
Raw Normal View History

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" debug=true>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<% base_tag %>
<title>Untitled Document</title>
</head>
<body id="body" onload="setTimeout(function() { imageEditor = new ImageEditor.initialize('$fileToEdit'); }, 0);">
<div id="mainContainer">
<div id="menuBarContainer">
<div id="photoInfoContainer" class="floatRight">
<p>Size</p>
<p class="inline">Width:</p><p id="imageWidth" class="inline">0px</p>
<p class="inline">Height:</p><p id="imageHeight" class="inline">0px</p>
</div>
<div id="historyContainer" class="floatRight">
<p><a id="undoButton" href="#">Undo</a></p>
<p><a id="redoButton" href="#">Redo</a></p>
</div>
<div id="effectsContainer" class="floatRight">
<p><a id="rotateButton" href="#">Rotate</a></p>
</div>
<div id="cropContainer" class="floatRight">
<p><a id="cropStart" href="#">Crop start</a></p>
<p><a id="cropOk" href="#" class="hidden">Ok</a></p>
<p><a id="cropCancel" href="#" class="hidden">Cancel</a></p>
</div>
<div id="operationContainer" class="floatRight">
<p><a id="saveButton" href="#">Save</a></p>
<p><a id="closeButton" href="#">Cancel</a></p>
</div>
</div>
<div id="imageEditorContainer">
<div id="imageContainer">
<div id="leftGreyBox" class="greyBox"></div>
<div id="rightGreyBox" class="greyBox"></div>
<div id="upperGreyBox" class="greyBox"></div>
<div id="lowerGreyBox" class="greyBox"></div>
<img id="image" src="#" alt=""/>
<div id="cropBox"></div>
</div>
</div>
</div>
<div id="fakeImgContainer">
<img id="fakeImg" src="#" alt=""/>
</div>
<div id="loadingIndicatorContainer">
<img id="loadingIndicator" alt="" src="cms/images/ImageEditor/indicator.gif">
</div>
</body>
</html>