mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-22 04:58:01 +01:00
added registration
This commit is contained in:
parent
0185076fb9
commit
4b5788fc74
5 changed files with 25 additions and 1 deletions
|
@ -1,7 +1,14 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Support\Facades\Config;
|
||||
use Illuminate\Support\Facades\Redirect;
|
||||
|
||||
class AccountController extends Controller {
|
||||
public function getIndex() {
|
||||
return View::make('shared.null');
|
||||
}
|
||||
|
||||
public function getRegister() {
|
||||
return Redirect::to(Config::get('poniverse.urls')['register']);
|
||||
}
|
||||
}
|
|
@ -34,6 +34,7 @@
|
|||
Route::get('artists', 'ArtistsController@getIndex');
|
||||
Route::get('playlists', 'PlaylistsController@getIndex');
|
||||
|
||||
Route::get('/register', 'AccountController@getRegister');
|
||||
Route::get('/login', 'AuthController@getLogin');
|
||||
Route::get('/auth/oauth', 'AuthController@getOAuth');
|
||||
|
||||
|
|
|
@ -75,7 +75,8 @@
|
|||
<a href="{{Helpers::angular('playlist.url')}}" ng-bind="playlist.title"></a>
|
||||
</li>
|
||||
@else
|
||||
<li><a href="/login" target="_self">Login</a></li>
|
||||
<li><a href="/login" target="_self">Login</a></li>
|
||||
<li><a href="/register" target="_self">Register</a></li>
|
||||
@endif
|
||||
</ul>
|
||||
<ui-view class="site-content">
|
||||
|
|
|
@ -43,6 +43,12 @@
|
|||
}
|
||||
|
||||
.dashboard {
|
||||
.welcome {
|
||||
float: none;
|
||||
width: auto;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
h1 {
|
||||
a {
|
||||
color: #fff;
|
||||
|
|
|
@ -15,6 +15,15 @@
|
|||
</section>
|
||||
|
||||
<section class="news">
|
||||
<h1>Welcome to Pony.fm</h1>
|
||||
<p>The pony fan music site. By a brony, for bronies.</p>
|
||||
<p>
|
||||
We provide a comprehensive set of free tools to host, distribute, and catalogue your music, integrated with a rich community experience for artists and listeners alike.
|
||||
</p>
|
||||
<p>
|
||||
Features include <strong>unlimited downloads</strong>, <strong>unlimited uploads</strong>, <strong>lossless uploads</strong> and much more! Click <a href="/about">here</a> to get all of our features!
|
||||
</p>
|
||||
|
||||
<h1>
|
||||
<a href="http://mlpforums.com/blog/404-ponyfm-development-blog/" target="_blank">read all</a>
|
||||
Pony.fm News
|
||||
|
|
Loading…
Reference in a new issue