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'/> |
6 | <title> Lepakshi Mural Annotation </title> |
|
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> |
165ce72 by Anon Ray at 2013-01-08 | 17 | </head> |
d611971 by Arvind at 2013-03-26 | 18 | {% if url %} |
19 | <body onload='init({{ url|string|safe }});'> |
|
20 | {% else %} |
|
21 | <body onload="init();"> |
|
22 | {% endif %} |
|
165ce72 by Anon Ray at 2013-01-08 | 23 | <div class="fluid-container"> |
24 | ||
25 | <div class="navbar"> |
|
26 | <div class="navbar-inner"> |
|
27 | <a class="brand" href="#">Lepakshi Mural</a> |
|
28 | <ul class="nav"> |
|
29 | <li class="active"><a href="#">Home</a></li> |
|
30 | <li><a></a></li> |
|
31 | <li><a href="#" class="disabled"> |
|
32 | <label><input type="checkbox" name="allow-pan" value="allow-pan" id="allowPanCheckbox" checked=true onclick="allowPan(this);"> Pan</label> |
|
33 | <!--label for="allowPanCheckbox"><small>allow pan while drawing</small></label--> |
|
34 | </a></li> |
|
35 | <li> |
|
36 | <!--label><input type="radio" name="type" value="none" id="noneToggle" onclick="toggleControl(this);" checked="checked"> Navigate</label--> |
|
37 | <!--label><input type="radio" name="type" value="box" id="boxToggle" onclick="toggleControl(this);"> Tag</label--> |
|
38 | <!--label for="noneToggle">navigate</label--> |
|
39 | <span class="btn-group" data-toggle="buttons-radio"> |
|
40 | <button class="btn active" value="none" id="control-select" onclick="toggleControl(this);" checked="checked">Navigate</button> |
|
41 | <button class="btn" value="box" id="control-box" onclick="toggleControl(this);">Tag</button> |
|
42 | </span> |
|
43 | </li> |
|
44 | <li><a></a></li> |
|
45 | <li><a></a></li> |
|
aa2260f by Anon Ray at 2013-03-28 | 46 | <li><button class="btn" onClick="sweet.publish();" id="publish" disabled="true"/>Publish</button></li> |
165ce72 by Anon Ray at 2013-01-08 | 47 | </ul> |
48 | </div> |
|
49 | </div> |
|
50 | ||
51 | <div id="notification"> |
|
52 | </div> |
|
53 | <div id="posted" class="alert alert-success" style="display: none; width: 300px; margin: auto;"> |
|
54 | <button type="button" class="close" data-dismiss="alert">×</button> |
|
55 | <b>Success!</b> Post successfully posted. |
|
56 | </div> |
|
aa2260f by Anon Ray at 2013-03-28 | 57 | <div id="fail-posting" class="alert alert-error" style="display: none; width: 300px; margin: auto;"> |
58 | <button type="button" class="close" data-dismiss="alert">×</button> |
|
59 | <b>Error!</b> Something went wrong. Could not post. |
|
60 | </div> |
|
165ce72 by Anon Ray at 2013-01-08 | 61 | |
aa2260f by Anon Ray at 2013-03-28 | 62 | <!--div class="btn-group"> |
165ce72 by Anon Ray at 2013-01-08 | 63 | <button onclick="handler.trigger();" class="btn btn-small">Mural</button> |
64 | <button onclick="handler.trigger1();" class="btn btn-small"> Face</button> |
|
65 | <button onclick="handler.trigger2();" class="btn btn-small">Jewellery</button> |
|
aa2260f by Anon Ray at 2013-03-28 | 66 | </div--> |
265ce28 by Anon Ray at 2013-02-08 | 67 | <p></p> |
165ce72 by Anon Ray at 2013-01-08 | 68 | <div id="map"></div> |
69 | <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> |
|
70 | <!-- PLEASE, LET THIS NOTE ABOUT AUTHOR AND PROJECT SOMEWHERE ON YOUR WEBSITE, OR AT LEAST IN THE COMMENT IN HTML. THANK YOU --> |
|
71 | </div> |
|
72 | ||
c6d359e by Anon Ray at 2013-03-30 | 73 | </div> |
165ce72 by Anon Ray at 2013-01-08 | 74 | </div> |
75 | ||
04640f7 by Arvind at 2013-02-07 | 76 | <script type="text/javascript" >resize();</script> |
165ce72 by Anon Ray at 2013-01-08 | 77 | |
78 | <div id="annotation-tree" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> |
|
79 | <div class="modal-header"> |
|
80 | <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> |
|
81 | <div id="myModalLabel"> |
|
82 | <h3>Annotation attributes</h3> |
|
83 | <small>Select attributes for annotation</small> |
|
84 | </div> |
|
85 | </div> |
|
86 | <div class="modal-body"> |
|
aa2260f by Anon Ray at 2013-03-28 | 87 | <div id="stats"> |
88 | <div id="node-info"></div> |
|
89 | <div id="selected-nodes"></div> |
|
165ce72 by Anon Ray at 2013-01-08 | 90 | </div> |
aa2260f by Anon Ray at 2013-03-28 | 91 | <div id="infovis"></div> |
92 | <div id="status"></div> |
|
165ce72 by Anon Ray at 2013-01-08 | 93 | </div> |
94 | <div class="modal-footer"> |
|
95 | <button class="btn" data-dismiss="modal" aria-hidden="true">Close</button> |
|
aa2260f by Anon Ray at 2013-03-28 | 96 | <button class="btn btn-primary" onclick="closeAnnotationTree();">Save changes</button> |
165ce72 by Anon Ray at 2013-01-08 | 97 | </div> |
98 | </div> |
|
99 | </body> |
|
100 | </html> |