added submodule for fabric
This commit is contained in:
parent
7ff11b8827
commit
f1ef5002c2
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
[submodule "fabfile"]
|
||||
path = fabfile
|
||||
url = git://github.com/propelmarketing/fabfile.git
|
@ -5,7 +5,6 @@
|
||||
<meta name="ROBOTS" content="NOODP" />
|
||||
<title><%= title %></title>
|
||||
<%= stylesheet_link_tag :application, :media => 'all' %>
|
||||
<%= yield :js_head %>
|
||||
<%= csrf_meta_tags %>
|
||||
</head>
|
||||
<body class="<%= body_class %>">
|
||||
@ -15,5 +14,7 @@
|
||||
<%= yield %>
|
||||
</div>
|
||||
<%= render 'javascript' %>
|
||||
<%= yield :js_foot %>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
@ -13,8 +13,9 @@
|
||||
<li><h2>Video Code</h2>
|
||||
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.'>
|
||||
<b>Copy To Clipboard...</b>
|
||||
<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>
|
||||
</button>
|
||||
|
||||
<hr>
|
||||
@ -31,15 +32,10 @@
|
||||
|
||||
|
||||
|
||||
<% content_for :js_head do %>
|
||||
<% content_for :js_foot do %>
|
||||
<script>
|
||||
$(document).on('ready page:load', function () {
|
||||
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>
|
||||
|
||||
|
1
fabfile
Submodule
1
fabfile
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 006ab4636969d4bef62bb4379a80b457c4e36f7b
|
Loading…
Reference in New Issue
Block a user