Private GIT
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Sick-Beard
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
vlbox
Sick-Beard
Commits
699a0d34
Commit
699a0d34
authored
13 years ago
by
Nic Wolfe
Browse files
Options
Downloads
Patches
Plain Diff
Hide the API key config when the api is disabled
parent
da29cc89
Loading
Loading
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
data/interfaces/default/config_general.tmpl
+4
-3
4 additions, 3 deletions
data/interfaces/default/config_general.tmpl
with
4 additions
and
3 deletions
data/interfaces/default/config_general.tmpl
+
4
−
3
View file @
699a0d34
...
@@ -130,18 +130,18 @@
...
@@ -130,18 +130,18 @@
<div class="component-group-desc">
<div class="component-group-desc">
<h3>API</h3>
<h3>API</h3>
<p>Allow 3rd party programs to interact with Sick-Beard.</p>
<p>Allow 3rd party programs to interact with Sick-Beard.</p>
<p>You may use the api-builder tool to test or help you develop at <a href="$sbRoot/api/builder">API-Builder</a>.</p>
</div>
</div>
<fieldset class="component-group-list">
<fieldset class="component-group-list">
<div class="field-pair">
<div class="field-pair">
<input type="checkbox" name="use_api" id="use_api" #if $sickbeard.USE_API then "checked=\"checked\"" else ""#/>
<input type="checkbox" name="use_api"
class="enabler"
id="use_api" #if $sickbeard.USE_API then "checked=\"checked\"" else ""#/>
<label class="clearfix" for="use_api">
<label class="clearfix" for="use_api">
<span class="component-title">Enable API</span>
<span class="component-title">Enable API</span>
<span class="component-desc">Allow the use of the Sick-Beard API.</span>
<span class="component-desc">Allow the use of the Sick-Beard API.</span>
</label>
</label>
</div>
</div>
<div id="content_use_api">
<div class="field-pair">
<div class="field-pair">
<label class="nocheck clearfix" for="api_key">
<label class="nocheck clearfix" for="api_key">
<span class="component-title">API Key</span>
<span class="component-title">API Key</span>
...
@@ -150,9 +150,10 @@
...
@@ -150,9 +150,10 @@
</label>
</label>
<label class="nocheck clearfix">
<label class="nocheck clearfix">
<span class="component-title"> </span>
<span class="component-title"> </span>
<span class="component-desc">
This key will
give 3rd party programs limited access to Sick-Beard.</span>
<span class="component-desc">
Used to
give 3rd party programs limited access to Sick-Beard.</span>
</label>
</label>
</div>
</div>
</div>
<input type="submit" class="config_submitter" value="Save Changes" />
<input type="submit" class="config_submitter" value="Save Changes" />
</fieldset>
</fieldset>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment