ffmprovisr/app/views/generate.erb
2014-07-06 16:06:57 -04:00

38 lines
1022 B
Plaintext

<!DOCTYPE html>
<html>
<body>
<link href ="stylesheets/css/bootstrap.css" rel="stylesheet">
<link href ="stylesheets/css/bootstrap-responsive.css" rel="stylesheet">
<div class="container">
<h1>ffmprovisor</h1>
<p>
<div class="form-group">
<form action="/" method="POST">
Video format:
<select name="input[video_format]">
<option value="nil">Select video format</option>
<option value="mp4">Mp4</option>
<option value="h264">h264</option>
<option value="flv">FLV</option>
</select>
<br /><br />
Video input: <input type="text" name="input[video_input]">
<br /><br />
Video output: <input type="text" name="input[video_output]">
<br /><br />
<button type="submit" class="btn btn-primary btn-lg">Submit</button>
</form>
<br />
Command: <textarea rows="1" cols="75" action="output">
<%= @output %>
</textarea>
</div>
</p>
</div>
</body>
</html>