Skip to content

Commit

Permalink
Version 1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ConsoleTVs committed Feb 11, 2016
1 parent d24f645 commit f489e97
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 31 deletions.
15 changes: 0 additions & 15 deletions app/Http/routes.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,21 +38,6 @@
Route::get('/', function () {
return view('welcome');
});

Route::get('/test', function() {
foreach(App\Permission::all() as $perm) {
$type = $perm->type;
print str_replace('|', '$',"
|perm = new Permission;<br>
|perm->slug = '$perm->slug';<br>
|perm->name = '$perm->name';<br>
|perm->info = '$perm->info';<br>
|perm->type_id = Permission_Types::where('name', '$type->type')->first()->id;<br>
|perm->su = true;<br>
|perm->save();<br><br>
");
}
});

Route::auth();

Expand Down
12 changes: 0 additions & 12 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,3 @@
# Laralum - Laravel Administration Panel
Laralum is a a laravel administration panel, build to make work simple while developing a project

## STILL ON BETA - NEED DOCUMENTION
Althought Most of the work has been done, the documentation needs to be written, so in fact, it's not yet recommended to use it unless you know how laravel works!

## Documented Code
I took care of the code while coding the application, so everything is commented and readable

## Screenshot
![alt text](http://puu.sh/n3awr/cbb7ad607d.png "Logo Title Text 1")

## Laravel PHP Framework

[![Build Status](https://travis-ci.org/laravel/framework.svg)](https://travis-ci.org/laravel/framework)
Expand Down
37 changes: 37 additions & 0 deletions resources/views/layouts/admin/welcome.blade.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">

<title>Laralum</title>

<!-- Fonts -->
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.4.0/css/font-awesome.min.css" rel='stylesheet' type='text/css'>
<link href="https://fonts.googleapis.com/css?family=Lato:100,300,400,700" rel='stylesheet' type='text/css'>

<!-- Styles -->
<link href="{{ url('admin_panel/css/bootstrap.min.css') }}" rel="stylesheet">
{{-- <link href="{{ elixir('css/app.css') }}" rel="stylesheet"> --}}

<style>
body {
font-family: 'Lato';
}
.fa-btn {
margin-right: 6px;
}
</style>
</head>
<body id="app-layout">
<br>
@yield('content')

<!-- JavaScripts -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
{{-- <script src="{{ elixir('js/app.js') }}"></script> --}}
</body>
</html>
9 changes: 5 additions & 4 deletions resources/views/welcome.blade.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
@extends('layouts.app')
@extends('layouts.admin.welcome')

@section('content')
<div class="container">
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="panel panel-default">
<div class="panel-heading">Welcome to laralum</div>
<div class="panel-heading">Welcome to laralum <a href="{{ url('/login') }}" class="pull-right btn btn-primary btn-sm">Check</a></div>

<div class="panel-body">

Expand Down Expand Up @@ -73,8 +73,9 @@
<pre>cd {{ base_path() }}</pre>
<h3><small>Install it!</small></h3>
<pre>php artisan migrate</pre>
<h3><small>What's next?</small></h3>
<p>Refresh this page to see the menu items.<br>Go ahead and login with the credentials you specified in the configuration and enjoy :)</p>
<br>
<h4>What's next?</h4>
<p>Press the check button on the top and if no error is found go ahead and login with the credentials you specified in the configuration.</p>
</p>

</div>
Expand Down

0 comments on commit f489e97

Please sign in to comment.