Source

inbounding / inbounding / dispatch / templates / action.html

Full commit
{% extends "site-template.html" %}

{% block title %}
Modify an Action
{% endblock %}

{% block main %}
<div class="container">

  <div class="row">
    <div class="span12">
      <h1>Modify Actions</h1>
    </div>
  </div>

  <div class="row">
    <div class="span6">
      <form action="." method="post" class="form">

	/ <a href="{% url dashboard-url %}">Dashboard</a> / 

	<ul>
	  {% for field in form %}
	  <li>
	    {{ field.label_tag }}
	    {{ field.errors }}                              
	    {{ field }}
	  </li>

	{% endfor %}
	</ul>
	{% csrf_token %}
	<input type="hidden" name="user" id="id_user" value="{{ request.user.id }}">
	<p><input class="input-submit" type="submit" value="Save Action" /></p>
      </form>
    </div>
  </div>

  <div class="row">
    <div class="span12">
      <h2>Example Calls to Action</h2>


      <h3>Facebook Like button</h3>
      <code>
      &lt;div id=&quot;fb-root&quot;&gt;&lt;/div&gt;
&lt;script&gt;(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) {return;}
  js = d.createElement(s); js.id = id;
  js.src = &quot;//connect.facebook.net/en_US/all.js#appId=290908610924245&amp;xfbml=1&quot;;
  fjs.parentNode.insertBefore(js, fjs);
}(document, &#39;script&#39;, &#39;facebook-jssdk&#39;));&lt;/script&gt;

&lt;div class=&quot;fb-like&quot; data-href=&quot;google.com&quot; data-send=&quot;false&quot; data-layout=&quot;button_count&quot; data-width=&quot;150&quot; data-show-faces=&quot;false&quot;&gt;&lt;/div&gt;

      </code>
      <p>Instructions: Copy all the entire code and replace google.com with your URL.</p>
      <h3>Twitter Follow Button</h3>
      <code>
      &lt;iframe allowtransparency=&quot;true&quot; frameborder=&quot;0&quot; scrolling=&quot;no&quot; src=&quot;//platform.twitter.com/widgets/follow_button.html?screen_name=googlecom&quot;
  style=&quot;width:300px; height:20px;&quot;&gt;&lt;/iframe&gt;

      </code>
      <p>Instructions: Copy and paste into the Code box above change the screen_name=googlecom to your Twitter name.</p>

      <h3>Google Plus button</h3>
      <code>
      &lt;!-- Place this tag where you want the +1 button to render --&gt;
      &lt;g:plusone annotation=&quot;inline&quot; href=&quot;google.com&quot;&gt;&lt;/g:plusone&gt;

      &lt;!-- Place this render call where appropriate --&gt;
      &lt;script type=&quot;text/javascript&quot;&gt;
      (function() {
      var po = document.createElement(&#39;script&#39;); po.type = &#39;text/javascript&#39;; po.async = true;
      po.src = &#39;https://apis.google.com/js/plusone.js&#39;;
      var s = document.getElementsByTagName(&#39;script&#39;)[0]; s.parentNode.insertBefore(po, s);
      })();
      &lt;/script&gt;
      </code>
      <p>Instructions: Copy this code and update the href="google.com" with your domain.</p>


      <h3>Mail Chimp Subscribe</h3>
      <code>
	
      </code>
      <p>Instructions: </p>

    </div>
  </div>

</div>

</div> <!-- end container -->
{% endblock %}