Current playing song widget for Dashing
Preview
Usage
- Add trackprogress.js to your javascript directory
- Add widget code to a dashboard
- Copy the html, coffee and scss file to a "playingsong" directory
- Update the songtitle
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="http://code.jquery.com/jquery.min.js"></script> | |
<link href="http://getbootstrap.com/2.3.2/assets/css/bootstrap.css" rel="stylesheet" type="text/css" /> | |
<link href="http://getbootstrap.com/2.3.2/assets/css/bootstrap-responsive.css" rel="stylesheet" type="text/css" /> | |
<script src="http://getbootstrap.com/2.3.2/assets/js/bootstrap.js"></script> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
<style> |
<?xml version="1.0" encoding="utf-8"?> | |
<microformats from="http://newsdesk.se/pressroom/newsdesk/contact_person/view/peter-ingman-administration-foeretagsledning-14" title="Newsdesk - Peter Ingman (Administration/företagsledning) - Newsdesk"> | |
<description>Peter Ingman är en av grundarna och VD för Newsdesk.</description> | |
<hcard> | |
<email>pingman@newsdesk.se</email> | |
<fn>Peter Ingman</fn> | |
<org>Newsdesk</org> | |
<role>VD</role> | |
<tel> | |
<type>Work</type> |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script> | |
<script> | |
$(window).load(function(){ | |
$("a[data-gravatar-url]").each(function(){ | |
$(this).html('<img src="'+ $(this).data("gravatarUrl") +'" alt="'+ $(this).text() +'">'); | |
}); |
) | |
'MediaMonitor creating Media Monitor accounts should not have available profiles if profiles more than two' FAILED | |
expected accepting_more_profiles? to return true, got false | |
/Users/joakim/.rvm/gems/ruby-1.8.7-p302@newsdesk/gems/rspec-1.3.1/lib/spec/expectations/fail_with.rb:41:in `fail_with' | |
/Users/joakim/.rvm/gems/ruby-1.8.7-p302@newsdesk/gems/rspec-1.3.1/lib/spec/expectations/handler.rb:21:in `handle_matcher' | |
/Users/joakim/.rvm/gems/ruby-1.8.7-p302@newsdesk/gems/rspec-1.3.1/lib/spec/expectations/extensions/kernel.rb:27:in `should' | |
./spec/models/media_monitor_spec.rb:39: | |
/Users/joakim/.rvm/gems/ruby-1.8.7-p302@newsdesk/gems/rspec-1.3.1/lib/spec/example/example_methods.rb:40:in `instance_eval' | |
/Users/joakim/.rvm/gems/ruby-1.8.7-p302@newsdesk/gems/rspec-1.3.1/lib/spec/example/example_methods.rb:40:in `execute' | |
/Users/joakim/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/1.8/timeout.rb:53:in `timeout' |
ed.contentCSS.push(url+'/css/content_rawembed.css'); |
tinyMCE.init({ | |
// General options | |
mode : 'specific_textareas', | |
editor_selector : 'editor', | |
theme : "advanced", | |
plugins : "inlinepopups,paste,rawembed", | |
// Theme options | |
theme_advanced_buttons1 : "bold,italic,underline,strikethrough,bullist,|,rawembed,code", | |
theme_advanced_buttons2 : "", |