Allows users to hide their check-ins from other users
This commit is contained in:
@@ -50,6 +50,21 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group" style="margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid var(--border);">
|
||||
<label class="toggle-label" for="is_private"
|
||||
style="display: flex; align-items: center; gap: 0.75rem; cursor: pointer;">
|
||||
<span class="toggle-switch">
|
||||
<input type="checkbox" id="is_private" name="is_private" {{ 'checked' if user.is_private }}>
|
||||
<span class="toggle-slider"></span>
|
||||
</span>
|
||||
<span>
|
||||
<span style="font-weight: 600; color: var(--text-primary);">🔒 Private Account</span>
|
||||
<span style="display: block; font-size: 0.8rem; color: var(--text-muted); margin-top: 0.15rem;">Only
|
||||
you can see your check-ins</span>
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<button type="submit" class="btn btn-primary" style="margin-top: 0.5rem;">Save Changes</button>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
@@ -61,6 +61,22 @@
|
||||
step="0.1">
|
||||
</div>
|
||||
|
||||
<div class="form-group" style="margin-top: 0.5rem;">
|
||||
<label class="toggle-label" for="is_private"
|
||||
style="display: flex; align-items: center; gap: 0.75rem; cursor: pointer;">
|
||||
<span class="toggle-switch">
|
||||
<input type="checkbox" id="is_private" name="is_private">
|
||||
<span class="toggle-slider"></span>
|
||||
</span>
|
||||
<span>
|
||||
<span style="font-weight: 600; color: var(--text-primary);">🔒 Private Account</span>
|
||||
<span
|
||||
style="display: block; font-size: 0.8rem; color: var(--text-muted); margin-top: 0.15rem;">Only
|
||||
you can see your check-ins</span>
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<button type="submit" class="btn btn-primary btn-block btn-lg" style="margin-top: 0.5rem;">Create
|
||||
Account</button>
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user