mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-07 06:31:22 +00:00
New code, building a migration routine.
This commit is contained in:
19
app/views/emails/user/remindme-html.blade.php
Normal file
19
app/views/emails/user/remindme-html.blade.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<html>
|
||||
<head>
|
||||
<style type="text/css">
|
||||
* {font-size:Arial;}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>
|
||||
Hi!
|
||||
</p>
|
||||
<p>
|
||||
To get a new password, please <a href="{{route('reset',$reset)}}">verify your e-mail address</a>.
|
||||
</p>
|
||||
<p>
|
||||
Cya!
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
5
app/views/emails/user/remindme-text.php
Normal file
5
app/views/emails/user/remindme-text.php
Normal file
@@ -0,0 +1,5 @@
|
||||
Hi!
|
||||
|
||||
To get a new password, please verify your e-mail address: {{route('reset',$reset)}}
|
||||
|
||||
Cya!
|
||||
@@ -7,5 +7,10 @@
|
||||
@if(Auth::check())
|
||||
logged in!
|
||||
@endif
|
||||
|
||||
<br />
|
||||
<a href="{{route('logout')}}">logout!</a>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<base href="{{url::to('/')}}">
|
||||
<base href="{{URL::route('index')}}/">
|
||||
<title>Firefly</title>
|
||||
|
||||
<!-- Bootstrap -->
|
||||
|
||||
50
app/views/migrate/index.blade.php
Normal file
50
app/views/migrate/index.blade.php
Normal file
@@ -0,0 +1,50 @@
|
||||
@extends('layouts.default')
|
||||
@section('content')
|
||||
<div class="row">
|
||||
<div class="col-lg-8 col-md-8 col-sm-12">
|
||||
<h1>Firefly<br/>
|
||||
<small>Migration instructions</small>
|
||||
</h1>
|
||||
<ol>
|
||||
<li>Open <code>app/config/database.php</code></li>
|
||||
<li>Fill in the <code>old-firefly</code> connection records.</li>
|
||||
<li>Refresh this page.</li>
|
||||
</ol>
|
||||
<p>
|
||||
It should look something like this:
|
||||
</p>
|
||||
<pre>
|
||||
return [
|
||||
'fetch' => PDO::FETCH_CLASS,
|
||||
'default' => 'mysql',
|
||||
'connections' => [
|
||||
'mysql' => [
|
||||
'driver' => 'mysql',
|
||||
'host' => 'localhost',
|
||||
'database' => '(current database)',
|
||||
'username' => '',
|
||||
'password' => '',
|
||||
'charset' => 'utf8',
|
||||
'collation' => 'utf8_unicode_ci',
|
||||
'prefix' => '',
|
||||
],
|
||||
<strong>
|
||||
'old-firefly' => [
|
||||
'driver' => 'mysql',
|
||||
'host' => 'localhost',
|
||||
'database' => '(previous database)',
|
||||
'username' => '',
|
||||
'password' => '',
|
||||
'charset' => 'utf8',
|
||||
'collation' => 'utf8_unicode_ci',
|
||||
'prefix' => '',
|
||||
],</strong>
|
||||
],
|
||||
</pre>
|
||||
<p>
|
||||
Refresh this page; when the connection is valid this page will refresh.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@stop
|
||||
41
app/views/start.blade.php
Normal file
41
app/views/start.blade.php
Normal file
@@ -0,0 +1,41 @@
|
||||
@extends('layouts.default')
|
||||
@section('content')
|
||||
<div class="row">
|
||||
<div class="col-lg-12 col-md-12 col-sm-12">
|
||||
<h1>Firefly<br/>
|
||||
<small>Welcome!</small>
|
||||
</h1>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-lg-12 col-md-12 col-sm-12">
|
||||
<p>
|
||||
Welcome to Firefly! To get started, choose either of the two options below.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-lg-6 col-md-6 col-sm-12">
|
||||
<h2>Start anew</h2>
|
||||
<p>
|
||||
Click the link below to create your first account, and get started with Firefly.
|
||||
</p>
|
||||
<p>
|
||||
<a href="#" class="btn btn-info">Start with a new account</a>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="col-lg-6 col-md-6 col-sm-12">
|
||||
<h2>Migrate from another Firefly</h2>
|
||||
<p>
|
||||
If you've used Firefly before and have another database around, follow this link to import
|
||||
your data from a previous version.
|
||||
</p>
|
||||
<p>
|
||||
<a href="{{route('migrate.index')}}" class="btn btn-info">Import your old data</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
@stop
|
||||
@@ -44,7 +44,7 @@
|
||||
</p>
|
||||
@endif
|
||||
<p>
|
||||
<a href="#" class="btn btn-default">Reset password</a>
|
||||
<a href="{{route('remindme')}}" class="btn btn-default">Forgot your password?</a>
|
||||
</p>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
<a href="{{route('login')}}" class="btn btn-default">Back to login form</a>
|
||||
</p>
|
||||
<p>
|
||||
<a href="#" class="btn btn-default">Reset password</a>
|
||||
<a href="{{route('remindme')}}" class="btn btn-default">Reset password</a>
|
||||
</p>
|
||||
|
||||
</div>
|
||||
|
||||
42
app/views/user/remindme.blade.php
Normal file
42
app/views/user/remindme.blade.php
Normal file
@@ -0,0 +1,42 @@
|
||||
@extends('layouts.guest')
|
||||
@section('content')
|
||||
<div class="row">
|
||||
<div class="col-lg-12 col-md-12 col-sm-12">
|
||||
<h1>Firefly<br/>
|
||||
<small>Forgot your password?</small>
|
||||
</h1>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-lg-12 col-md-12 col-sm-12">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-lg-4 col-md-4 col-sm-12">
|
||||
{{Form::open()}}
|
||||
<div class="form-group">
|
||||
<label for="inputEmail">Email address</label>
|
||||
<input type="email" class="form-control" id="inputEmail" name="email" placeholder="Enter email">
|
||||
</div>
|
||||
<button type="submit" class="btn btn-info">Submit</button>
|
||||
{{Form::close()}}
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-lg-4 col-md-4 col-sm-12">
|
||||
<p>
|
||||
|
||||
</p>
|
||||
<p>
|
||||
<a href="{{route('login')}}" class="btn btn-default">Back to login form</a>
|
||||
</p>
|
||||
<p>
|
||||
<a href="{{route('register')}}" class="btn btn-default">Register a new account</a>
|
||||
</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@stop
|
||||
Reference in New Issue
Block a user