This repository has been archived by the owner on Jul 27, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 22
/
index.html
105 lines (89 loc) · 4.29 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
<!DOCTYPE html>
<html>
<head>
<title>CSDK Image Editor - jQuery</title>
<link rel="stylesheet" type="text/css" href="node_modules/bootstrap/dist/css/bootstrap.css">
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body class="container">
<div class="row">
<div class="col-md-12 text-center">
<h1>Creative SDK Image Editor</h1>
<h2>+ HTML Drag and Drop API</h2>
</div>
</div>
<div class="row">
<div class="col-md-2">
<div class="row">
<div class="col-md-12">
<button id="edit-image-button" class="btn btn-primary btn-block button-panel">
<span class="glyphicon glyphicon-pencil pull-left padleft" aria-hidden="true"></span> Edit
</button>
</div>
<div class="col-md-12">
<button id="download-image-button" class="btn btn-success btn-block button-panel">
<span class="glyphicon glyphicon-save pull-left padleft" aria-hidden="true"></span> Download
</button>
</div>
<div class="col-md-12">
<button id="reset-image-button" class="btn btn-warning btn-block button-panel">
<span class="glyphicon glyphicon-repeat pull-left padleft" aria-hidden="true"></span> Reset
</button>
</div>
<div class="col-md-12">
<button id="clear-image-button" class="btn btn-danger btn-block button-panel">
<span class="glyphicon glyphicon-remove pull-left padleft" aria-hidden="true"></span> Clear
</button>
</div>
<div class="col-md-12">
<button id="about-this-demo-button" class="btn btn-link btn-block button-panel" data-toggle="modal" data-target="#more-info-modal">
About this demo...
</button>
</div>
</div>
</div>
<div class="col-md-10">
<input id="click-upload" type="file">
<div id="drop-area" >
<p>Drop an image here!</p>
<p>(or click to upload)</p>
</div>
<img id="editable-image" class="img-responsive">
</div>
</div> <!-- end .row -->
<div id="more-info-modal" class="modal fade" tabindex="-1" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title">About this demo</h4>
</div>
<div class="modal-body">
<h3>What is this?</h3>
<p>This is a developer demo of the <a href="https://creativesdk.adobe.com/">Adobe Creative SDK</a> Image Editor for Web.</p>
<p>You can learn about the Creative SDK at <a href="https://creativesdk.adobe.com/">creativesdk.com</a>.</p>
<h3>Where is the repo?</h3>
<p>You can <a href="https://github.com/CreativeSDK/web-image-editor-drag-and-drop">fork this sample app on GitHub</a>, or see our <a href="https://github.com/CreativeSDK/web-getting-started-samples">Getting Started sample app repos for Web</a>.</p>
<p>We have even more sample repos for Web, Android, and iOS on <a href="https://github.com/CreativeSDK">the Creative SDK GitHub org</a>.</p>
<h3>Community contributors</h3>
<p>Our thanks to <a href="https://github.com/CreativeSDK/web-image-editor-drag-and-drop/graphs/contributors">our GitHub community contributors</a> for their contributions to this sample app!</p>
<ul>
<li><a href="https://github.com/wensontsai">Wenson Tsai</a></li>
<li><a href="https://github.com/cgalbiati">Chandra Galbiati</a></li>
<li><a href="https://github.com/Dubsta">Michael Atkinson</a></li>
</ul>
<p>Want to contribute? <a href="https://github.com/CreativeSDK/web-image-editor-drag-and-drop">See the readme</a> to learn where to find open tickets and how to submit your pull request.</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->
</div><!-- /.modal -->
<script type="text/javascript" src="node_modules/jquery/dist/jquery.js"></script>
<script type="text/javascript" src="node_modules/bootstrap/js/modal.js"></script>
<script type="text/javascript" src="https://dme0ih8comzn4.cloudfront.net/imaging/v3/editor.js"></script>
<script type="text/javascript" src="config.js"></script>
<script type="text/javascript" src="index.js"></script>
</body>
</html>