mentors

mentors Commit Details


Date:2014-06-28 13:03:49 (10 years 6 months ago)
Author:Right Or Wrong
Branch:develop
Commit:78a95aeb8c36d8dca48d1736ed75ace2d5b33be2
Parents: e3ed3bda55370328af081b8bd808452b8dcbbfcd
Message:alot of code added here

Changes:

File differences

app/controllers/UserController.php
33
44
55
6
7
8
9
10
11
12
13
14
615
716
817
......
6372
6473
6574
66
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
67158
159
68160
69161
70162
class UserController extends \BaseController
{
public function index()
{
$users = User::all();
return View::make('users.index')->with('users', $users);
}
public function create()
{
return View::make('users.create');
$user = User::find($user_id);
return View::make('users.profile')->with('user', $user)->with('group_id', $group_id);
return View::make('users.complete')->with('user', $user)->with('group_id', $group_id);
}
public function saveProfile()
{
$group_id = \Input::get('group_id');
$user_id = \Input::get('user_id');
$user = \User::find($user_id);
$skills = array();
if (Input::get('java') === 'Java'){}
array_push($skills, 'Java');
if (Input::get('php') === 'PHP') {}
array_push($skills, 'PHP');
if (Input::get('python') === 'Python') {}
array_push($skills, 'Python');
if (Input::get('cplus') === 'Cplus') {}
array_push($skills, 'C++');
if (Input::get('objc') === 'Objc') {}
array_push($skills, 'Objective C');
if (Input::get('htmljscss') === 'Html') {}
array_push($skills, 'HTML JS CSS');
if (Input::get('android') === 'Android') {}
array_push($skills, 'Android');
if (Input::get('ux') === 'UXDesign') {}
array_push($skills, 'Java');
if (Input::get('webapps') === 'Webapps') {}
array_push($skills, 'Web Apps');
if (Input::get('ruby') === 'Ruby') {}
array_push($skills, 'Ruby on Rails');
if (Input::get('people') === 'People') {}
array_push($skills, 'People Skills');
$skills = serialize($skills);
$user->first = \Input::get('first');
$user->last = \Input::get('last');
$user->email = \Input::get('email');
$user->location = \Input::get('location');
$user->bio = \Input::get('bio');
$user->skills = $skills;
if (\Input::hasFile('photo')) {
$photo = \Input::file('photo');
$filename = uniqid('profile_').'.'.$photo->getClientOriginalExtension();
$photo->move(public_path('images/users'), $filename);
$user->photo = 'images/users/'.$filename;
}
$role = UserXrefRole::create(array(
'user_id' => $user_id,
'role_id' => $group_id
));
$role->save();
if ($user->save())
{
return Redirect::route('users', array('user_id' => $user_id));
}else
{
\Redirect::back('complete', array($user_id, $group_id ));
}
}
public function showProfile($id)
{
$user = User::find($id);
return View::make('users.profile')->with('user', $user);
}
}
app/database/migrations/2014_06_28_024032_alter_user_table_add_columns.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AlterUserTableAddColumns extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('users', function(Blueprint $table)
{
$table->text('bio')->nullable()->after('email');
$table->string('location', 32)->nullable()->after('bio');
$table->string('photo', 100)->after('bio')->nullable();
$table->text('skills')->after('photo')->nullable();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('users', function(Blueprint $table)
{
$table->dropColumn('bio');
$table->dropColumn('location');
$table->dropColumn('photo');
});
}
}
app/models/User.php
1212
1313
1414
15
15
16
1617
1718
1819
* @var string
*/
protected $table = 'users';
protected $fillable = array('first', 'last', 'email', 'password');
protected $fillable = array(
'first', 'last', 'email', 'password', 'location', 'skills', 'photo', 'bio');
/**
* The attributes excluded from the model's JSON form.
app/routes.php
2626
2727
2828
29
30
31
2932
3033
3134
Route::post('users/store', array('uses' => 'UserController@store'));
Route::get('users/group/{user_id}', array('as' => 'group', 'uses' => 'UserController@chooseGroup'));
Route::get('users/group/{user_id}/{group_id}', array('as' => 'complete', 'uses' => 'UserController@completeRegistration'));
Route::post('users/group/complete', array('uses' => 'UserController@saveProfile'));
Route::get('users/{id}', array('as' => 'users', 'uses' => 'UserController@showProfile'));
Route::get('users', array('as' => 'users', 'uses' => 'UserController@index'));
/**
* User Password Reminder Controller routes
app/views/users/choice.blade.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Mentconnect Inc - Profile</title>
<script type="text/javascript" src="//maxcdn.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
{{HTML::style('css/mentconnect.css')}}
</head>
<body>
<header id="cta" class="background-showcase">
<div id="nv" class="navbar">
<div class="container">
<a class="navbar-brand" href="/">
<div class="asset logo-white-header">
{{ HTML::image("images/mentconnect.png", "editor", array("width" => "130px", "height" => "44px")) }}
</div>
</a>
<ul class=" nav navbar-nav pull-right">
<li class>
{{HTML::link('partners', 'Partners') }}
</li>
<li class>
{{HTML::link('blog', 'Blog') }}
</li>
<li class="button">
{{HTML::link('login', 'Sign In') }}
</li>
</ul>
</div>
</div>
</header>
<div id="signup-content">
{{ Form::open(array('url' => 'users/store', 'class' => 'form-horizontal')) }}
<div class="container padded">
<div class="container">
<legend><h2>Complete Your Registration</h2></legend>
</div>
<div class="row">
<div class="col-lg-8">
<div class="form-group">
<label for="firstname">First Name</label>
{{Form::text('firstname', \Input::old('firstname'), array('class' => 'form-control form-control-bordered', 'tabindex' => '1'))}} <span class="pull-right">{{$errors->first('firstname')}}</span>
</div>
<div class="form-group">
<label for="lastname">Last Name</label>
{{ Form::text('lastname', \Input::old('lastname'), array('class' => 'form-control form-control-bordered', 'tabindex' => '2')) }} <span class="pull-right"> {{$errors->first('lastname')}}</span>
</div>
<div class="form-group">
<label for="email">Email</label>
{{ Form::email('email', \Input::old('email'), array('class' => 'form-control form-control-bordered',
'tabindex' => '3')) }}<span class="pull-right"> {{$errors->first('email') }}</span>
</div>
<div class="form-group">
<label for="title">Title</label>
{{ Form::text('title', \Input::old('title'), array('class' => 'form-control form-control-bordered',
'tabindex' => '4')) }}<span class="pull-right"> {{$errors->first('email') }}</span>
</div>
<div class="form-group">
<label for="email">Location</label>
{{ Form::text('location', \Input::old('location'), array('class' => 'form-control form-control-bordered',
'tabindex' => '5')) }}<span class="pull-right"> {{$errors->first('location') }}</span>
</div>
<div class="row" id="signup-bottom-row">
<div class="col-lg-3">
{{Form::submit('Complete!', array('class' => 'btn btn-success btn-large submit-button'))}}
<br /><br />
</div>
</div>
</div>
<div class="col-lg-4">
</div>
</div>
</div>
{{ Form::close() }}
</div>
<div class="container padded"></div>
<div class="container"></div>
<div id="sub-footer">
<div class="container">
<div class="row">
<div class="col-lg-4">
<p id="copyright-section">
Copyright &copy; 2014. Mentconnect Inc. All Rights Reserved.
</p>
</div>
<div class="col-lg-4">
</div>
<div class="col-lg-4">
<p id="love">
Built With Laravel + Bootstrap Frameworks by Elisha Chirchir.
</p>
</div>
</div>
</div>
</div>
</body>
</html>
app/views/users/complete.blade.php
22
33
44
5
5
66
77
88
......
3131
3232
3333
34
35
34
35
3636
3737
3838
3939
4040
4141
42
43
44
45
46
47
42
43
44
45
4846
4947
5048
51
52
49
50
5351
5452
5553
56
57
58
54
55
56
5957
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
6095
96
97
6198
62
63
64
65
99
100
101
102
103
66104
105
67106
107
108
109
110
111
112
68113
69114
70
71
72
115
116
73117
118
74119
75
76
77
78
79
80
81
82
83
84
85120
121
122
123
124
125
126
127
128
86129
87130
88131
89132
90133
91
92
134
135
93136
94137
95138
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Mentconnect Inc - Profile</title>
<title>Mentconnect Inc</title>
<script type="text/javascript" src="//maxcdn.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
{{HTML::style('css/mentconnect.css')}}
</head>
</header>
<div id="signup-content">
{{ Form::open(array('url' => 'users/store', 'class' => 'form-horizontal')) }}
{{ Form::open(array('url' => 'users/group/complete', 'files' => true, 'class' => 'form-horizontal')) }}
<div class="container padded">
<div class="container">
<legend><h2>Complete Your Registration</h2></legend>
</div>
<div class="row">
<div class="col-lg-8">
<div class="form-group">
<label for="firstname">First Name</label>
{{Form::text('firstname', \Input::old('firstname'), array('class' => 'form-control form-control-bordered', 'tabindex' => '1'))}} <span class="pull-right">{{$errors->first('firstname')}}</span>
<div class="col-lg-5 col-lg-offset-1">
<div class="form-group">
<label for="first">First Name</label>
{{Form::text('first', $user->first, array('class' => 'form-control form-control-bordered', 'tabindex' => '1'))}} <span class="pull-right">{{$errors->first('first')}}</span>
</div>
<div class="form-group">
<label for="lastname">Last Name</label>
{{ Form::text('lastname', \Input::old('lastname'), array('class' => 'form-control form-control-bordered', 'tabindex' => '2')) }} <span class="pull-right"> {{$errors->first('lastname')}}</span>
<label for="last">Email</label>
{{ Form::text('email', $user->email, array('class' => 'form-control form-control-bordered', 'tabindex' => '2')) }} <span class="pull-right"> {{$errors->first('email')}}</span>
</div>
<div class="form-group">
<label for="email">Email</label>
{{ Form::email('email', \Input::old('email'), array('class' => 'form-control form-control-bordered',
'tabindex' => '3')) }}<span class="pull-right"> {{$errors->first('email') }}</span>
<label for="location">Location</label>
{{ Form::text('location', $user->location, array('class' => 'form-control form-control-bordered',
'tabindex' => '3')) }}<span class="pull-right"> {{$errors->first('location') }}</span>
</div>
{{Form::hidden('user_id', $user->id) }}
{{Form::hidden('group_id', $group_id) }}
<div class="form-group">
<label class="checkbox-inline">
{{ Form::checkbox('java', 'Java') }} Java
</label>
<label class="checkbox-inline">
{{ Form::checkbox('php', 'PHP') }} PHP
</label>
<label class="checkbox-inline">
{{ Form::checkbox('python', 'Python') }} Python
</label>
<label class="checkbox-inline">
{{ Form::checkbox('cplus', 'Cplus') }} C/C++
</label>
<label class="checkbox-inline">
{{ Form::checkbox('objc', 'Objc') }} Objective C
</label>
<label class="checkbox-inline">
{{ Form::checkbox('htmljscss', 'Html') }} HTML/jS/CSS
</label>
<label class="checkbox-inline">
{{ Form::checkbox('android', 'Android') }} Android
</label>
<label class="checkbox-inline">
{{ Form::checkbox('ux', 'UXDesign') }} UX Design
</label>
<label class="checkbox-inline">
{{ Form::checkbox('webapps', 'Webapps') }} Web Apps
</label>
<label class="checkbox-inline">
{{ Form::checkbox('ruby', 'Ruby') }} Ruby
</label>
<label class="checkbox-inline">
{{ Form::checkbox('people', 'People') }} People Skills
</label>
</div>
<div class="form-group">
<label for="title">Title</label>
{{ Form::text('title', \Input::old('title'), array('class' => 'form-control form-control-bordered',
'tabindex' => '4')) }}<span class="pull-right"> {{$errors->first('email') }}</span>
<label for="photo">Profile Photo</label>
{{ Form::file('photo', array('class' => 'form-control',
'tabindex' => '3')) }}<span class="pull-right"> {{$errors->first('photo') }}</span>
<p class="help-block">Allowed Size = 200 x 200</p>
</div>
</div>
<div class="col-lg-5 col-lg-offset-1">
<div class="form-group">
<label for="first">Last Name</label>
{{Form::text('last', $user->last, array('class' => 'form-control form-control-bordered', 'tabindex' => '1'))}} <span class="pull-right">{{$errors->first('last')}}</span>
</div>
<div class="form-group">
<label for="email">Location</label>
{{ Form::text('location', \Input::old('location'), array('class' => 'form-control form-control-bordered',
'tabindex' => '5')) }}<span class="pull-right"> {{$errors->first('location') }}</span>
<label for="last">Bio</label>
{{ Form::textarea('bio', $user->bio, array('class' => 'form-control form-control-bordered', 'tabindex' => '2')) }} <span class="pull-right"> {{$errors->first('bio')}}</span>
</div>
<div class="row" id="signup-bottom-row">
<div class="col-lg-3">
{{Form::submit('Complete!', array('class' => 'btn btn-success btn-large submit-button'))}}
<br /><br />
</div>
</div>
</div>
<div class="col-lg-4">
</div>
</div>
<div class="row">
<div class="row" id="signup-bottom-row">
<div class="col-lg-3 col-lg-offset-1">
{{Form::submit('Complete Profile!', array('class' => 'btn btn-success btn-large submit-button'))}}
<br /><br />
</div>
</div>
</div>
</div>
{{ Form::close() }}
</div>
<div class="container padded"></div>
<div class="container"></div>
<br /> <br />
<!-- <div class="container padded"></div> -->
<div id="sub-footer">
<div class="container">
app/views/users/profile.blade.php
1
1
2
23
34
4
5
6
7
5
6
7
8
9
10
11
12
813
914
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
15
16
17
18
19
20
21
22
23
24
25
26
27
3528
36
37
38
39
40
41
42
43
44
45
46
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
4745
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
6546
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
82123
83
84
85
86
87
88
89
90
91
92
93
124
125
126
127
128
94129
95
96
97
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
98162
99
100
101
102
103
104
105
106
163
164
165
166
167
168
169
170
107171
108
172
<!doctype html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Mentconnect Inc</title>
<script type="text/javascript" src="//maxcdn.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
{{HTML::style('css/mentconnect.css')}}
<meta charset="utf-8">
<!-- This file has been downloaded from Bootsnipp.com. Enjoy! -->
<title>User Profile - Mentconnect</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="http://netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css" rel="stylesheet">
{{HTML::style('css/userprofile.css')}}
<script src="http://code.jquery.com/jquery-1.10.2.min.js"></script>
<script src="http://netdna.bootstrapcdn.com/bootstrap/3.1.0/js/bootstrap.min.js"></script>
</head>
<body>
<header id="cta" class="background-showcase">
<div id="nv" class="navbar">
<div class="container">
<a class="navbar-brand" href="/">
<div class="asset logo-white-header">
{{ HTML::image("images/mentconnect.png", "editor", array("width" => "130px", "height" => "44px")) }}
</div>
</a>
<ul class=" nav navbar-nav pull-right">
<li class>
{{HTML::link('partners', 'Partners') }}
</li>
<li class>
{{HTML::link('blog', 'Blog') }}
</li>
<li class="button">
{{HTML::link('login', 'Sign In') }}
</li>
</ul>
</div>
</div>
</header>
<div id="signup-content">
{{ Form::open(array('url' => 'users/store', 'class' => 'form-horizontal')) }}
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
<nav class="navbar navbar-inverse container" role="navigation">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">Mentconnect</a>
</div>
<div class="container padded">
<div class="container">
<legend><h2>Complete Your Registration</h2></legend>
</div>
<div class="row">
<div class="col-lg-3 col-lg-offset-1">
<h3>Be part of the change!</h3>
<p>Learn from experts who care to share. When you are ready, be free to give back by sharing your skills with others.</p>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Welcome... {{ $user->first }}<b class="caret"></b></a>
<ul class="dropdown-menu">
<li align="center" class="well">
{{HTML::image('/'.$user->photo, 'profile', array('class' => 'img-responsive'))}}<a class="change" href="">Change Picture</a></div>
</li>
</ul>
</li>
</ul>
</div><!-- /.navbar-collapse -->
</div><!-- /.container-fluid -->
</nav>
<div class="col-lg-8">
<div class="form-group">
<label for="first">First Name</label>
{{Form::text('first', $user->first, array('class' => 'form-control form-control-bordered', 'tabindex' => '1'))}} <span class="pull-right">{{$errors->first('first')}}</span>
</div>
<div class="form-group">
<label for="last">Last Name</label>
{{ Form::text('last', $user->last, array('class' => 'form-control form-control-bordered', 'tabindex' => '2')) }} <span class="pull-right"> {{$errors->first('last')}}</span>
</div>
<div class="form-group">
<label for="email">Email</label>
{{ Form::email('email', $user->email, array('class' => 'form-control form-control-bordered',
'tabindex' => '3')) }}<span class="pull-right"> {{$errors->first('email') }}</span>
</div>
<div class="row" id="signup-bottom-row">
<div class="col-lg-3">
{{Form::submit('Complete My Profile!', array('class' => 'btn btn-success btn-large submit-button'))}}
<br /><br />
</div>
<div class="col-lg-5">
By clicking "Sign Me Up" you agree to our
{{HTML::link('tos', 'Terms of Service') }} and {{HTML::link('privacy', 'Privacy Policy.')}}
</div>
</div>
</div>
</div>
</div>
{{ Form::close() }}
</div>
<div class="container">
<div class="row well">
<div class="col-md-2">
<ul class="nav nav-pills nav-stacked well">
<li class="active"><a href="#"><i class="fa fa-envelope"></i> Compose</a></li>
<li><a href="#"><i class="fa fa-home"></i> Home</a></li>
<li><a href="#"><i class="fa fa-user"></i> Profile</a></li>
<li><a href="#"><i class="fa fa-key"></i> Security</a></li>
<li><a href="#"><i class="fa fa-sign-out"></i> Logout</a></li>
</ul>
</div>
<div class="col-md-10">
<div class="panel">
@if(!empty($user->photo))
{{HTML::image('/'.$user->photo, 'profile', array('class' => 'pic img-circle'))}}
@endif
<div class="name"><small>Hello, {{$user->first }}</small></div>
<a href="#" class="btn btn-xs btn-primary pull-right" style="margin:10px;"><span class="glyphicon glyphicon-picture"></span> Change cover</a>
</div>
<br><br><br>
<ul class="nav nav-tabs" id="myTab">
<li class="active"><a href="#inbox" data-toggle="tab"><i class="fa fa-envelope-o"></i> Inbox</a></li>
<li><a href="#sent" data-toggle="tab"><i class="fa fa-reply-all"></i> Sent</a></li>
<li><a href="#assignment" data-toggle="tab"><i class="fa fa-file-text-o"></i> Assignment</a></li>
<li><a href="#event" data-toggle="tab"><i class="fa fa-clock-o"></i> Mentor(s)</a></li>
</ul>
<div class="tab-content">
<div class="tab-pane active" id="inbox">
<a type="button" data-toggle="collapse" data-target="#a1">
<div class="btn-toolbar well well-sm" role="toolbar" style="margin:0px;">
<div class="btn-group"><input type="checkbox"></div>
<div class="btn-group col-md-3">{{$user->first}} {{ $user->last }}</div>
<div class="btn-group col-md-8"><b>Hi Check this new Bootstrap plugin</b> <div class="pull-right"><i class="glyphicon glyphicon-time"></i> 12:10 PM <button class="btn btn-primary btn-xs" data-toggle="modal" data-target=".bs-example-modal-lg"><i class="fa fa-share-square-o"> Reply</i></button></div> </div>
</div>
</a>
<div id="a1" class="collapse out well">This is the message body1</div>
<br>
<button class="btn btn-primary btn-xs"><i class="fa fa-check-square-o"></i> Delete Checked Item's</button>
</div>
<div class="tab-pane" id="sent">
<a type="button" data-toggle="collapse" data-target="#s1">
<div class="btn-toolbar well well-sm" role="toolbar" style="margin:0px;">
<div class="btn-group"><input type="checkbox"></div>
<div class="btn-group col-md-3">Kumar</div>
<div class="btn-group col-md-8"><b>This is reply from Bootstrap plugin</b> <div class="pull-right"><i class="glyphicon glyphicon-time"></i> 12:30 AM</div> </div>
</div>
</a>
<div id="s1" class="collapse out well">This is the message body1</div>
<br>
<button class="btn btn-primary btn-xs"><i class="fa fa-check-square-o"></i> Delete Checked Item's</button>
</div>
<div class="tab-pane" id="assignment">
<a href=""><div class="well well-sm" style="margin:0px;">Open GL Assignments <span class="pull-right"><i class="glyphicon glyphicon-time"></i> 12:20 AM 20 Dec 2014 </span></div></a>
</div>
<div class="tab-pane" id="event">
<div class="media">
<a class="pull-left" href="#">
<img class="media-object img-thumbnail" width="100" src="http://cfi-sinergia.epfl.ch/files/content/sites/cfi-sinergia/files/WORKSHOPS/Workshop1.jpg" alt="...">
</a>
<div class="media-body">
<h4 class="media-heading">Animation Workshop</h4>
2Days animation workshop to be conducted
</div>
</div>
</div>
</div>
<div class="container padded"></div>
<div class="container"></div>
<div id="sub-footer">
<div class="container">
<div class="row">
<div class="col-lg-4">
<p id="copyright-section">
Copyright &copy; 2014. Mentconnect Inc. All Rights Reserved.
</p>
</div>
</div>
</div>
</div>
<div class="col-lg-4">
</div>
<div class="modal fade bs-example-modal-lg" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true">
<div class="modal-dialog modal-lg">
<div class="modal-content"><br/><br/>
<form class="form-horizontal">
<fieldset>
<!-- Text input-->
<div class="form-group">
<label class="col-md-2 control-label" for="body">Body :</label>
<div class="col-md-8">
<input id="body" name="body" type="text" placeholder="Message Body" class="form-control input-md">
</div>
</div>
<!-- Textarea -->
<div class="form-group">
<label class="col-md-2 control-label" for="message">Message :</label>
<div class="col-md-8">
<textarea class="form-control" id="message" name="message"></textarea>
</div>
</div>
<!-- Button -->
<div class="form-group">
<label class="col-md-2 control-label" for="send"></label>
<div class="col-md-8">
<button id="send" name="send" class="btn btn-primary">Send</button>
</div>
</div>
</fieldset>
</form>
<div class="col-lg-4">
<p id="love">
Built With Laravel + Bootstrap Frameworks by Elisha Chirchir.
</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div><script type="text/javascript">
$(function () {
$('#myTab a:last').tab('show')
})
</script>
</body>
</html>
</html>
public/css/userprofile.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
.navbar{
width: 100%;
}
.container{
width:100%;
}
.pic
{
margin-top:50px;
width:120px;
margin-left:50px;
margin-bottom:-60px;
}
.panel
{
background-image:url("http://autoimagesize.com/wp-content/uploads/2014/01/rainbow-aurora-background-wallpaper-colour-images-rainbow-background.jpg");
}
.name
{
position:absolute;
padding-left:200px;
font-size:30px;
}
.dropdown
{
position:absolute;
}
.change
{
position:relative;
bottom:20px;
padding:1px;
color:white;
text-decoration:none;
}
.change:hover
{
text-decoration:none;
background-color:black;
color:white;
}
public/js/userprofile.js
1
2
3
$(function () {
$('#myTab a:last').tab('show');
});
vendor/autoload.php
44
55
66
7
7
require_once __DIR__ . '/composer' . '/autoload_real.php';
return ComposerAutoloaderInit58ede9d7d52a7453cb838add7f15cf28::getLoader();
return ComposerAutoloaderInit26a4f56b6ff7cf8a0ccdad2c8bd1b12a::getLoader();
vendor/composer/autoload_classmap.php
66
77
88
9
910
1011
1112
$baseDir = dirname($vendorDir);
return array(
'AlterUserTableAddColumns' => $baseDir . '/app/database/migrations/2014_06_28_024032_alter_user_table_add_columns.php',
'BaseController' => $baseDir . '/app/controllers/BaseController.php',
'Boris\\Boris' => $vendorDir . '/d11wtq/boris/lib/Boris/Boris.php',
'Boris\\CLIOptionsHandler' => $vendorDir . '/d11wtq/boris/lib/Boris/CLIOptionsHandler.php',
vendor/composer/autoload_real.php
22
33
44
5
5
66
77
88
......
1919
2020
2121
22
22
2323
24
24
2525
2626
2727
......
4949
5050
5151
52
52
5353
5454
5555
5656
5757
5858
59
59
6060
6161
6262
// autoload_real.php @generated by Composer
class ComposerAutoloaderInit58ede9d7d52a7453cb838add7f15cf28
class ComposerAutoloaderInit26a4f56b6ff7cf8a0ccdad2c8bd1b12a
{
private static $loader;
return self::$loader;
}
spl_autoload_register(array('ComposerAutoloaderInit58ede9d7d52a7453cb838add7f15cf28', 'loadClassLoader'), true, true);
spl_autoload_register(array('ComposerAutoloaderInit26a4f56b6ff7cf8a0ccdad2c8bd1b12a', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
spl_autoload_unregister(array('ComposerAutoloaderInit58ede9d7d52a7453cb838add7f15cf28', 'loadClassLoader'));
spl_autoload_unregister(array('ComposerAutoloaderInit26a4f56b6ff7cf8a0ccdad2c8bd1b12a', 'loadClassLoader'));
$vendorDir = dirname(__DIR__);
$baseDir = dirname($vendorDir);
$includeFiles = require __DIR__ . '/autoload_files.php';
foreach ($includeFiles as $file) {
composerRequire58ede9d7d52a7453cb838add7f15cf28($file);
composerRequire26a4f56b6ff7cf8a0ccdad2c8bd1b12a($file);
}
return $loader;
}
}
function composerRequire58ede9d7d52a7453cb838add7f15cf28($file)
function composerRequire26a4f56b6ff7cf8a0ccdad2c8bd1b12a($file)
{
require $file;
}

Archive Download the corresponding diff file

Branches

Number of commits:
Page rendered in 0.19427s using 13 queries.