mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-09 23:41:10 +00:00
Implemented migration procedure.
This commit is contained in:
@@ -1,16 +1,29 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Bla bla</title>
|
||||
</head>
|
||||
<body>
|
||||
{{App::environment()}}
|
||||
@if(Auth::check())
|
||||
logged in!
|
||||
@endif
|
||||
@extends('layouts.default')
|
||||
@section('content')
|
||||
<div class="row">
|
||||
<div class="col-lg-12 col-md-12 col-sm-12">
|
||||
<h1>Firefly<br/>
|
||||
<small>What's playing?</small>
|
||||
</h1>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-lg-12 col-md-12 col-sm-12">
|
||||
<h2>Accounts</h2>
|
||||
<div id="accounts">
|
||||
</div>
|
||||
<p><small>[settings]</small></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<br />
|
||||
<a href="{{route('logout')}}">logout!</a>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
<div class="row">
|
||||
<div class="col-lg-6 col-md-6 col-sm-12">
|
||||
<h3>Expenses</h3>
|
||||
</div>
|
||||
<div class="col-lg-6 col-md-6 col-sm-12">
|
||||
<h3>Budgets</h3>
|
||||
</div>
|
||||
</div>
|
||||
@stop
|
||||
@section('scripts')
|
||||
@stop
|
||||
@@ -42,7 +42,10 @@ return [
|
||||
],
|
||||
</pre>
|
||||
<p>
|
||||
Refresh this page; when the connection is valid this page will refresh.
|
||||
This page will disappear when the connection is valid.
|
||||
</p>
|
||||
<p>
|
||||
Current error: <code>{{$error or ''}}</code>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
21
app/views/migrate/result.blade.php
Normal file
21
app/views/migrate/result.blade.php
Normal file
@@ -0,0 +1,21 @@
|
||||
@extends('layouts.default')
|
||||
@section('content')
|
||||
<div class="row">
|
||||
<div class="col-lg-8 col-md-8 col-sm-12">
|
||||
<h1>Firefly<br/>
|
||||
<small>Migration results</small>
|
||||
</h1>
|
||||
<p class="lead">
|
||||
The migration was successful! You can now return to <a href="{{route('index')}}">the home page</a>
|
||||
and start using Firefly.
|
||||
</p>
|
||||
|
||||
<ul>
|
||||
@foreach($messages as $m)
|
||||
<li>{{$m}}</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@stop
|
||||
35
app/views/migrate/select-user.blade.php
Normal file
35
app/views/migrate/select-user.blade.php
Normal file
@@ -0,0 +1,35 @@
|
||||
@extends('layouts.default')
|
||||
@section('content')
|
||||
<div class="row">
|
||||
<div class="col-lg-8 col-md-8 col-sm-12">
|
||||
<h1>Firefly<br/>
|
||||
<small>Select a user for migration.</small>
|
||||
</h1>
|
||||
<p>
|
||||
Select a user from the list below. Then press import.
|
||||
</p>
|
||||
|
||||
{{Form::open(['class' => 'form-horizontal'])}}
|
||||
|
||||
<div class="form-group">
|
||||
<label for="inputUser" class="col-sm-2 control-label">User</label>
|
||||
<div class="col-sm-10">
|
||||
<select class="form-control" name="user">
|
||||
@foreach($oldUsers as $old)
|
||||
<option value="{{$old->id}}" label="# {{$old->id}}: {{$old->username}} ({{$old->email}})">
|
||||
# {{$old->id}}: {{$old->username}} ({{$old->email}})</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="col-sm-offset-2 col-sm-10">
|
||||
<button type="submit" class="btn btn-info">Import</button><br />
|
||||
<small>Please be patient; importing data may take some time.</small>
|
||||
</div>
|
||||
</div>
|
||||
{{Form::close()}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@stop
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
<div class="row">
|
||||
<div class="col-lg-6 col-md-6 col-sm-12">
|
||||
<h2>Start anew</h2>
|
||||
<h2>Start fresh</h2>
|
||||
<p>
|
||||
Click the link below to create your first account, and get started with Firefly.
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user