<% import plexpy from plexpy import version from plexpy.helpers import anon_url %>
${next.headIncludes()}
% if _session['user_group'] == 'admin': % if plexpy.CONFIG.CHECK_GITHUB and not plexpy.CURRENT_VERSION:
You're running an unknown version of PlexPy.
Update or Close
% elif plexpy.CONFIG.CHECK_GITHUB and plexpy.CURRENT_VERSION != plexpy.LATEST_VERSION and plexpy.COMMITS_BEHIND > 0 and plexpy.INSTALL_TYPE != 'win':
A newer version is available.
You're ${plexpy.COMMITS_BEHIND} commits behind.
Update or Close
% endif % endif

#### Confirm

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

#### Admin Login

Username
Password
% endif ${next.headerIncludes()}
${next.body()}
% if _session['user_group'] == 'admin' and plexpy.CONFIG.BROWSER_ENABLED:
% endif
${next.javascriptIncludes()}
<%def name="javascriptIncludes()"> <%def name="headIncludes()"> <%def name="headerIncludes()">