Allow specify the robots.txt text in the configure dialog

This commit is contained in:
Johannes Zellner
2017-07-23 22:00:05 +02:00
parent 4045eb7a33
commit 4fec2fe124
2 changed files with 7 additions and 11 deletions

View File

@@ -146,12 +146,9 @@
<br/>
<div class="form-group" ng-class="{ 'has-error': !appConfigureForm.robotsTxt.$dirty && appConfigure.error.robotsTxt }">
<div class="checkbox">
<label>
<input type="checkbox" ng-model="appConfigure.robotsEnabled" id="appConfigureRobotsTxt"> Disallow bots from indexing this app
</label>
</div>
<div class="form-group">
<label class="control-label">Specify robots.txt file content</label>
<textarea ng-model="appConfigure.robotsTxt" placeholder="Leave empty to allow all bots to index this app." class="form-control" rows="3"></textarea>
</div>
<div class="hide">