<%doc> USAGE DOCUMENTATION :: PLEASE LEAVE THIS AT THE TOP OF THIS FILE For Mako templating syntax documentation please visit: http://docs.makotemplates.org/en/latest/ Filename: user.html Version: 0.1 Variable names: data [list] data :: Usable parameters user_id Returns the user id of the user. username Returns the user's username. friendly_name Returns the friendly name of the user. email Returns the user's email address. user_thumb Returns the thumbnail for the user. is_home_user Returns bool value for whether the user is part of a Plex Home. is_allow_sync Returns bool value for whether the user has sync rights. is_restricted Returns bool value for whether the user account is restricted. do_notify Returns bool value for whether to send notifications for the user. keep_history Returns bool value for whether to keep history for the user. DOCUMENTATION :: END <%inherit file="base.html"/> <%! from plexpy import helpers %> <%def name="headIncludes()"> <%def name="body()"> % if data:
${data['friendly_name']} % if _session['user_group'] == 'admin': % endif
Global Stats
Loading data...
Player Stats
Loading data...
Recently Played
Loading data...
IP Addresses for ${data['friendly_name']}

Last Seen | IP Address | Last Platform | Last Player | Last Played | Play Count
--- | --- | --- | --- | --- | ---

Watch History for ${data['friendly_name']}
% if _session['user_group'] == 'admin':
Select rows to delete. Data is deleted upon exiting delete mode.
% endif
All Movies TV Shows Music

Delete | Time | User | IP Address | Platform | Player | Title | Started | Paused | Stopped | Duration |
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---

Synced Items for ${data['friendly_name']}

State | Username | Title | Type | Platform | Device | Total Size | Total Items | Converted | Downloaded | Complete
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---

#### Confirm Delete

Are you REALLY sure you want to delete history item(s)?

This is permanent and cannot be undone!

% else:
Error retrieving user information. Please see the logs for more details.
% endif <%def name="javascriptIncludes()">
% if data:
% endif