summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorAndreas Demmelbauer <git@notice.at>2019-04-07 16:06:34 -0700
committerAndreas Demmelbauer <git@notice.at>2019-04-07 16:06:34 -0700
commitfba25bab14f4474c1fa65c6c8996a5aa1c483ac1 (patch)
treef226fa2f2864ee068a459afa505775bb7976d4e3 /templates
parenta9e572060bd18173280fbe4dd0aa56aae19c6027 (diff)
UI: Make BasicAuth Credentials less important in subscribtion form
Diffstat (limited to 'templates')
-rw-r--r--templates/part.navigation.addfeed.php14
1 files changed, 9 insertions, 5 deletions
diff --git a/templates/part.navigation.addfeed.php b/templates/part.navigation.addfeed.php
index c74ecb43c..595b1a1b4 100644
--- a/templates/part.navigation.addfeed.php
+++ b/templates/part.navigation.addfeed.php
@@ -76,11 +76,15 @@
</p>
<!-- basic auth -->
- <button type="button" class="add-feed-advanced" ng-click="Navigation.showAddFeedAdvanced=!Navigation.showAddFeedAdvanced">
- <?php p($l->t('Advanced settings')); ?>
- </button>
- <div ng-if="Navigation.showAddFeedAdvanced" class="add-feed-advanced-area">
- <h2><?php p($l->t('Credentials')); ?></h2>
+ <div class="add-new-basicauth-toggle">
+ <input type="checkbox"
+ class="checkbox"
+ ng-model="Navigation.addFeedBasicauth"
+ id="add-feed-basicauth">
+ <label for="add-feed-basicauth"><?php p($l->t('Credentials')); ?></label>
+ </div>
+
+ <div ng-show="Navigation.addFeedBasicauth" class="add-feed-basicauth">
<p class="warning"><?php p($l->t('HTTP Basic Auth credentials must be stored unencrypted! Everyone with access to the server or database will be able to access them!')); ?></p>
<input type="text"
ng-model="Navigation.feed.user"