111 lines
4.4 KiB
HTML
111 lines
4.4 KiB
HTML
|
<!DOCTYPE html>
|
|||
|
<html xmlns="http://www.w3.org/1999/xhtml"
|
|||
|
xmlns:th="http://www.thymeleaf.org"
|
|||
|
layout:decorate="~{layouts/blank-layout}">
|
|||
|
<head>
|
|||
|
<title><th:block th:text="${pageTitle}" />User Profile</title>
|
|||
|
</head>
|
|||
|
<body layout:fragment="page_content" id="page_user_profile">
|
|||
|
<div class="row">
|
|||
|
<div class="col-md-10">
|
|||
|
<form id="UserProfileValidation" th:action="@{#{'/manageUsers/new'}}" th:object="${userProfile}"
|
|||
|
th:method="POST" autocomplete="off" enctype="multipart/form-data">
|
|||
|
<div class="card ">
|
|||
|
<div class="card-header card-header-rose card-header-icon">
|
|||
|
<div class="card-icon d-flex">
|
|||
|
<i class="material-icons pr-3">person_add_alt_1</i>
|
|||
|
<h4 class="card-title m-0" th:text="#{lbl.user.new}"></h4>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div class="card-body ">
|
|||
|
<!-- <div class="row">
|
|||
|
<div class="col-sm-12 col-md-12 col-lg-12">
|
|||
|
<div class="form-group">
|
|||
|
<label for="usernameId" class="required bmd-label-floating" th:text="#{lbl.uname}" />
|
|||
|
<input type="text" class="form-control" id="usernameId" required="required" />
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div> -->
|
|||
|
<div class="row">
|
|||
|
<div class="col-sm-12 col-md-6 col-lg-6">
|
|||
|
<div class="form-group">
|
|||
|
<label for="firstName" class="bmd-label-floating" th:text="#{lbl.fname}" />
|
|||
|
<input type="text" class="form-control" name="firstName" required="required" />
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div class="col-sm-12 col-md-6 col-lg-6">
|
|||
|
<div class="form-group">
|
|||
|
<label for="lastName" class="bmd-label-floating" th:text="#{lbl.lname}" />
|
|||
|
<input type="text" class="form-control" name="lastName" required="required" />
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div class="row">
|
|||
|
<div class="col-sm-12 col-md-6 col-lg-6">
|
|||
|
<div class="form-group">
|
|||
|
<label for="contactNo" class="bmd-label-floating" th:text="#{lbl.contact}" />
|
|||
|
<input type="text" class="form-control" name="contactNo" required="required" />
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div class="col-sm-12 col-md-6 col-lg-6">
|
|||
|
<div class="form-group">
|
|||
|
<label for="email" class="bmd-label-floating" th:text="#{lbl.email}" />
|
|||
|
<input type="email" class="form-control" name="email" required="required" />
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div class="row" sec:authorize="hasAnyAuthority('MC_ADMIN')">
|
|||
|
<div class="col-sm-12 col-md-6 col-lg-6">
|
|||
|
<div class="form-group">
|
|||
|
<label for="contactNo" class="bmd-label-floating" th:text="#{lbl.usr.grp}" />
|
|||
|
<select
|
|||
|
name="userRoleGroupCode" class="form-control"
|
|||
|
required="required">
|
|||
|
<option value="" />
|
|||
|
<option th:each="group : ${userRoleGroupList}" th:value="${group.userGroupCode}" th:text="${group.userGroupDesc}" />
|
|||
|
</select>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div class="category form-category">* Required fields</div>
|
|||
|
</div>
|
|||
|
<div class="card-footer text-right">
|
|||
|
<div class="form-check mr-auto">
|
|||
|
<strong>
|
|||
|
Password reset link will be generated and sent to the user.
|
|||
|
<br/>User will be forced to set the password on first sign in.
|
|||
|
</strong>
|
|||
|
</div>
|
|||
|
<button type="submit" class="btn waves-effect waves-light btn-primary" th:text="#{btn.lbl.create}"></button>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</form>
|
|||
|
</div>
|
|||
|
<!-- <div class="col-md-4">
|
|||
|
<div class="card card-profile">
|
|||
|
<div class="card-avatar">
|
|||
|
<a href="#pablo">
|
|||
|
<img class="img" th:src="@{/webjars/adminwrap/img/faces/marc.jpg}">
|
|||
|
<div class="picture-container">
|
|||
|
<div class="picture">
|
|||
|
<img th:src="@{/webjars/adminwrap/img/default-avatar.png}" class="picture-src" id="wizardPicturePreview" title="">
|
|||
|
<input type="file" id="wizard-picture">
|
|||
|
</div>
|
|||
|
<h6 class="description">Choose Picture</h6>
|
|||
|
</div>
|
|||
|
</a>
|
|||
|
</div>
|
|||
|
<div class="card-body">
|
|||
|
|
|||
|
<h6 class="card-category text-gray">CEO / Co-Founder</h6>
|
|||
|
<h4 class="card-title">Alec Thompson</h4>
|
|||
|
<p class="card-description">
|
|||
|
Don't be scared of the truth because we need to restart the human foundation in truth And I love you like Kanye loves Kanye I love Rick Owens’ bed design but the back is...
|
|||
|
</p>
|
|||
|
<a href="#pablo" class="btn btn-rose btn-round">Follow</a>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div> -->
|
|||
|
</div>
|
|||
|
</body>
|
|||
|
</html>
|