staffmanager/resources/views/dashboard/user/profile/userprofile.blade.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+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjUwMCIgaGVpZ2h0PSIzODQiIHZpZXdCb3g9IjAgMCAzNzggNTgiPjxwYXRoIGQ9Ik0wIDBoMTUuNjZDNy44MyAxLjA0LjgxIDcuMDkgMCAxNS4xOVYweiIgZmlsbD0iI2ZmZiIvPjxwYXRoIGQ9Ik0xNS42NiAwaDQyLjYxYy4wNSAxNCAuMTEgMjgtLjAxIDQyLS4wMjEgOC4wNC02LjcxIDE0LjgyLTE0LjQ4IDE2SDBWMTUuMTlDLjgxIDcuMDkgNy44MyAxLjA0IDE1LjY2IDB6IiBmaWxsPSIjZGIyMzMxIi8+PHBhdGggZD0iTTU4LjI3IDBoOTEuMDZjLTcuMzEgMS0xNC40MiA0LjM3LTE5LjIgMTAuMDktNi40MiA3LjM1LTguNzMgMTguMDMtNS43OCAyNy4zNCAzLjI1IDExLjA4IDEzLjUyIDE5LjQ0IDI0Ljk5IDIwLjU3SDQzLjc4YzcuNzcxLTEuMTggMTQuNDYtNy45NiAxNC40OC0xNiAuMTItMTQgLjA2LTI4IC4wMS00MnoiIGZpbGw9IiNmZmYiLz48cGF0aCBkPSJNMTQ5LjMzIDBoNS40M2M5LjU4Ljk4IDE4LjYyIDYuNjkgMjMuMTEgMTUuMyA1Ljc4IDEwLjMxIDQuMTUgMjQuMDMtMy43NCAzMi44MS00LjY2IDUuNTMxLTExLjUzIDguNzUtMTguNTkgOS44OTFoLTYuMmMtMTEuNDctMS4xMy0yMS43NC05LjQ5LTI0Ljk5LTIwLjU3LTIuOTUtOS4zMS0uNjQtMTkuOTkgNS43OC0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/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