added submodule for fabric

This commit is contained in:
Tyrel Souza 2014-04-28 15:32:10 -04:00
parent 7ff11b8827
commit f1ef5002c2
4 changed files with 10 additions and 9 deletions

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "fabfile"]
path = fabfile
url = git://github.com/propelmarketing/fabfile.git

View File

@ -5,7 +5,6 @@
<meta name="ROBOTS" content="NOODP" /> <meta name="ROBOTS" content="NOODP" />
<title><%= title %></title> <title><%= title %></title>
<%= stylesheet_link_tag :application, :media => 'all' %> <%= stylesheet_link_tag :application, :media => 'all' %>
<%= yield :js_head %>
<%= csrf_meta_tags %> <%= csrf_meta_tags %>
</head> </head>
<body class="<%= body_class %>"> <body class="<%= body_class %>">
@ -15,5 +14,7 @@
<%= yield %> <%= yield %>
</div> </div>
<%= render 'javascript' %> <%= render 'javascript' %>
<%= yield :js_foot %>
</body> </body>
</html> </html>

View File

@ -13,7 +13,8 @@
<li><h2>Video Code</h2> <li><h2>Video Code</h2>
Here is the video code: Here is the video code:
<input type="text" id="videocode" value="<%= @videolisting.videocode %>"> <button class='clip_button' data-clipboard-target='videocode' data-clipboard-text='<%= @videolisting.videocode %>' id='clip_button' title='Click me to copy to clipboard.'> <input type="text" id="videocode" value="<%= @videolisting.videocode %>">
<button class='clip_button' data-clipboard-target='videocode' data-clipboard-text='<%= @videolisting.videocode %>' id='clip_button' title='Click me to copy to clipboard.'>
<b>Copy To Clipboard...</b> <b>Copy To Clipboard...</b>
</button> </button>
@ -31,15 +32,10 @@
<% content_for :js_head do %> <% content_for :js_foot do %>
<script> <script>
$(document).on('ready page:load', function () { $(document).on('ready page:load', function () {
var clip = new ZeroClipboard($("#clip_button")); var clip = new ZeroClipboard($("#clip_button"));
clip.on( "ready", function(readyEvent){
clip.on("aftercopy", function(event) {
alert("Copied text to clipboard: " + event.data["text/plain"]);
});
});
}); });
</script> </script>

1
fabfile Submodule

@ -0,0 +1 @@
Subproject commit 006ab4636969d4bef62bb4379a80b457c4e36f7b