Created
March 4, 2017 18:23
-
-
Save rafael-fernandes/a0062d0d5a3aa5b06e599e2fdc993bcd to your computer and use it in GitHub Desktop.
application wecare
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Wecare</title> | |
<%= csrf_meta_tags %> | |
<%= stylesheet_link_tag 'application', media: 'all' %> | |
<%= favicon_link_tag 'favicon.png' %> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<!-- start Mixpanel --><script type="text/javascript">(function(e,a){if(!a.__SV){var b=window;try{var c,l,i,j=b.location,g=j.hash;c=function(a,b){return(l=a.match(RegExp(b+"=([^&]*)")))?l[1]:null};g&&c(g,"state")&&(i=JSON.parse(decodeURIComponent(c(g,"state"))),"mpeditor"===i.action&&(b.sessionStorage.setItem("_mpcehash",g),history.replaceState(i.desiredHash||"",e.title,j.pathname+j.search)))}catch(m){}var k,h;window.mixpanel=a;a._i=[];a.init=function(b,c,f){function e(b,a){var c=a.split(".");2==c.length&&(b=b[c[0]],a=c[1]);b[a]=function(){b.push([a].concat(Array.prototype.slice.call(arguments, | |
0)))}}var d=a;"undefined"!==typeof f?d=a[f]=[]:f="mixpanel";d.people=d.people||[];d.toString=function(b){var a="mixpanel";"mixpanel"!==f&&(a+="."+f);b||(a+=" (stub)");return a};d.people.toString=function(){return d.toString(1)+".people (stub)"};k="disable time_event track track_pageview track_links track_forms register register_once alias unregister identify name_tag set_config reset people.set people.set_once people.increment people.append people.union people.track_charge people.clear_charges people.delete_user".split(" "); | |
for(h=0;h<k.length;h++)e(d,k[h]);a._i.push([b,c,f])};a.__SV=1.2;b=e.createElement("script");b.type="text/javascript";b.async=!0;b.src="undefined"!==typeof MIXPANEL_CUSTOM_LIB_URL?MIXPANEL_CUSTOM_LIB_URL:"file:"===e.location.protocol&&"//cdn.mxpnl.com/libs/mixpanel-2-latest.min.js".match(/^\/\//)?"https://cdn.mxpnl.com/libs/mixpanel-2-latest.min.js":"//cdn.mxpnl.com/libs/mixpanel-2-latest.min.js";c=e.getElementsByTagName("script")[0];c.parentNode.insertBefore(b,c)}})(document,window.mixpanel||[]); | |
mixpanel.init("56fb7a443410559140f46bb30ca39988");</script> | |
<!-- end Mixpanel --> | |
</head> | |
<body class="<%= current_user ? '': 'darkness' %> <%= params[:controller] %>-<%= params[:action] %>"> | |
<% if user_signed_in? %> | |
<header id="header"> | |
<%= render 'layouts/navbar' %> | |
<% unless params[:action] == 'collab_dashboard' or params[:action] == 'wecare_dashboard' or params[:action] == 'my_rewards' %> | |
<div class='subheader-box teal darken-2'> | |
<div class='container'> | |
<h1 class='title'> | |
<%= yield :subheader %> | |
</h1> | |
</div> | |
</div> | |
<% end %> | |
</header> | |
<% end %> | |
<% flash.each do |name, msg| -%> | |
<div class="flash-message <%= (name == 'alert') ? 'red lighten-4' : 'green lighten-4' %>"> | |
<div class="container"> | |
<i class="material-icons"><%= (name == 'alert') ? 'warning' : 'done' %></i> | |
<spam><%= msg %></spam> | |
<a href="#" class="close"><i class="material-icons">clear</i></a> | |
</div> | |
</div> | |
<% end -%> | |
<%= yield %> | |
<% if user_signed_in? %> | |
<%= render "footer" %> | |
<% end %> | |
<!-- Conpass Script --> | |
<script type="text/javascript" src="https://api.conpass.io/conpass.js"></script> | |
<%= javascript_include_tag 'application' %> | |
<%= cloudinary_js_config %> | |
<!-- Start of wecare Zendesk Widget script --> | |
<script>/*<![CDATA[*/window.zEmbed||function(e,t){var n,o,d,i,s,a=[],r=document.createElement("iframe");window.zEmbed=function(){a.push(arguments)},window.zE=window.zE||window.zEmbed,r.src="javascript:false",r.title="",r.role="presentation",(r.frameElement||r).style.cssText="display: none",d=document.getElementsByTagName("script"),d=d[d.length-1],d.parentNode.insertBefore(r,d),i=r.contentWindow,s=i.document;try{o=s}catch(e){n=document.domain,r.src='javascript:var d=document.open();d.domain="'+n+'";void(0);',o=s}o.open()._l=function(){var o=this.createElement("script");n&&(this.domain=n),o.id="js-iframe-async",o.src=e,this.t=+new Date,this.zendeskHost=t,this.zEQueue=a,this.body.appendChild(o)},o.write('<body onload="document._l();">'),o.close()}("https://assets.zendesk.com/embeddable_framework/main.js","wecare.zendesk.com"); | |
/*]]>*/</script> | |
<!-- End of wecare Zendesk Widget script --> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment