mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2025-02-16 18:14:23 +01:00
Finish hotfix-3
This commit is contained in:
commit
6ca6dafd71
5 changed files with 25 additions and 1 deletions
|
@ -1,7 +1,14 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
use Illuminate\Support\Facades\Config;
|
||||||
|
use Illuminate\Support\Facades\Redirect;
|
||||||
|
|
||||||
class AccountController extends Controller {
|
class AccountController extends Controller {
|
||||||
public function getIndex() {
|
public function getIndex() {
|
||||||
return View::make('shared.null');
|
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('artists', 'ArtistsController@getIndex');
|
||||||
Route::get('playlists', 'PlaylistsController@getIndex');
|
Route::get('playlists', 'PlaylistsController@getIndex');
|
||||||
|
|
||||||
|
Route::get('/register', 'AccountController@getRegister');
|
||||||
Route::get('/login', 'AuthController@getLogin');
|
Route::get('/login', 'AuthController@getLogin');
|
||||||
Route::get('/auth/oauth', 'AuthController@getOAuth');
|
Route::get('/auth/oauth', 'AuthController@getOAuth');
|
||||||
|
|
||||||
|
|
|
@ -75,7 +75,8 @@
|
||||||
<a href="{{Helpers::angular('playlist.url')}}" ng-bind="playlist.title"></a>
|
<a href="{{Helpers::angular('playlist.url')}}" ng-bind="playlist.title"></a>
|
||||||
</li>
|
</li>
|
||||||
@else
|
@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
|
@endif
|
||||||
</ul>
|
</ul>
|
||||||
<ui-view class="site-content">
|
<ui-view class="site-content">
|
||||||
|
|
|
@ -43,6 +43,12 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.dashboard {
|
.dashboard {
|
||||||
|
.welcome {
|
||||||
|
float: none;
|
||||||
|
width: auto;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
a {
|
a {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
|
|
|
@ -15,6 +15,15 @@
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section class="news">
|
<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>
|
<h1>
|
||||||
<a href="http://mlpforums.com/blog/404-ponyfm-development-blog/" target="_blank">read all</a>
|
<a href="http://mlpforums.com/blog/404-ponyfm-development-blog/" target="_blank">read all</a>
|
||||||
Pony.fm News
|
Pony.fm News
|
||||||
|
|
Loading…
Reference in a new issue