Advertisement
rozman50

Untitled

Jun 3rd, 2018
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.97 KB | None | 0 0
  1. @extends('layout.app')
  2. {{ $article }}
  3. @section('content')
  4. <row>
  5. <img src="{{asset('img/profile_pictures/' . $user->id . '.jpg')}}" width="200px" height="200px" class="img-thumbnail">
  6. <h3>{{ $user->username }}</h3>
  7. </row>
  8.  
  9. <div class="card">
  10. <div class="card-header">
  11. Podatki uporabnika
  12. </div>
  13. <div class="card-body">
  14. <p class="card-text"><b>Email:</b> {{ $user->email }}</p>
  15. <p class="card-text"><b>Spletna stran: </b> {{ $user->website }}</p>
  16. <p class="card-text"><b>GSM: </b> {{ $user->gsm }}</p>
  17. <p class="card-text"><b>Telefonska številka: </b> {{ $user->phone }}</p>
  18. </div>
  19. </div>
  20. <br>
  21. <div class="card">
  22. <div class="card-header">
  23. Bivališče
  24. </div>
  25. <div class="card-body">
  26. <p class="card-text"><b>Naslov:</b> {{ $user->address }}</p>
  27. <p class="card-text"><b>Poštna številka: </b> {{ $user->zip }}</p>
  28. <p class="card-text"><b>Pošta: </b> {{ $user->postname }}</p>
  29. </div>
  30. </div>
  31. <br>
  32. <div class="card">
  33. <div class="card-header">
  34. Statistika
  35. </div>
  36. <div class="card-body">
  37. <p class="card-text"><b>Prva prijava:</b> {{ $user->created_at }}</p>
  38. <p class="card-text"><b>Vsi prispevki: </b> {{ $user->zip }}</p>
  39. <p class="card-text"><b>Pošta: </b> {{ $user->postname }}</p>
  40. </div>
  41. </div>
  42.  
  43. {{-- {!! Form::model($user, ['action' => 'PagesController@user', 'method' => 'post']) !!}
  44.  
  45. <div class="form-group">
  46. {!! Form::label('username', 'Uporabniško ime', ['class' => 'col-sm-2 control-label'])!!}
  47. <div class="col-sm-10">
  48. {!! Form::text('username', null, ['class' => 'form-control']) !!}
  49. </div>
  50. </div>
  51.  
  52. <div class="form-group">
  53. {!! Form::label('email', 'E-pošta', ['class' => 'col-sm-2 control-label'])!!}
  54. <div class="col-sm-10">
  55. {!! Form::email('email', null, ['class' => 'form-control']) !!}
  56. </div>
  57. </div>
  58.  
  59. <div class="form-group">
  60. {!! Form::label('name', 'Ime', ['class' => 'col-sm-2 control-label'])!!}
  61. <div class="col-sm-10">
  62. {!! Form::text('name', null, ['class' => 'form-control']) !!}
  63. </div>
  64. </div>
  65.  
  66. <div class="form-group">
  67. {!! Form::label('surname', 'Priimek', ['class' => 'col-sm-2 control-label'])!!}
  68. <div class="col-sm-10">
  69. {!! Form::text('surname', null, ['class' => 'form-control']) !!}
  70. </div>
  71. </div>
  72.  
  73. <div class="form-group">
  74. {!! Form::label('address', 'Naslov', ['class' => 'col-sm-2 control-label'])!!}
  75. <div class="col-sm-10">
  76. {!! Form::text('address', null, ['class' => 'form-control']) !!}
  77. </div>
  78. </div>
  79.  
  80. <div class="form-group">
  81. {!! Form::label('zip', 'Poštna številka', ['class' => 'col-sm-2 control-label'])!!}
  82. <div class="col-sm-10">
  83. {!! Form::text('zip', null, ['class' => 'form-control']) !!}
  84. </div>
  85. </div>
  86.  
  87. <div class="form-group">
  88. {!! Form::label('post', 'Pošta', ['class' => 'col-sm-2 control-label'])!!}
  89. <div class="col-sm-10">
  90. {!! Form::text('post', null, ['class' => 'form-control']) !!}
  91. </div>
  92. </div>
  93.  
  94. <div class="form-group">
  95. {!! Form::label('website', 'Spletna stran', ['class' => 'col-sm-2 control-label'])!!}
  96. <div class="col-sm-10">
  97. {!! Form::text('website', null, ['class' => 'form-control']) !!}
  98. </div>
  99. </div>
  100.  
  101. <div class="form-group">
  102. {!! Form::label('phone', 'Telefonska številka', ['class' => 'col-sm-2 control-label'])!!}
  103. <div class="col-sm-10">
  104. {!! Form::text('phone', null, ['class' => 'form-control']) !!}
  105. </div>
  106. </div>
  107.  
  108. <div class="form-group">
  109. {!! Form::label('gsm', 'GSM številka', ['class' => 'col-sm-2 control-label'])!!}
  110. <div class="col-sm-10">
  111. {!! Form::text('gsm', null, ['class' => 'form-control']) !!}
  112. </div>
  113. </div>
  114.  
  115. <div class="form-group">
  116. <div class="col-sm-10">
  117. {!! Form::submit("Posodobi", ['class' => 'btn btn-primary btn-block']) !!}
  118. </div>
  119. </div>
  120. {!! Form::close() !!} --}}
  121. @endsection
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement