mirror of
https://github.com/amiaopensource/ffmprovisr.git
synced 2025-10-20 12:50:02 +02:00
abstracted form away for future form options
This commit is contained in:
30
app/views/forms/_web.html.erb
Normal file
30
app/views/forms/_web.html.erb
Normal file
@@ -0,0 +1,30 @@
|
||||
<div id="file_names">
|
||||
<div class="well">
|
||||
<fieldset>
|
||||
<legend>Input and Output</legend>
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="input_name">Input</label>
|
||||
<div class="controls">
|
||||
<input type="text" name="input_name" id="input_name" placeholder="input" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="output_name">Output</label>
|
||||
<div class="controls">
|
||||
<input type="text" name="output_name" id="output_name" placeholder="output" />
|
||||
</div>
|
||||
</div>
|
||||
<br/>
|
||||
<input type="button" class="btn btn-large btn-primary" name="generate" id="generate" value="Generate" />
|
||||
</fieldset>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="well">
|
||||
<fieldset>
|
||||
<legend>Your command line:</legend>
|
||||
<textarea name="command_line" id="command_line" rows="3" cols="100"></textarea>
|
||||
</fieldset>
|
||||
</div>
|
||||
|
||||
</div> <!-- container -->
|
@@ -1,19 +1,3 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>ffmproviser</title>
|
||||
<meta charset="utf-8">
|
||||
|
||||
<link href="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet">
|
||||
<link href="http://maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet">
|
||||
<link rel="stylesheet" href="assets/bootstrap.min.css">
|
||||
<link href="assets/jquery.steps.css" rel="stylesheet" >
|
||||
|
||||
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
|
||||
<script src="assets/forms.js"></script>
|
||||
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
|
||||
</head>
|
||||
|
||||
<div class="container">
|
||||
<h1>➺ ffmproviser ❥</h1>
|
||||
|
||||
@@ -34,39 +18,13 @@
|
||||
</fieldset>
|
||||
</div>
|
||||
|
||||
<div id="file_names">
|
||||
<div class="well">
|
||||
<fieldset>
|
||||
<legend>Input and Output</legend>
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="input_name">Input</label>
|
||||
<div class="controls">
|
||||
<input type="text" name="input_name" id="input_name" placeholder="input" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="output_name">Output</label>
|
||||
<div class="controls">
|
||||
<input type="text" name="output_name" id="output_name" placeholder="output" />
|
||||
</div>
|
||||
</div>
|
||||
<br/>
|
||||
<input type="button" class="btn btn-large btn-primary" name="generate" id="generate" value="Generate" />
|
||||
</fieldset>
|
||||
</div>
|
||||
</div>
|
||||
<!-- todo: yield for form depending on choice above -->
|
||||
|
||||
<div class="well">
|
||||
<fieldset>
|
||||
<legend>Your command line:</legend>
|
||||
<textarea name="command_line" id="command_line" rows="3" cols="100"></textarea>
|
||||
</fieldset>
|
||||
</div>
|
||||
<%= render "web" %>
|
||||
|
||||
|
||||
</div> <!-- container -->
|
||||
|
||||
<div class="footer">
|
||||
<p>Made with ♥ by <a href="http://www.ashleyblewer.com">Ashley Blewer</a></p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
</body>
|
Reference in New Issue
Block a user