Skip to content

Commit 3c19b00

Browse files
author
Derek Bourgeois
committed
Edit Create Database Form
1 parent 1fe9fcc commit 3c19b00

File tree

6 files changed

+94
-2
lines changed

6 files changed

+94
-2
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
@extends('layout')
22

3+
@section('navbar')
4+
@include('partials.global.navbar')
5+
@stop
6+
37
@section('canvas')
48
@yield('content')
59
@stop

resources/views/canvases/workspace.blade.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
@extends('layout')
22

3+
@section('navbar')
4+
@include('partials.global.navbar')
5+
@stop
6+
37
@section('canvas')
48
@include('partials.global.toolbar')
59
<div class="container-fluid workspace">
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
<form method="POST" action="/auth/register" class="col-md-10 col-md-offset-1">
2+
{!! csrf_field() !!}
3+
4+
<br />
5+
6+
<div class="form-group">
7+
<label for="name">Name</label>
8+
<input type="text" id="name" class="form-control" placeholder="Name" name="name" value="{{ old('name') }}">
9+
</div>
10+
11+
<div class="form-group">
12+
<label for="email">Email Address</label>
13+
<input type="email" id="email" class="form-control" placeholder="Email Address" name="email" value="{{ old('email') }}">
14+
</div>
15+
16+
<div class="form-group">
17+
<label for="password">Password</label>
18+
<input class="form-control" id="password" placeholder="Password" name="password" type="password" value="">
19+
</div>
20+
21+
<div class="form-group">
22+
<label for="confirm-password">Confirm Password</label>
23+
<input class="form-control" id="confirm-password" placeholder="Confirm Password" name="password_confirmation" type="password" value="">
24+
</div>
25+
26+
<br />
27+
28+
<div class="container-fluid">
29+
<div class="form-group pull-right">
30+
<input class="btn btn-default" type="submit" value="Next">
31+
</div>
32+
</div>
33+
34+
<br />
35+
36+
</form>
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
<form method="POST" action"/install/database" class="col-md-10 col-md-offset-1">
2+
{!! csrf_field() !!}
3+
4+
<br />
5+
6+
<div class="form-group">
7+
<label for="driver">Database Driver</label>
8+
<select class="form-control" id="driver" name="driver">
9+
<option value="sqlite">SQLite</option>
10+
<option value="mysql">MySQL</option>
11+
<option value="pgsql">PostgreSQL</option>
12+
<option value="sqlsrv">SQL Server</option>
13+
</select>
14+
</div>
15+
16+
<div class="form-group">
17+
<label for="driver">Database Host</label>
18+
<input type="text" id="host" class="form-control" placeholder="localhost" name="host" value="{{ old('host') }}">
19+
</div>
20+
21+
<div class="form-group">
22+
<label for="name">Database Name</label>
23+
<input type="text" id="name" class="form-control" placeholder="Database Name" name="name" value="{{ old('name') }}">
24+
</div>
25+
26+
<div class="form-group">
27+
<label for="user">Database User</label>
28+
<input type="text" id="user" class="form-control" placeholder="Database User" name="user" value="{{ old('user') }}">
29+
</div>
30+
31+
<div class="form-group">
32+
<label for="password">Database Password</label>
33+
<input type="password" id="password" class="form-control" placeholder="Database Password" name="password" value="">
34+
</div>
35+
36+
<br />
37+
38+
</form>
Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
11
@extends('layout')
22
@section('canvas')
3-
install laraedit
3+
<br /><br />
4+
<div class="col-md-6 col-md-offset-3">
5+
<div class="panel panel-default">
6+
<div class="panel-heading">
7+
<h3 class="panel-title">Setup the Database</h3>
8+
</div>
9+
<div class="panel-body">
10+
@include('forms.install.database')
11+
</div>
12+
</div>
13+
</div>
414
@stop

resources/views/layout.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<body>
1818

1919
<div class="container-fluid laraedit">
20-
@include('partials.global.navbar')
20+
@yield('navbar')
2121
<div class="container-fluid canvas">
2222
@yield('canvas')
2323
</div>

0 commit comments

Comments
 (0)