]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/+admin/follows/following-add/following-add.component.html
update ng-bootstrap
[github/Chocobozzz/PeerTube.git] / client / src / app / +admin / follows / following-add / following-add.component.html
CommitLineData
04e0fc48 1<div *ngIf="error" class="alert alert-danger">{{ error }}</div>
e105c19c 2
e600e1fe
C
3<form (ngSubmit)="addFollowing()">
4 <div class="form-group">
b1d40cff 5 <label i18n for="hosts">1 host (without "http://") per line</label>
9e8aa10d 6
e600e1fe
C
7 <textarea
8 type="text" class="form-control" placeholder="example.com" id="hosts" name="hosts"
9 [(ngModel)]="hostsString" (ngModelChange)="onHostsChanged()" [ngClass]="{ 'input-error': hostsError }"
10 ></textarea>
9e8aa10d 11
e600e1fe
C
12 <div *ngIf="hostsError" class="form-error">
13 {{ hostsError }}
04e0fc48
C
14 </div>
15 </div>
897ec54d 16
b1d40cff 17 <div i18n *ngIf="httpEnabled() === false" class="alert alert-warning">
e600e1fe 18 It seems that you are not on a HTTPS server. Your webserver needs to have TLS activated in order to follow servers.
897ec54d 19 </div>
04e0fc48 20
63347a0f 21 <input type="submit" i18n-value value="Add following" [disabled]="hostsError || !hostsString" class="btn btn-secondary">
04e0fc48 22</form>