This repository has been archived by the owner on Sep 12, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtemplates.js
1 lines (1 loc) · 25.9 KB
/
templates.js
1
!function(){var a=Handlebars.template,n=Handlebars.templates=Handlebars.templates||{};n["tmpl-animal-popup"]=a({compiler:[7,">= 4.0.0"],main:function(a,n,l,t,e){var d,i=null!=n?n:{},o=l.helperMissing,s="function",r=a.escapeExpression;return'<form id="submit_animal" onclick = "form_submit(\'submit_animal\'); return false;">\n\n <div class="form-group" style="display:none">\n <label class="control-label" for="url">URL</label>\n <input type="text" class="form-control" name="url" id="url" value="'+r((d=null!=(d=l.url||(null!=n?n.url:n))?d:o,typeof d===s?d.call(i,{name:"url",hash:{},data:e}):d))+'">\n </div>\n\n <div class="form-group" style="display:none">\n <label class="control-label" for="tag">Tag</label>\n <input type="text" class="form-control" name="tag" id="tag" value="'+r((d=null!=(d=l.tag||(null!=n?n.tag:n))?d:o,typeof d===s?d.call(i,{name:"tag",hash:{},data:e}):d))+'">\n </div>\n\n <div class="form-group">\n <label class="control-label" for="name">Name</label>\n <input type="text" class="form-control" name="name" id="name" value="'+r((d=null!=(d=l.name||(null!=n?n.name:n))?d:o,typeof d===s?d.call(i,{name:"name",hash:{},data:e}):d))+'">\n </div>\n\n <div class="form-group">\n <label class="control-label" for="description">Description</label>\n <input type="text" class="form-control" name="description" id="description" value="'+r((d=null!=(d=l.description||(null!=n?n.description:n))?d:o,typeof d===s?d.call(i,{name:"description",hash:{},data:e}):d))+'">\n </div>\n\n <div class="form-group">\n <label class="control-label" for="start_timestamp">Start Timestamp</label>\n <input type="text" class="form-control" name="start_timestamp" id="start_timestamp" value="'+r((d=null!=(d=l.start_timestamp||(null!=n?n.start_timestamp:n))?d:o,typeof d===s?d.call(i,{name:"start_timestamp",hash:{},data:e}):d))+'">\n </div>\n\n <div class="form-group">\n <label class="control-label" for="end_timestamp">End Timestamp</label>\n <input type="text" class="form-control" name="end_timestamp" id="end_timestamp" value="'+r((d=null!=(d=l.end_timestamp||(null!=n?n.end_timestamp:n))?d:o,typeof d===s?d.call(i,{name:"end_timestamp",hash:{},data:e}):d))+'">\n </div>\n\n <div class="form-group" style="display:none">\n <label class="control-label" for="field_data">Field Data</label>\n <input type="text" class="form-control" name="field_data" id="field_data" value="'+r((d=null!=(d=l.field_data||(null!=n?n.field_data:n))?d:o,typeof d===s?d.call(i,{name:"field_data",hash:{},data:e}):d))+'">\n </div>\n\n <div class="form-group">\n <div class="sumbit">\n <button class="btn btn-primary" id="submitButton" value="PUT">Submit</button>\n </div>\n </div>\n</form>\n'},useData:!0}),n["tmpl-file-form"]=a({compiler:[7,">= 4.0.0"],main:function(a,n,l,t,e){var d,i=null!=n?n:{},o=l.helperMissing,s=a.escapeExpression;return'<form id="submit_file" action="/api/etag/file-upload/" method="post" target=" " enctype="multipart/form-data">\n\n <div class="form-group" style="display:none">\n <label class="control-label" for="url">URL</label>\n <input type="text" class="form-control" name="url" id="url" value="'+s((d=null!=(d=l.url||(null!=n?n.url:n))?d:o,"function"==typeof d?d.call(i,{name:"url",hash:{},data:e}):d))+'">\n </div>\n\n <div class="form-group">\n <label class="control-label" for="reader_id">Tag ID</label>\n <input type="text" class="form-control" name="tag_id" id="tag_id" value="'+s((d=null!=(d=l.tag_id||(null!=n?n.tag_id:n))?d:o,"function"==typeof d?d.call(i,{name:"tag_id",hash:{},data:e}):d))+'">\n </div>\n\t\t\t<div class="form-group">\n <label class="control-label" for="file">File Upload</label>\n\t\t\t\t<input type="file" name="upload_file" id="upload_file">\n\t\t</div>\n <div class="form-group">\n <div class="sumbit1">\n <button id="submit_file_button" >Submit</button>\n </div>\n </div>\n</form>\n'},useData:!0}),n["tmpl-file-table"]=a({1:function(a,n,l,t,e){var d=a.lambda,i=a.escapeExpression;return" <tr>\n <td>"+i(d(null!=n?n.name:n,n))+"</td>\n <td>"+i(d(null!=n?n.description:n,n))+"</td>\n <td>"+i(d(null!=n?n.start_timestamp:n,n))+"</td>\n <td>"+i(d(null!=n?n.end_timestamp:n,n))+'</td>\n <td><button type="button" class="btn btn-secondary" data-toggle="modal" data-target="#modal3" onclick = "tag_animal_change(\''+i(d(null!=n?n.url:n,n))+'\'); return false;" id="#myModal3">Edit</button></td>\n </tr>\n'},compiler:[7,">= 4.0.0"],main:function(a,n,l,t,e){var d;return'<div id = "file-container">\n <table id="grid-basic" name="myTable" class="table table-bordered table-striped">\n <thead>\n <tr>\n <th data-column-id="name">Name</th>\n <th data-column-id="description">Description</th>\n <th data-column-id="start_time">Start Timestamp</th>\n <th data-column-id="end_time">End Timestamp</th>\n <th data-column-id="longitude">Edit <button type="button" class="btn btn-secondary btn-sm" data-toggle="modal" data-target="#modal_add2" onclick = "tag_animal_add(); return false;" id="#myModal_add2">+</button></th>\n </tr>\n </thead>\n <tbody id ="animalRow">\n'+(null!=(d=l.each.call(null!=n?n:{},null!=n?n.results:n,{name:"each",hash:{},fn:a.program(1,e,0),inverse:a.noop,data:e}))?d:"")+' </tbody>\n </table>\n\n\n <div class="modal fade" id="modal3" tabindex="-1" role="dialog">\n <div class="modal-dialog">\n <div class="modal-content">\n <div class="modal-header">\n <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>\n <h4 class="modal-title">Edit Animal</h4>\n </div>\n <div class="modal-body">\n <div id="modal-tag-animal"></div>\n </div>\n </div><!-- /.modal-content -->\n </div><!-- /.modal-dialog -->\n </div><!-- /.modal -->\n\n <div class="modal fade" id="modal_add2" tabindex="-1" role="dialog">\n <div class="modal-dialog">\n <div class="modal-content">\n <div class="modal-header">\n <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>\n <h4 class="modal-title">Add Animal</h4>\n </div>\n <div class="modal-body">\n <div id="modal-animal"></div>\n </div>\n </div><!-- /.modal-content -->\n </div><!-- /.modal-dialog -->\n </div><!-- /.modal -->\n\n</div>'},useData:!0}),n["tmpl-file"]=a({1:function(a,n,l,t,e){return" <option>"+a.escapeExpression(a.lambda(null!=n?n.tag_id:n,n))+"</option>\n"},compiler:[7,">= 4.0.0"],main:function(a,n,l,t,e){var d;return'<div> <!--beginning div-->\n <div class = "file-container"> <!--file container div-->\n <div class = "dropdown-reader"> <!--dropdown div-->\n <select class="form-control" id="file-container" size = "10">\n'+(null!=(d=l.each.call(null!=n?n:{},null!=n?n.readers:n,{name:"each",hash:{},fn:a.program(1,e,0),inverse:a.noop,data:e}))?d:"")+' </select>\n </div> <!--end of dropdown div-->\n\n <div id="file-form" class="form-container"> <!--form div-->\n </div> <!--end of form div-->\n <!-- <div id="file-table" class = "table-container">\n </div> -->\n </div> <!--end of container div-->\n</div> <!--ending div-->'},useData:!0}),n["tmpl-location-popup"]=a({compiler:[7,">= 4.0.0"],main:function(a,n,l,t,e){var d,i=null!=n?n:{},o=l.helperMissing,s="function",r=a.escapeExpression;return'<form id="submit_location" onclick = "form_submit(\'submit_location\'); return false;">\n\n <div class="form-group" style="display:none">\n <label class="control-label" for="url">URL</label>\n <input type="text" class="form-control" name="url" id="url" value="'+r((d=null!=(d=l.url||(null!=n?n.url:n))?d:o,typeof d===s?d.call(i,{name:"url",hash:{},data:e}):d))+'">\n </div>\n\n <div class="form-group" style="display:none">\n <label class="control-label" for="reader">Reader</label>\n <input type="text" class="form-control" name="reader" id="reader" value="'+r((d=null!=(d=l.reader||(null!=n?n.reader:n))?d:o,typeof d===s?d.call(i,{name:"reader",hash:{},data:e}):d))+'">\n </div>\n\n <div class="form-group">\n <label class="control-label" for="start_timestamp">Start Timestamp</label>\n <input type="text" class="form-control" name="start_timestamp" id="start_timestamp" value="'+r((d=null!=(d=l.start_timestamp||(null!=n?n.start_timestamp:n))?d:o,typeof d===s?d.call(i,{name:"start_timestamp",hash:{},data:e}):d))+'">\n </div>\n\n <div class="form-group">\n <label class="control-label" for="end_timestamp">End Timestamp</label>\n <input type="text" class="form-control" name="end_timestamp" id="end_timestamp" value="'+r((d=null!=(d=l.end_timestamp||(null!=n?n.end_timestamp:n))?d:o,typeof d===s?d.call(i,{name:"end_timestamp",hash:{},data:e}):d))+'">\n </div>\n\n <div class="form-group">\n <label class="control-label" for="longitude">Longitude</label>\n <input type="number" class="form-control" name="longitude" id="longitude" value='+r((d=null!=(d=l.longitude||(null!=n?n.longitude:n))?d:o,typeof d===s?d.call(i,{name:"longitude",hash:{},data:e}):d))+'>\n </div>\n\n <div class="form-group">\n <label class="control-label" for="latitude">Latitude</label>\n <input type="number" class="form-control" name="latitude" id="latitude" value='+r((d=null!=(d=l.latitude||(null!=n?n.latitude:n))?d:o,typeof d===s?d.call(i,{name:"latitude",hash:{},data:e}):d))+'>\n </div>\n\n <div class="checkbox">\n <label class="control-label" for="active">\n <input type="checkbox" name="active" id="active" value='+r((d=null!=(d=l.active||(null!=n?n.active:n))?d:o,typeof d===s?d.call(i,{name:"active",hash:{},data:e}):d))+' checked> Active\n </label>\n </div>\n\n <div class="form-group">\n <div class="sumbit">\n <button class="btn btn-primary" id="submitButton" value="PUT">Submit</button>\n </div>\n </div>\n</form>\n'},useData:!0}),n["tmpl-readers-form"]=a({compiler:[7,">= 4.0.0"],main:function(a,n,l,t,e){var d,i=null!=n?n:{},o=l.helperMissing,s="function",r=a.escapeExpression;return'<form id="submitForm" onclick = "form_submit(\'submitForm\'); return false;">\n\n <div class="form-group" style="display:none">\n <label class="control-label" for="url">URL</label>\n <input type="text" class="form-control" name="url" id="url" value="'+r((d=null!=(d=l.url||(null!=n?n.url:n))?d:o,typeof d===s?d.call(i,{name:"url",hash:{},data:e}):d))+'">\n </div>\n\n <div class="form-group">\n <label class="control-label" for="reader_id">Reader ID</label>\n <input type="text" class="form-control" name="reader_id" id="reader_id" value="'+r((d=null!=(d=l.reader_id||(null!=n?n.reader_id:n))?d:o,typeof d===s?d.call(i,{name:"reader_id",hash:{},data:e}):d))+'">\n </div>\n\n <div class="form-group">\n <label class="control-label" for="name">Name</label>\n <input type="text" class="form-control" name="name" id="name" value="'+r((d=null!=(d=l.name||(null!=n?n.name:n))?d:o,typeof d===s?d.call(i,{name:"name",hash:{},data:e}):d))+'">\n </div>\n\n <div class="form-group">\n <label class="control-label" for="description">Description</label>\n <input type="text" class="form-control" name="description" id="description" value="'+r((d=null!=(d=l.description||(null!=n?n.description:n))?d:o,typeof d===s?d.call(i,{name:"description",hash:{},data:e}):d))+'">\n </div>\n\n <!--<div class="form-group" style="display:none">\n <label class="control-label" for="user_id">User ID</label>\n <input type="text" class="form-control" name="user_id" id="user_id" value="'+r((d=null!=(d=l.user_id||(null!=n?n.user_id:n))?d:o,typeof d===s?d.call(i,{name:"user_id",hash:{},data:e}):d))+'">\n </div>-->\n\n <div class="form-group">\n <div class="sumbit">\n <button class="btn btn-primary" id="submitButton" value="PUT">Submit</button>\n </div>\n </div>\n</form>\n'},useData:!0}),n["tmpl-readers-table"]=a({1:function(a,n,l,t,e){var d=a.lambda,i=a.escapeExpression;return" <tr>\n <td>"+i(d(null!=n?n.start_timestamp:n,n))+"</td>\n <td>"+i(d(null!=n?n.end_timestamp:n,n))+"</td>\n <td>"+i(d(null!=n?n.latitude:n,n))+"</td>\n <td>"+i(d(null!=n?n.longitude:n,n))+'</td>\n <td><button type="button" class="btn btn-secondary" data-toggle="modal" data-target="#modal2" onclick = "lat_long_change(\''+i(d(null!=n?n.url:n,n))+'\'); return false;" id="#myModal2">Edit</button></td>\n </tr>\n'},compiler:[7,">= 4.0.0"],main:function(a,n,l,t,e){var d;return'<div id = "grid-container">\n <table id="grid-basic" name="myTable" class="table table-bordered table-striped">\n <thead>\n <tr>\n <th data-column-id="start_time">Start Timestamp</th>\n <th data-column-id="end_time">End Timestamp</th>\n <th data-column-id="latitude">Latitude</th>\n <th data-column-id="longitude">Longitude</th>\n <th data-column-id="longitude">Edit <button type="button" class="btn btn-secondary btn-sm" data-toggle="modal" data-target="#modal_add" onclick = "reader_add(); return false;" id="#myModal3">+</button></th>\n </tr>\n </thead>\n <tbody id ="locationRow">\n'+(null!=(d=l.each.call(null!=n?n:{},null!=n?n.results:n,{name:"each",hash:{},fn:a.program(1,e,0),inverse:a.noop,data:e}))?d:"")+' </tbody>\n </table>\n\n\n <div class="modal fade" id="modal2" tabindex="-1" role="dialog">\n <div class="modal-dialog">\n <div class="modal-content">\n <div class="modal-header">\n <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>\n <h4 class="modal-title">Edit Longitude/Latitude</h4>\n </div>\n <div class="modal-body">\n <div id="modal-lat-long"></div>\n </div>\n </div><!-- /.modal-content -->\n </div><!-- /.modal-dialog -->\n </div><!-- /.modal -->\n\n <div class="modal fade" id="modal_add" tabindex="-1" role="dialog">\n <div class="modal-dialog">\n <div class="modal-content">\n <div class="modal-header">\n <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>\n <h4 class="modal-title">Add Longitude/Latitude</h4>\n </div>\n <div class="modal-body">\n <div id="modal-location"></div>\n </div>\n </div><!-- /.modal-content -->\n </div><!-- /.modal-dialog -->\n </div><!-- /.modal -->\n\n</div>\n'},useData:!0}),n["tmpl-readers"]=a({1:function(a,n,l,t,e){return" <option>"+a.escapeExpression(a.lambda(null!=n?n.reader_id:n,n))+"</option>\n"},compiler:[7,">= 4.0.0"],main:function(a,n,l,t,e){var d;return'<div> <!--beginning div-->\n <div class = "tab-container"> <!--tab container div-->\n <div class = "dropdown-reader"> <!--dropdown div-->\n <select class="form-control" id="readers-container" size = "10">\n'+(null!=(d=l.each.call(null!=n?n:{},null!=n?n.readers:n,{name:"each",hash:{},fn:a.program(1,e,0),inverse:a.noop,data:e}))?d:"")+' </select>\n </div> <!--end of dropdown div-->\n\n <div id="readers-form" class="form-container"> <!--form div-->\n </div> <!--end of form div-->\n <div id="readers-table" class = "table-container"> <!--table div-->\n </div> <!--end of table div-->\n </div> <!--end of container div-->\n</div> <!--ending div-->\n'},useData:!0}),n["tmpl-tags-form"]=a({compiler:[7,">= 4.0.0"],main:function(a,n,l,t,e){var d,i=null!=n?n:{},o=l.helperMissing,s=a.escapeExpression;return'<form id="submit_tags" onclick = "form_submit(\'submit_tags\'); return false;">\n\n <div class="form-group" style="display:none">\n <label class="control-label" for="url">URL</label>\n <input type="text" class="form-control" name="url" id="url" value="'+s((d=null!=(d=l.url||(null!=n?n.url:n))?d:o,"function"==typeof d?d.call(i,{name:"url",hash:{},data:e}):d))+'">\n </div>\n\n <div class="form-group">\n <label class="control-label" for="reader_id">Tag ID</label>\n <input type="text" class="form-control" name="tag_id" id="tag_id" value="'+s((d=null!=(d=l.tag_id||(null!=n?n.tag_id:n))?d:o,"function"==typeof d?d.call(i,{name:"tag_id",hash:{},data:e}):d))+'">\n </div>\n\n <div class="form-group">\n <label class="control-label" for="name">Name</label>\n <input type="text" class="form-control" name="name" id="name" value="'+s((d=null!=(d=l.name||(null!=n?n.name:n))?d:o,"function"==typeof d?d.call(i,{name:"name",hash:{},data:e}):d))+'">\n </div>\n\n <div class="form-group">\n <label class="control-label" for="description">Description</label>\n <input type="text" class="form-control" name="description" id="description" value="'+s((d=null!=(d=l.description||(null!=n?n.description:n))?d:o,"function"==typeof d?d.call(i,{name:"description",hash:{},data:e}):d))+'">\n </div>\n\n <div class="form-group">\n <div class="sumbit">\n <button class="btn btn-primary" id="submitButton" value="PUT">Submit</button>\n </div>\n </div>\n</form>\n'},useData:!0}),n["tmpl-tags-table"]=a({1:function(a,n,l,t,e){var d=a.lambda,i=a.escapeExpression;return" <tr>\n <td>"+i(d(null!=n?n.name:n,n))+"</td>\n <td>"+i(d(null!=n?n.description:n,n))+"</td>\n <td>"+i(d(null!=n?n.start_timestamp:n,n))+"</td>\n <td>"+i(d(null!=n?n.end_timestamp:n,n))+'</td>\n <td><button type="button" class="btn btn-secondary" data-toggle="modal" data-target="#modal3" onclick = "tag_animal_change(\''+i(d(null!=n?n.url:n,n))+'\'); return false;" id="#myModal3">Edit</button></td>\n </tr>\n'},compiler:[7,">= 4.0.0"],main:function(a,n,l,t,e){var d;return'<div id = "tag-container">\n <table id="grid-basic" name="myTable" class="table table-bordered table-striped">\n <thead>\n <tr>\n <th data-column-id="name">Name</th>\n <th data-column-id="description">Description</th>\n <th data-column-id="start_time">Start Timestamp</th>\n <th data-column-id="end_time">End Timestamp</th>\n <th data-column-id="longitude">Edit <button type="button" class="btn btn-secondary btn-sm" data-toggle="modal" data-target="#modal_add2" onclick = "tag_animal_add(); return false;" id="#myModal_add2">+</button></th>\n </tr>\n </thead>\n <tbody id ="animalRow">\n'+(null!=(d=l.each.call(null!=n?n:{},null!=n?n.results:n,{name:"each",hash:{},fn:a.program(1,e,0),inverse:a.noop,data:e}))?d:"")+' </tbody>\n </table>\n\n\n <div class="modal fade" id="modal3" tabindex="-1" role="dialog">\n <div class="modal-dialog">\n <div class="modal-content">\n <div class="modal-header">\n <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>\n <h4 class="modal-title">Edit Animal</h4>\n </div>\n <div class="modal-body">\n <div id="modal-tag-animal"></div>\n </div>\n </div><!-- /.modal-content -->\n </div><!-- /.modal-dialog -->\n </div><!-- /.modal -->\n\n <div class="modal fade" id="modal_add2" tabindex="-1" role="dialog">\n <div class="modal-dialog">\n <div class="modal-content">\n <div class="modal-header">\n <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>\n <h4 class="modal-title">Add Animal</h4>\n </div>\n <div class="modal-body">\n <div id="modal-animal"></div>\n </div>\n </div><!-- /.modal-content -->\n </div><!-- /.modal-dialog -->\n </div><!-- /.modal -->\n\n</div>\n'},useData:!0}),n["tmpl-tags"]=a({1:function(a,n,l,t,e){return" <option>"+a.escapeExpression(a.lambda(null!=n?n.tag_id:n,n))+"</option>\n"},compiler:[7,">= 4.0.0"],main:function(a,n,l,t,e){var d;return'<div> <!--beginning div-->\n <div class = "tab-container"> <!--tab container div-->\n <div class = "dropdown-reader"> <!--dropdown div-->\n <select class="form-control" id="tags-container" size = "10">\n'+(null!=(d=l.each.call(null!=n?n:{},null!=n?n.readers:n,{name:"each",hash:{},fn:a.program(1,e,0),inverse:a.noop,data:e}))?d:"")+' </select>\n </div> <!--end of dropdown div-->\n\n <div id="tags-form" class="form-container"> <!--form div-->\n </div> <!--end of form div-->\n <div id="tags-table" class = "table-container">\n </div>\n </div> <!--end of container div-->\n</div> <!--ending div-->\n'},useData:!0}),n["tmpl-tr"]=a({compiler:[7,">= 4.0.0"],main:function(a,n,l,t,e){var d,i=null!=n?n:{},o=l.helperMissing,s=a.escapeExpression;return'<tr><td><a href="#" onclick="showResult(\''+s((d=null!=(d=l.result||(null!=n?n.result:n))?d:o,"function"==typeof d?d.call(i,{name:"result",hash:{},data:e}):d))+"');return false;\" >"+s((d=null!=(d=l.task_name||(null!=n?n.task_name:n))?d:o,"function"==typeof d?d.call(i,{name:"task_name",hash:{},data:e}):d))+"</a></td><td>"+s((d=null!=(d=l.timestamp||(null!=n?n.timestamp:n))?d:o,"function"==typeof d?d.call(i,{name:"timestamp",hash:{},data:e}):d))+"</td><td>"+s((l.json_metatags||n&&n.json_metatags||o).call(i,null!=n?n.tags:n,{name:"json_metatags",hash:{},data:e}))+"</td></tr>\n"},useData:!0}),n["tmpl-user"]=a({compiler:[7,">= 4.0.0"],main:function(a,n,l,t,e){var d,i=null!=n?n:{},o=l.helperMissing,s="function",r=a.escapeExpression;return' <h2>User Profile</h2>\n <div id="user_profile">\n <div id="photo" class="col-md-2" style="width:200px ">\n <img src="'+r((d=null!=(d=l.gravator_url||(null!=n?n.gravator_url:n))?d:o,typeof d===s?d.call(i,{name:"gravator_url",hash:{},data:e}):d))+'?s=180&d=mm"><br><br>\n <a href="https://en.gravatar.com/" target="_blank" style="clear:both;">Profile Image</a><br><br>\n <a id="reset_password" style="clear:both;">Reset Password</a>\n </div>\n <form id="view_form" class="form-horizontal col-md-4" onsubmit="return edit_user();">\n <div class="form-group">\n <label class="col-md-3 control-label">Username</label>\n <div class="col-md-09">\n <p class="form-control-static">'+r((d=null!=(d=l.username||(null!=n?n.username:n))?d:o,typeof d===s?d.call(i,{name:"username",hash:{},data:e}):d))+'</p>\n </div>\n </div>\n <div class="form-group">\n <label class="col-md-3 control-label">Name</label>\n <div class="col-md-09">\n <p class="form-control-static">'+r((d=null!=(d=l.name||(null!=n?n.name:n))?d:o,typeof d===s?d.call(i,{name:"name",hash:{},data:e}):d))+'</p>\n </div>\n </div>\n <div class="form-group">\n <label class="col-md-3 control-label">Email</label>\n <div class="col-md-09">\n <p class="form-control-static">'+r((d=null!=(d=l.email||(null!=n?n.email:n))?d:o,typeof d===s?d.call(i,{name:"email",hash:{},data:e}):d))+'</p>\n </div>\n </div>\n <button type="submit" id="form_submit" class="btn btn-default pull-right" style="margin-right:40px;">Edit</button>\n </form>\n <form class="col-md-4" id="user_form" onsubmit="return submit_user();">\n <div style="display:none">\n <input type="hidden" name="csrfmiddlewaretoken" value="'+r((d=null!=(d=l.csrftoken||(null!=n?n.csrftoken:n))?d:o,typeof d===s?d.call(i,{name:"csrftoken",hash:{},data:e}):d))+'"/>\n </div>\n <div class="form-group">\n <label for="first_name">First Name</label>\n <input type="text" class="form-control" name="first_name" placeholder="John" value="'+r((d=null!=(d=l.first_name||(null!=n?n.first_name:n))?d:o,typeof d===s?d.call(i,{name:"first_name",hash:{},data:e}):d))+'">\n </div>\n <div class="form-group">\n <label for="last_name">Last Name</label>\n <input type="text" class="form-control" name="last_name" placeholder="Doe" value="'+r((d=null!=(d=l.last_name||(null!=n?n.last_name:n))?d:o,typeof d===s?d.call(i,{name:"last_name",hash:{},data:e}):d))+'">\n </div>\n <div class="form-group">\n <label for="email">Email address</label>\n <input type="email" class="form-control" name="email" placeholder="Enter email" value="'+r((d=null!=(d=l.email||(null!=n?n.email:n))?d:o,typeof d===s?d.call(i,{name:"email",hash:{},data:e}):d))+'">\n </div>\n <button type="submit" id="form_submit" class="btn btn-default pull-right">Update</button>\n </form>\n <div class="row" style="width:100%;clear:both;"></div>\n <form class="form-inline" id="pass_form" onsubmit="return set_password();" style="display:none">\n <div style="display:none">\n <input type="hidden" name="csrfmiddlewaretoken" value="'+r((d=null!=(d=l.csrftoken||(null!=n?n.csrftoken:n))?d:o,typeof d===s?d.call(i,{name:"csrftoken",hash:{},data:e}):d))+'"/>\n </div>\n <div class="form-group">\n <label for="password">New Password</label>\n <input type="password" class="form-control" name="password" placeholder="New Password">\n </div>\n <div class="form-group">\n <label for="password2">Retype New Password</label>\n <input type="password" class="form-control" name="password2" placeholder="Retype New Password">\n </div>\n <button type="submit" class="btn btn-default">Set Password</button>\n </form>\n </div>\n'},useData:!0})}();