Update profile modal: username text + publish checkbox + editable fields
This commit is contained in:
+48
-12
@@ -175,25 +175,61 @@
|
||||
<span class="close-btn" onclick="closeProfileModal()">×</span>
|
||||
<h3 class="hide-de">Profil bearbeiten</h3>
|
||||
<h3 class="hide-en">Edit Profile</h3>
|
||||
<form id="profile-form">
|
||||
<div class="profile-form">
|
||||
<div class="form-group">
|
||||
<label for="profile-username" class="hide-de">Telegram Nutzername</label>
|
||||
<label for="profile-username" class="hide-en">Telegram Username</label>
|
||||
<input type="text" id="profile-username" disabled />
|
||||
<label class="hide-de">Telegram Nutzername</label>
|
||||
<label class="hide-en">Telegram Username</label>
|
||||
<div class="username-display" id="profile-username-display">odoo4projects</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="profile-name" class="hide-de">Vollständiger Name</label>
|
||||
<label for="profile-name" class="hide-en">Full name</label>
|
||||
<input type="text" id="profile-name" required />
|
||||
<label class="hide-de">Veröffentlichen</label>
|
||||
<label class="hide-en">Publish</label>
|
||||
<div style="display: flex; align-items: center; gap: 8px;">
|
||||
<input type="checkbox" id="profile-publish" />
|
||||
<span class="hide-de">Folgendes veröffentlichen:</span>
|
||||
<span class="hide-en">Publish the following:</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="profile-llc" class="hide-de">Name der LLC / SRL</label>
|
||||
<label for="profile-llc" class="hide-en">LLC / SRL name</label>
|
||||
<input type="text" id="profile-llc" required />
|
||||
<div id="profile-edit-fields" class="hidden">
|
||||
<div class="form-group">
|
||||
<label for="profile-name" class="hide-de">Vollständiger Name</label>
|
||||
<label for="profile-name" class="hide-en">Full name</label>
|
||||
<input type="text" id="profile-name" />
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="profile-company" class="hide-de">Name der LLC / SRL</label>
|
||||
<label for="profile-company" class="hide-en">LLC / SRL name</label>
|
||||
<input type="text" id="profile-company" />
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="profile-email" class="hide-de">E-Mail</label>
|
||||
<label for="profile-email" class="hide-en">Email</label>
|
||||
<input type="email" id="profile-email" />
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="profile-homepage" class="hide-de">Homepage</label>
|
||||
<label for="profile-homepage" class="hide-en">Homepage</label>
|
||||
<input type="url" id="profile-homepage" />
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="profile-image" class="hide-de">Bild URL</label>
|
||||
<label for="profile-image" class="hide-en">Image URL</label>
|
||||
<input type="text" id="profile-image" />
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="profile-location" class="hide-de">Standort</label>
|
||||
<label for="profile-location" class="hide-en">Location</label>
|
||||
<input type="text" id="profile-location" />
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="profile-description" class="hide-de">Beschreibung</label>
|
||||
<label for="profile-description" class="hide-en">Description</label>
|
||||
<textarea id="profile-description" rows="4"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
<button type="button" class="btn-primary hide-de" onclick="saveProfile()">Speichern</button>
|
||||
<button type="button" class="btn-primary hide-en" onclick="saveProfile()">Save</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user