195 lines
12 KiB
PHP
195 lines
12 KiB
PHP
|
@extends('adminlte::page')
|
||
|
|
||
|
@section('title', 'Raspberry Network | Profile')
|
||
|
|
||
|
@section('content_header')
|
||
|
|
||
|
<h4>My Profile / Settings</h4>
|
||
|
|
||
|
@stop
|
||
|
|
||
|
@section('css')
|
||
|
|
||
|
<link rel="stylesheet" href="/css/profile.css">
|
||
|
|
||
|
@stop
|
||
|
|
||
|
@section('content')
|
||
|
|
||
|
|
||
|
<div class="row">
|
||
|
|
||
|
<div class="col">
|
||
|
|
||
|
</div>
|
||
|
|
||
|
<div class="col">
|
||
|
|
||
|
<div class="card card-primary card-outline">
|
||
|
<div class="card-body box-profile">
|
||
|
<div class="text-center">
|
||
|
<img class="profile-user-img img-fluid img-circle" src="https://gravatar.com/avatar/{{md5(Auth::user()->email)}}" alt="User profile picture">
|
||
|
</div>
|
||
|
|
||
|
<h3 class="profile-username text-center">{{Auth::user()->name}}</h3>
|
||
|
|
||
|
<p class="text-muted text-center">[short bio]</p>
|
||
|
</div>
|
||
|
|
||
|
<div class="card-footer text-center">
|
||
|
|
||
|
<a href="#" class="pr-2 pl-2"><i class="fab fa-github fa-2x"></i></a>
|
||
|
<a href="#" class="pr-2 pl-2"><i class="fab fa-discord fa-2x"></i></a>
|
||
|
<a href="#" class="pr-2 pl-2"><i class="fab fa-twitter fa-2x"></i></a>
|
||
|
<a href="#" class="pr-2 pl-2"><i class="fab fa-instagram fa-2x"></i></a>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
<!-- /.card-body -->
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
|
||
|
<div class="col">
|
||
|
|
||
|
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
|
||
|
<form>
|
||
|
|
||
|
<div class="row mt-3">
|
||
|
|
||
|
<div class="col">
|
||
|
|
||
|
<div class="card">
|
||
|
|
||
|
<div class="card-header">
|
||
|
|
||
|
<div class="card-title"><h3>Basic Information</h3></div>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
<div class="card-body">
|
||
|
|
||
|
<div class="row">
|
||
|
|
||
|
<div class="col">
|
||
|
|
||
|
<label for="firstName">First Name</label>
|
||
|
<input type="text" class="form-control" name="firstName" id="firstName">
|
||
|
|
||
|
</div>
|
||
|
|
||
|
<div class="col">
|
||
|
|
||
|
<label for="lastName">Last Name</label>
|
||
|
<input type="text" class="form-control" name="lastName" id="lastName">
|
||
|
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
<div class="form-group mt-3">
|
||
|
|
||
|
<label for="shortBio">Short Bio</label>
|
||
|
<input type="text" name="shortBio" id="shortBio" class="form-control">
|
||
|
|
||
|
</div>
|
||
|
|
||
|
<div class="form-group mt-3">
|
||
|
|
||
|
<label for="aboutMe">About Me</label>
|
||
|
<textarea name="aboutMe" id="aboutMe" rows="8" class="form-control">
|
||
|
</textarea>
|
||
|
<p class="text-muted"><a href="https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet">Github-flavored Markdown</a> supported</p>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
<div class="col">
|
||
|
|
||
|
<div class="card">
|
||
|
|
||
|
<div class="card-header">
|
||
|
<div class="card-title"><h3>Preferences & Media</h3></div>
|
||
|
</div>
|
||
|
|
||
|
<div class="card-body">
|
||
|
|
||
|
<label>Retrieve avatar from: </label>
|
||
|
|
||
|
<div class="form-group mb-3">
|
||
|
|
||
|
<label>
|
||
|
<input type="radio" name="avatarPref" value="MOJANG" checked>
|
||
|
<img alt="Mojang Logo (Minecraft)" height="150px" width="150px" src="data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjUwMCIgaGVp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DQuMTYtMTAuODk5LjAyMS03LjU2MS4wOS0xNS4xMjEtLjA2LTIyLjY4MS02Ljk2MS4wNC0xMy45MS4wMi0yMC44Ni4wMlYxLjA2ek0yMzcuNzkgMS40NWMyLjEwMS0xLjM5IDUuMzctLjQyIDcuOTItLjU3IDcuNDQgMTguNzIgMTQuOTc5IDM3LjQxIDIyLjQ1IDU2LjEyLTMuNjMxLjEyLTcuMjcuMDktMTAuOS0uMDYxLTEuNjE5LTQuNTEtMy40Mi04Ljk0OS01LjA1LTEzLjQ1OS02Ljg3LS4wOS0xMy43MjktLjAyMS0yMC42MDEtLjA1MS0xLjkzIDQuNDUtMy4yMDkgOS4yNi01LjUxIDEzLjQ5LTMuNTQ5LjMxMS03LjExOS4xNDEtMTAuNjguMTNDMjIyLjkxIDM4LjUyOSAyMzAuMTUgMTkuOSAyMzcuNzkgMS40NXpNMjcxLjgxMS45NWMyLjYyOS4wMSA1LjI2LjA0IDcuODk5LjA5IDguMTQgMTEuNzMgMTYuMjI5IDIzLjUyIDI0LjYwMSAzNS4wOS4xMTktMTEuNjkuMDYtMjMuMzkuMDI5LTM1LjA5IDMuMzQtLjA3IDYuNjg5LS4xMSAxMC4wMy0uMDk
|
||
|
</label>
|
||
|
|
||
|
<label>
|
||
|
<input type="radio" name="avatarPref" value="GRAVATAR">
|
||
|
<img alt="Gravatar logo" src="/img/gravatar.png">
|
||
|
</label>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
<label>Social Media</label>
|
||
|
|
||
|
<div class="input-group mb-3">
|
||
|
<div class="input-group-prepend">
|
||
|
<span class="input-group-text"><i class="fab fa-github"></i></span>
|
||
|
</div>
|
||
|
<input name="social[]" type="text" class="form-control" placeholder="Github Username">
|
||
|
</div>
|
||
|
|
||
|
<div class="input-group mb-3">
|
||
|
<div class="input-group-prepend">
|
||
|
<span class="input-group-text"><i class="fab fa-discord"></i></span>
|
||
|
</div>
|
||
|
<input name="social[]" type="text" class="form-control" placeholder="Discord Handle">
|
||
|
</div>
|
||
|
|
||
|
<div class="input-group mb-3">
|
||
|
<div class="input-group-prepend">
|
||
|
<span class="input-group-text"><i class="fab fa-twitter"></i></span>
|
||
|
</div>
|
||
|
<input name="social[]" type="text" class="form-control" placeholder="Twitter Username">
|
||
|
</div>
|
||
|
|
||
|
<div class="input-group mb-3">
|
||
|
<div class="input-group-prepend">
|
||
|
<span class="input-group-text"><i class="fab fa-instagram"></i></span>
|
||
|
</div>
|
||
|
<input name="social[]" type="text" class="form-control" placeholder="Instagram Username">
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
<div class="row mt-3">
|
||
|
|
||
|
<div class="col text-center">
|
||
|
|
||
|
<button type="button" class="btn btn-success">Update Profile</button>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
</form>
|
||
|
|
||
|
@stop
|