mirror of
https://github.com/amiaopensource/ffmprovisr.git
synced 2025-10-19 12:20:02 +02:00
lets rails
This commit is contained in:
@@ -1,13 +1,8 @@
|
||||
<!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">
|
||||
<form>
|
||||
Video format:
|
||||
<select name="input[video_format]">
|
||||
<option value="nil">Select video format</option>
|
||||
@@ -31,7 +26,6 @@
|
||||
</div>
|
||||
</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
|
@@ -1,37 +0,0 @@
|
||||
<!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>
|
||||
|
||||
|
15
app/views/layouts/application.html.erb
Normal file
15
app/views/layouts/application.html.erb
Normal file
@@ -0,0 +1,15 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>ffmprovisor</title>
|
||||
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
|
||||
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
|
||||
<%= csrf_meta_tags %>
|
||||
<link href ="app/assets/stylesheets/css/bootstrap.css" rel="stylesheet">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<%= yield %>
|
||||
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user