{{template "top" .}}
<style type="text/css">
    .line { width:100%; text-align:left; border-bottom: 1px solid #8f8f8f; line-height:0.1em; margin:10px 0 20px; color: #8f8f8f; }
    .line span { background:#fff; padding:0 10px; margin-left: 50px; }
</style>
<link rel="stylesheet" href="/public/croppie.css" />
<script src="/public/croppie.js"></script>
<div class="container" style="margin-top: 100px;">
<div class="row">
    <div class="col-md-3">
        <div class="list-group">
            <a href="#" class="list-group-item list-group-item-action active" aria-current="true">
                General
            </a>
            <!--<a href="#" class="list-group-item list-group-item-action" aria-current="true">
                Details
            </a>!-->
            <a href="#" class="list-group-item list-group-item-action" aria-current="true">
                Images
            </a>
            <!--<a href="#" class="list-group-item list-group-item-action">Sicherheit</a>
            <a class="list-group-item list-group-item-action disabled">A disabled link item</a>!-->
        </div>
    </div>
    <div class="col-md-9">
        <div class="row">
            <div class="col-md-2">
                <img src="http://localhost:2830/image?path=%2fgallery%2f1%2f2%2fmain%2f1642166578549090734-crop.png" style="max-width: 80%;" ></img>
            </div>
            <div class="col-md-10">
                <a href="/settings/profile/image">[Change Image]</a>
            </div>
        </div>
        </div>
        <div class="row" style="margin-top: 20px;">
            <div class="col-md-12">
                <div class="form-floating mb-3">
                    <input type="text" name="name" class="form-control" id="floatingInput" placeholder="Name" value="{{ if .user.Name}}{{ .user.Name }}{{ end }}">
                    <label for="floatingInput">Name</label>
                </div>
                <input type="submit" class="btn btn-success" value="Save" style="width: 100%;"></input>
            </div>
        </div>
    </div>
</div>
</div>
        {{template "bottom" .}}