diff options
author | Mario <mario@mariovavti.com> | 2020-01-11 10:30:12 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2020-01-11 10:30:12 +0000 |
commit | f645c6f3a57bf5f53bbb2bde362b2447f725c977 (patch) | |
tree | 9b37650aad46296c5d98a55969348ebb4ee2d097 /library/cropperjs/docs/index.html | |
parent | 4c1c6908165e5c4fb1b7238f66764f89faa2301a (diff) | |
download | volse-hubzilla-f645c6f3a57bf5f53bbb2bde362b2447f725c977.tar.gz volse-hubzilla-f645c6f3a57bf5f53bbb2bde362b2447f725c977.tar.bz2 volse-hubzilla-f645c6f3a57bf5f53bbb2bde362b2447f725c977.zip |
update cropperjs to the recent version
Diffstat (limited to 'library/cropperjs/docs/index.html')
-rw-r--r-- | library/cropperjs/docs/index.html | 90 |
1 files changed, 61 insertions, 29 deletions
diff --git a/library/cropperjs/docs/index.html b/library/cropperjs/docs/index.html index 7c3354cb1..fa8aaf6dd 100644 --- a/library/cropperjs/docs/index.html +++ b/library/cropperjs/docs/index.html @@ -5,11 +5,10 @@ <meta http-equiv="x-ua-compatible" content="ie=edge"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="description" content="JavaScript image cropper."> - <meta name="keywords" content="HTML, CSS, JS, JavaScript, image cropping, cropper, cropperjs, cropper.js, front-end, web development"> <meta name="author" content="Chen Fengyuan"> <title>Cropper.js</title> - <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"> - <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.3/css/bootstrap.min.css"> + <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.11.2/css/all.css"> + <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"> <link rel="stylesheet" href="css/cropper.css"> <link rel="stylesheet" href="css/main.css"> </head> @@ -31,13 +30,47 @@ <span class="navbar-toggler-icon"></span> </button> <div class="collapse navbar-collapse justify-content-end" id="navbar-collapse" role="navigation"> - <nav class="nav navbar-nav"> - <a class="nav-link" href="https://github.com/fengyuanchen/cropperjs/blob/master/README.md" data-toggle="tooltip" title="View the documentation">Docs</a> - <a class="nav-link" href="https://fengyuanchen.github.io/photo-editor" data-toggle="tooltip" title="An advanced example of Cropper.js">Photo Editor</a> - <a class="nav-link" href="https://github.com/fengyuanchen/cropperjs" data-toggle="tooltip" title="View the GitHub project">GitHub</a> - <a class="nav-link" href="https://fengyuanchen.github.io" data-toggle="tooltip" title="More projects">More</a> - <a class="nav-link" href="http://chenfengyuan.com" data-toggle="tooltip" title="About the author">About</a> - </nav> + <ul class="nav navbar-nav"> + <li class="nav-item"> + <a class="nav-link" href="https://github.com/fengyuanchen/cropperjs/blob/master/README.md" data-toggle="tooltip" title="View the documentation">Docs</a> + </li> + <li class="nav-item dropdown"> + <a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> + Examples + </a> + <div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink"> + <a class="dropdown-item" href="examples/a-range-of-aspect-ratio.html">Cropper with a range of aspect ratio</a> + <a class="dropdown-item" href="examples/crop-a-round-image.html">Crop a round image</a> + <a class="dropdown-item" href="examples/crop-cross-origin-image.html">Crop cross origin image</a> + <a class="dropdown-item" href="examples/crop-on-canvas.html">Crop on canvas</a> + <a class="dropdown-item" href="examples/cropper-in-modal.html">Cropper in modal</a> + <a class="dropdown-item" href="examples/customize-preview.html">Customize preview</a> + <a class="dropdown-item" href="examples/fixed-crop-box.html">Fixed crop box</a> + <a class="dropdown-item" href="examples/full-crop-box.html">Full crop box</a> + <a class="dropdown-item" href="examples/mask-an-image.html">Mask an image</a> + <a class="dropdown-item" href="examples/minimum-and-maximum-cropped-dimensions.html">Minimum and maximum cropped dimensions</a> + <a class="dropdown-item" href="examples/multiple-croppers.html">Multiple croppers</a> + <a class="dropdown-item" href="examples/one-to-one-crop-box.html">One to one crop box</a> + <a class="dropdown-item" href="examples/responsive-container.html">Responsive container</a> + <a class="dropdown-item" href="examples/upload-cropped-image-to-server.html">Upload cropped image to server</a> + </div> + </li> + <li class="nav-item"> + <a class="nav-link" href="https://fengyuanchen.github.io/photo-editor" data-toggle="tooltip" title="An advanced example of Cropper.js">Photo Editor</a> + </li> + <li class="nav-item"> + <a class="nav-link" href="https://github.com/fengyuanchen/cropperjs" data-toggle="tooltip" title="View the GitHub project">GitHub</a> + </li> + <li class="nav-item"> + <a class="nav-link" href="https://fengyuanchen.github.io" data-toggle="tooltip" title="Explore more projects">Explore</a> + </li> + <li class="nav-item"> + <a class="nav-link" href="https://chenfengyuan.com" data-toggle="tooltip" title="About the author">About</a> + </li> + <li class="nav-item"> + <a class="nav-link text-warning" href="https://fengyuanchen.github.io/cropper.js/" data-toggle="tooltip" title="View the next version">v2.0 (Alpha)</a> + </li> + </ul> </div> </nav> </header> @@ -47,12 +80,12 @@ <div class="container"> <div class="row"> <div class="col-md"> - <h1>Cropper.js <small class="h6">v1.2.2</small></h1> + <h1>Cropper.js <small class="h6">v1.5.6</small></h1> <p class="lead">JavaScript image cropper.</p> </div> <div class="col-md"> <div class="carbonads"> - <script id="_carbonads_js" src="//cdn.carbonads.com/carbon.js?zoneid=1673&serve=C6AILKT&placement=fengyuanchen" async></script> + <script id="_carbonads_js" src="https://cdn.carbonads.com/carbon.js?serve=CKYI55Q7&placement=fengyuanchengithubio" async></script> </div> </div> </div> @@ -78,7 +111,6 @@ </div> <!-- <h3>Data:</h3> --> - <!-- <h3>Data:</h3> --> <div class="docs-data"> <div class="input-group input-group-sm"> <span class="input-group-prepend"> @@ -146,12 +178,12 @@ <div class="btn-group"> <button type="button" class="btn btn-primary" data-method="setDragMode" data-option="move" title="Move"> <span class="docs-tooltip" data-toggle="tooltip" title="cropper.setDragMode("move")"> - <span class="fa fa-arrows"></span> + <span class="fa fa-arrows-alt"></span> </span> </button> <button type="button" class="btn btn-primary" data-method="setDragMode" data-option="crop" title="Crop"> <span class="docs-tooltip" data-toggle="tooltip" title="cropper.setDragMode("crop")"> - <span class="fa fa-crop"></span> + <span class="fa fa-crop-alt"></span> </span> </button> </div> @@ -195,12 +227,12 @@ <div class="btn-group"> <button type="button" class="btn btn-primary" data-method="rotate" data-option="-45" title="Rotate Left"> <span class="docs-tooltip" data-toggle="tooltip" title="cropper.rotate(-45)"> - <span class="fa fa-rotate-left"></span> + <span class="fa fa-undo-alt"></span> </span> </button> <button type="button" class="btn btn-primary" data-method="rotate" data-option="45" title="Rotate Right"> <span class="docs-tooltip" data-toggle="tooltip" title="cropper.rotate(45)"> - <span class="fa fa-rotate-right"></span> + <span class="fa fa-redo-alt"></span> </span> </button> </div> @@ -208,12 +240,12 @@ <div class="btn-group"> <button type="button" class="btn btn-primary" data-method="scaleX" data-option="-1" title="Flip Horizontal"> <span class="docs-tooltip" data-toggle="tooltip" title="cropper.scaleX(-1)"> - <span class="fa fa-arrows-h"></span> + <span class="fa fa-arrows-alt-h"></span> </span> </button> <button type="button" class="btn btn-primary" data-method="scaleY" data-option="-1" title="Flip Vertical"> <span class="docs-tooltip" data-toggle="tooltip" title="cropper.scaleY(-1)"> - <span class="fa fa-arrows-v"></span> + <span class="fa fa-arrows-alt-v"></span> </span> </button> </div> @@ -226,7 +258,7 @@ </button> <button type="button" class="btn btn-primary" data-method="clear" title="Clear"> <span class="docs-tooltip" data-toggle="tooltip" title="cropper.clear()"> - <span class="fa fa-remove"></span> + <span class="fa fa-times"></span> </span> </button> </div> @@ -247,11 +279,11 @@ <div class="btn-group"> <button type="button" class="btn btn-primary" data-method="reset" title="Reset"> <span class="docs-tooltip" data-toggle="tooltip" title="cropper.reset()"> - <span class="fa fa-refresh"></span> + <span class="fa fa-sync-alt"></span> </span> </button> <label class="btn btn-primary btn-upload" for="inputImage" title="Upload image file"> - <input type="file" class="sr-only" id="inputImage" name="file" accept=".jpg,.jpeg,.png,.gif,.bmp,.tiff"> + <input type="file" class="sr-only" id="inputImage" name="file" accept="image/*"> <span class="docs-tooltip" data-toggle="tooltip" title="Import image with Blob URLs"> <span class="fa fa-upload"></span> </span> @@ -293,7 +325,7 @@ </div> <div class="modal-body"></div> <div class="modal-footer"> - <button type="button" class="btn btn-default" data-dismiss="modal">Close</button> + <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button> <a class="btn btn-primary" id="download" href="javascript:void(0);" download="cropped.jpg">Download</a> </div> </div> @@ -360,7 +392,7 @@ Scale (-2, -1) </span> </button> - <textarea class="form-control" id="putData" rows="1" placeholder="Get data to here or set data with this value"></textarea> + <textarea class="form-control" id="putData" placeholder="Get data to here or set data with this value"></textarea> </div><!-- /.docs-buttons --> @@ -561,17 +593,17 @@ <p class="heart"></p> <nav class="nav flex-wrap justify-content-center mb-3"> <a class="nav-link" href="https://github.com/fengyuanchen/cropperjs">GitHub</a> - <a class="nav-link" href="https://github.com/fengyuanchen/cropperjs/tree/master/examples">Examples</a> + <a class="nav-link" href="https://github.com/fengyuanchen/cropperjs/releases">Releases</a> <a class="nav-link" href="https://github.com/fengyuanchen/cropperjs/blob/master/LICENSE">License</a> - <a class="nav-link" href="http://chenfengyuan.com">About</a> + <a class="nav-link" href="https://chenfengyuan.com">About</a> </nav> </div> </footer> <!-- Scripts --> - <script src="https://code.jquery.com/jquery-3.2.1.slim.min.js"></script> - <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.3/js/bootstrap.bundle.min.js"></script> - <script src="https://fengyuanchen.github.io/js/common.js"></script> + <script src="https://code.jquery.com/jquery-3.4.1.slim.min.js"></script> + <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.bundle.min.js"></script> + <script src="https://fengyuanchen.github.io/shared/google-analytics.js"></script> <script src="js/cropper.js"></script> <script src="js/main.js"></script> </body> |