-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Packaged the annotator javascript file.
- Loading branch information
Showing
32 changed files
with
552 additions
and
1,727 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"name": "fabric-annotator", | ||
"authors": [ | ||
"Oshane Bailey <[email protected]>" | ||
], | ||
"description": "Annotate images on camvas using Fabric.js", | ||
"main": [ | ||
"dist/fab-annotator.css", | ||
"dist/fab-annotator.js" | ||
], | ||
"keywords": [ | ||
"fabric", | ||
"fabricjs", | ||
"annotation", | ||
"annotate", | ||
"image" | ||
], | ||
"license": "MIT", | ||
"homepage": "http://osoobe.com", | ||
"ignore": [ | ||
"**/.*", | ||
"node_modules", | ||
"bower_components", | ||
"test", | ||
"tests", | ||
"demos" | ||
], | ||
"dependencies": { | ||
"bootstrap": "^3.3.7", | ||
"fabric.js": "fabric#^1.7.8" | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
|
||
<head> | ||
<title>Fabric Polygon</title> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<link rel="stylesheet" href="../bower_components/bootstrap/dist/css/bootstrap.css" /> | ||
<link rel="stylesheet" href="../dist/fab-annotator.css"> | ||
</head> | ||
<style type="text/css"> | ||
* { | ||
font-family: "Roboto", sans-serif; | ||
font-weight: 100; | ||
} | ||
</style> | ||
|
||
<body style=""> | ||
<div class="section no-pad-bot no-pad-top"> | ||
<img class="fab-annotate" src="http://fabricjs.com/assets/jail_cell_bars.png" /> | ||
</div> | ||
|
||
<script type="text/javascript" src="../bower_components/jquery/dist/jquery.min.js"></script> | ||
<script type="text/ecmascript" src="../bower_components/bootstrap/dist/js/bootstrap.min.js"></script> | ||
<script type="text/javascript" src="../bower_components/fabric.js/dist/fabric.min.js"></script> | ||
<script type="text/javascript" src="../dist/fab-annotator.js"></script> | ||
|
||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
|
||
|
||
img.fab-hide{ | ||
display: none !important; | ||
} | ||
|
||
.fab-annotate-btn { | ||
position: absolute; | ||
width: 200px; | ||
background: rgba(0,0,0,.3); | ||
padding: 5px 10px; | ||
left: 10px; | ||
top: 10px; | ||
z-index: 10000000; | ||
color: white; | ||
font-weight: bold; | ||
border-radius: 20px; | ||
} | ||
|
||
dic.fab-canvas { | ||
} | ||
|
||
#fab-popover{ | ||
position: absolute; | ||
} | ||
|
||
.fab-popover-buttons{ | ||
margin-top: 5px; | ||
padding-top: 5px; | ||
border-top: 1px solid #ccc; | ||
} | ||
|
||
.icon-trash.deleteCanvasObjectBtn.canvasObjectBtn { | ||
margin-left: 10px; | ||
} |
Oops, something went wrong.