Skip to content

Instantly share code, notes, and snippets.

@moul moul/index.html
Created Jun 18, 2019

What would you like to do?
pipotron ui
<div class="container">
<form class="form-inline">
<div class="form-group mb-2">
<select id="dict" class="form-control mr-sm-2">
<option value="bingo-winner">bingo-winner</option>
<option value="example">example</option>
<option value="laboralphy">laboralphy</option>
<option value=""></option>
<input class="btn btn-primary mb-2 mx-sm-3" type="button" id="generate" value="generate" />
<a id="source" href="" class="btn btn-secondary mb-2" target="_blank">Source</a>
<hr />
<div class="border embed-responsive embed-responsive-21by9 code">
<iframe class="embed-responsive-item" id="output">Loading...</iframe>
<hr />
<a href="">Pipotron</a>, by <a href="">Manfred Touron</a>.
function generate() {
var dict = $('#dict').val();
$('#output').attr('src', '' + dict);
$('#source').attr('href', ''+dict+'.yml');
<script src=""></script>
<script src=""></script>
<link href="" rel="stylesheet" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.