basic layout template
This commit is contained in:
17
app/views/install/_form.html.erb
Normal file
17
app/views/install/_form.html.erb
Normal file
@@ -0,0 +1,17 @@
|
||||
<form>
|
||||
<div class="form-group">
|
||||
<label for="exampleInputEmail1">Business Name</label>
|
||||
<input type="text" class="form-control" id="restaurant_name" aria-describedby="business_name" placeholder="Enter business name">
|
||||
<small id="business_name" class="form-text text-muted">Name of business this system is license to</small>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="lblAdministrator">Administrator Username</label>
|
||||
<input type="text" class="form-control" id="admin_user" aria-describedby="admin_user" placeholder="Administrator Username">
|
||||
<small id="admin_user" class="form-text text-muted">First Employee who will be assign as administrator</small>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="admin_password">Password</label>
|
||||
<input type="password" class="form-control" id="admin_password" placeholder="Password">
|
||||
</div>
|
||||
<button type="submit" class="btn btn-primary">Install</button>
|
||||
</form>
|
||||
2
app/views/install/create.html.erb
Normal file
2
app/views/install/create.html.erb
Normal file
@@ -0,0 +1,2 @@
|
||||
<h1>Install#create</h1>
|
||||
<p>Find me in app/views/install/create.html.erb</p>
|
||||
17
app/views/install/index.html.erb
Normal file
17
app/views/install/index.html.erb
Normal file
@@ -0,0 +1,17 @@
|
||||
<div class="row">
|
||||
<div class="col-lg-3 col-md-3"></div>
|
||||
<div class="col-lg-6 col-md-6 ">
|
||||
<div class="card">
|
||||
|
||||
<div class="card-block">
|
||||
<h4 class="card-title text-center">New Restaurant Installation</h4>
|
||||
<br/>
|
||||
<h6 class="card-subtitle mb-2 text-muted">Welcome to new installation of SmartSales Restaurant Edition</h6>
|
||||
<p class="card-text">Please provide us with following details to setup necessary user account and base system settings.</p>
|
||||
<%= render "install/form" %>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-3 col-md-3"></div>
|
||||
|
||||
</div>
|
||||
Reference in New Issue
Block a user