<%inherit file="base.html"/> <%def name="headIncludes()"> <%def name="body()"> <% from plexpy import PLEX_SERVER_UP %>
% for section in config['home_sections']: % if section == 'current_activity':

### Activity Sessions: | Bandwidth:

% if PLEX_SERVER_UP:
Checking for activity...
% elif config['pms_is_cloud']:
Plex Cloud server is sleeping.
% elif not config['first_run_complete']:
The Tautulli setup wizard has not been completed. Please click here to go to the setup wizard.
% else:
Tautulli is connecting to the Plex server...
% endif
% elif section == 'watch_stats':

### Watch Statistics

Play Count Play Duration
Last days
Loading stats...
% elif section == 'library_stats':

### Library Statistics

${config['pms_name']}
Loading stats...
% elif section == 'recently_added':

### Recently Added

All Movies TV Shows Music Videos
items
% if PLEX_SERVER_UP:
Looking for new items...
% elif config['pms_is_cloud']:
Plex Cloud server is sleeping.
% else:
Tautulli is connecting to your Plex server...
% endif
% endif % endfor
<%def name="modalIncludes()"> % if _session['user_group'] == 'admin' and config['update_show_changelog']: <% from plexpy.common import RELEASE %>

#### Tautulli Updated to ${RELEASE}

% endif % if _session['user_group'] == 'admin':

#### Terminate Stream

Are you sure you want to terminate this stream?

Terminate Message

#### Raw Stream Info: ()

% endif
<%def name="javascriptIncludes()">
% if 'current_activity' in config['home_sections']:
% endif % if 'watch_stats' in config['home_sections'] or 'library_stats' in config['home_sections']:
% endif % if 'watch_stats' in config['home_sections']:
% endif % if 'library_stats' in config['home_sections']:
% endif % if 'recently_added' in config['home_sections']:
% endif % if _session['user_group'] == 'admin' and config['update_show_changelog']:
% endif