docs: simpler star counter, more nice buttons

This commit is contained in:
jean-emmanuel 2016-11-03 11:51:52 +01:00
parent 4ce7be809d
commit 324a9fae95
3 changed files with 18 additions and 2 deletions

View file

@ -1,7 +1,12 @@
# <small> <img src="img/logo.png" height="40px"/> Open Stage Control </small> <iframe class="pull-right" style="margin-top:15px;" src="https://ghbtns.com/github-btn.html?user=jean-emmanuel&repo=open-stage-control&type=star&count=true" frameborder="0" scrolling="0" width="80px" height="30px"></iframe>
# <img src="img/logo.png" height="80px"/> <small> Open Stage Control </small>
----
<a class="btn btn-primary btn-sm" href="https://github.com/jean-emmanuel/open-stage-control/releases"><i class="fa fa-download fa-fw"></i> <span id="github-version">...</span></a>
<a class="btn btn-info btn-sm" href="http://openstagecontrol.herokuapp.com/"><i class="fa fa-bolt fa-fw"></i> Demo</a>
<a class="btn btn-default btn-sm pull-right" href="https://github.com/jean-emmanuel/open-stage-control"><i class="fa fa-star fa-fw"></i> <span id="github-stars">...</span></a>
<div class="clearfix"></div>
----
Open Stage Control is a libre desktop OSC bi-directionnal control surface application. It's built with HTML, JavaScript & CSS and run as a Node / [Electron](http://electron.atom.io/) web server that accepts any number of Chrome / Chromium / Electron clients.

View file

@ -0,0 +1,8 @@
$(document).ready(function(){
$.getJSON('https://api.github.com/repos/jean-emmanuel/open-stage-control',function(data){
$('#github-stars').text(data.stargazers_count)
})
$.getJSON('https://raw.githubusercontent.com/jean-emmanuel/open-stage-control/master/app/package.json',function(data){
$('#github-version').text('v'+data.version)
})
})

View file

@ -5,3 +5,6 @@ copyright: "Open Stage Control is an <a href='http://ammd.net'>AMMD</a> software
site_description: "A libre desktop OSC bi-directionnal control surface application."
extra_css:
- css/extra.css
extra_js:
- js/extra.js
site_favicon: img/logo.png