165ce72 by Anon Ray at 2013-01-08 | 1 | <!DOCTYPE html> |
2 | <html> |
|
aa2260f by Anon Ray at 2013-03-28 | 3 | <head> |
d611971 by Arvind at 2013-03-26 | 4 | <meta charset="utf-8"> |
aa2260f by Anon Ray at 2013-03-28 | 5 | <meta http-equiv='imagetoolbar' content='no'/> |
d1dac3f by Anon Ray at 2013-04-16 | 6 | <title> IDH-SWeeTer Annotation </title> |
aa2260f by Anon Ray at 2013-03-28 | 7 | <link rel="stylesheet" type="text/css" href="static/bootstrap.css"></link> |
8 | <link rel="stylesheet" type="text/css" href="static/tree.css"></link> |
|
04640f7 by Arvind at 2013-02-07 | 9 | <script type="text/javascript" src="http://code.jquery.com/jquery-1.8.0.min.js"></script> |
10 | <script type="text/javascript" src="http://underscorejs.org/underscore-min.js"></script> |
|
11 | <script type="text/javascript" src="http://backbonejs.org/backbone-min.js"></script> |
|
aa2260f by Anon Ray at 2013-03-28 | 12 | <script src="http://www.openlayers.org/api/2.11/OpenLayers.js" type="text/javascript"></script> |
d611971 by Arvind at 2013-03-26 | 13 | <script type="text/javascript" src="static/jit.js"></script> |
14 | <script type="text/javascript" src="static/tree.js"></script> |
|
2f548fd by Anon Ray at 2013-03-14 | 15 | <script type="text/javascript" src="static/myVector.js"></script> |
d611971 by Arvind at 2013-03-26 | 16 | <script type="text/javascript" src="static/bootstrap.js"></script> |
10b1159 by Arvind at 2013-07-10 | 17 | <script type="text/javascript" src="{{ url_for('static',filename='config.js') }}"></script> |
165ce72 by Anon Ray at 2013-01-08 | 18 | </head> |
d611971 by Arvind at 2013-03-26 | 19 | {% if url %} |
20 | <body onload='init({{ url|string|safe }});'> |
|
21 | {% else %} |
|
22 | <body onload="init();"> |
|
23 | {% endif %} |
|
165ce72 by Anon Ray at 2013-01-08 | 24 | <div class="fluid-container"> |
25 | ||
26 | <div class="navbar"> |
|
27 | <div class="navbar-inner"> |
|
d1dac3f by Anon Ray at 2013-04-16 | 28 | <a class="brand" href="#"> IDH-SWeeTer Annotation </a> |
165ce72 by Anon Ray at 2013-01-08 | 29 | <ul class="nav"> |
30 | <li class="active"><a href="#">Home</a></li> |
|
31 | <li><a></a></li> |
|
32 | <li><a href="#" class="disabled"> |
|
33 | <label><input type="checkbox" name="allow-pan" value="allow-pan" id="allowPanCheckbox" checked=true onclick="allowPan(this);"> Pan</label> |
|
34 | <!--label for="allowPanCheckbox"><small>allow pan while drawing</small></label--> |
|
35 | </a></li> |
|
36 | <li> |
|
37 | <!--label><input type="radio" name="type" value="none" id="noneToggle" onclick="toggleControl(this);" checked="checked"> Navigate</label--> |
|
38 | <!--label><input type="radio" name="type" value="box" id="boxToggle" onclick="toggleControl(this);"> Tag</label--> |
|
39 | <!--label for="noneToggle">navigate</label--> |
|
40 | <span class="btn-group" data-toggle="buttons-radio"> |
|
41 | <button class="btn active" value="none" id="control-select" onclick="toggleControl(this);" checked="checked">Navigate</button> |
|
42 | <button class="btn" value="box" id="control-box" onclick="toggleControl(this);">Tag</button> |
|
43 | </span> |
|
44 | </li> |
|
45 | <li><a></a></li> |
|
46 | <li><a></a></li> |
|
aa2260f by Anon Ray at 2013-03-28 | 47 | <li><button class="btn" onClick="sweet.publish();" id="publish" disabled="true"/>Publish</button></li> |
165ce72 by Anon Ray at 2013-01-08 | 48 | </ul> |
49 | </div> |
|
50 | </div> |
|
51 | ||
52 | <div id="notification"> |
|
53 | </div> |
|
d1dac3f by Anon Ray at 2013-04-16 | 54 | <div id="sweeted"></div> |
55 | <div id="posted"></div> |
|
56 | <div id="fail-posting"></div> |
|
165ce72 by Anon Ray at 2013-01-08 | 57 | |
aa2260f by Anon Ray at 2013-03-28 | 58 | <!--div class="btn-group"> |
165ce72 by Anon Ray at 2013-01-08 | 59 | <button onclick="handler.trigger();" class="btn btn-small">Mural</button> |
60 | <button onclick="handler.trigger1();" class="btn btn-small"> Face</button> |
|
61 | <button onclick="handler.trigger2();" class="btn btn-small">Jewellery</button> |
|
aa2260f by Anon Ray at 2013-03-28 | 62 | </div--> |
265ce28 by Anon Ray at 2013-02-08 | 63 | <p></p> |
165ce72 by Anon Ray at 2013-01-08 | 64 | <div id="map"></div> |
65 | <div id="subheader">Generated by <a href="http://www.maptiler.org/">MapTiler</a><a href="http://www.klokan.cz/projects/gdal2tiles/">GDAL2Tiles</a>, Copyright © 2008 <a href="http://www.klokan.cz/">Klokan Petr Pridal</a>, <a href="http://www.gdal.org/">GDAL</a> & <a href="http://www.osgeo.org/">OSGeo</a> <a href="http://code.google.com/soc/">GSoC</a> |
|
66 | <!-- PLEASE, LET THIS NOTE ABOUT AUTHOR AND PROJECT SOMEWHERE ON YOUR WEBSITE, OR AT LEAST IN THE COMMENT IN HTML. THANK YOU --> |
|
67 | </div> |
|
68 | ||
c6d359e by Anon Ray at 2013-03-30 | 69 | </div> |
165ce72 by Anon Ray at 2013-01-08 | 70 | </div> |
71 | ||
04640f7 by Arvind at 2013-02-07 | 72 | <script type="text/javascript" >resize();</script> |
165ce72 by Anon Ray at 2013-01-08 | 73 | |
74 | <div id="annotation-tree" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> |
|
75 | <div class="modal-header"> |
|
76 | <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> |
|
77 | <div id="myModalLabel"> |
|
78 | <h3>Annotation attributes</h3> |
|
79 | <small>Select attributes for annotation</small> |
|
80 | </div> |
|
81 | </div> |
|
82 | <div class="modal-body"> |
|
aa2260f by Anon Ray at 2013-03-28 | 83 | <div id="stats"> |
84 | <div id="node-info"></div> |
|
85 | <div id="selected-nodes"></div> |
|
165ce72 by Anon Ray at 2013-01-08 | 86 | </div> |
aa2260f by Anon Ray at 2013-03-28 | 87 | <div id="infovis"></div> |
88 | <div id="status"></div> |
|
165ce72 by Anon Ray at 2013-01-08 | 89 | </div> |
90 | <div class="modal-footer"> |
|
91 | <button class="btn" data-dismiss="modal" aria-hidden="true">Close</button> |
|
aa2260f by Anon Ray at 2013-03-28 | 92 | <button class="btn btn-primary" onclick="closeAnnotationTree();">Save changes</button> |
165ce72 by Anon Ray at 2013-01-08 | 93 | </div> |
94 | </div> |
|
95 | </body> |
|
96 | </html> |