diff --git a/PlexPy.py b/PlexPy.py index 054198e4..3aa66109 100755 --- a/PlexPy.py +++ b/PlexPy.py @@ -246,6 +246,8 @@ def main(): plexpy.shutdown() elif plexpy.SIGNAL == 'restart': plexpy.shutdown(restart=True) + elif plexpy.SIGNAL == 'checkout': + plexpy.shutdown(restart=True, checkout=True) else: plexpy.shutdown(restart=True, update=True) diff --git a/data/interfaces/default/css/plexpy.css b/data/interfaces/default/css/plexpy.css index 956893d4..736cd592 100644 --- a/data/interfaces/default/css/plexpy.css +++ b/data/interfaces/default/css/plexpy.css @@ -60,6 +60,28 @@ select[multiple] option { -moz-border-radius: 2px; border-radius: 2px; } +select.form-control { + margin: 5px 0 5px 0; + color: #fff; + border: 0px solid #444; + background: #555; + height: 32px; + padding: 6px 12px; + background-color: #555; + border-radius: 3px; + transition: background-color .3s; +} +select.form-control:focus { + outline: 0; + outline: thin dotted \9; + color: #555; + background-color: #fff; + transition: background-color .3s; +} +select.form-control option { + color: #555; + background-color: #fff; +} img { -webkit-box-sizing: content-box; -moz-box-sizing: content-box; @@ -3118,3 +3140,9 @@ a:hover .overlay-refresh-image:hover { border: 1px solid #444; border-bottom-color: transparent; } +.git-group input.form-control { + width: 40%; +} +.git-group select.form-control { + width: 60%; +} \ No newline at end of file diff --git a/data/interfaces/default/settings.html b/data/interfaces/default/settings.html index 1b15dc46..3cd16ab8 100644 --- a/data/interfaces/default/settings.html +++ b/data/interfaces/default/settings.html @@ -82,7 +82,7 @@ -
If you have Git installed, allow periodic checks for updates.
+Check for PlexPy updates periodically.
Optional: Use your own GitHub API token when checking for updates.
The git tracking remote (default "origin") and branch (default "master"). Select to switch the git branch (requires restart).
+The path to your git environment variable. Leave blank for default.
+