<div class="form-group">
<label i18n for="displayName">Display name</label>
<input
- type="text" id="displayName"
+ type="text" id="displayName" class="form-control"
formControlName="displayName" [ngClass]="{ 'input-error': formErrors['displayName'] }"
>
<div *ngIf="formErrors['displayName']" class="form-error">
<label i18n for="description">Description</label>
<textarea
id="description" formControlName="description"
- [ngClass]="{ 'input-error': formErrors['description'] }"
+ class="form-control" [ngClass]="{ 'input-error': formErrors['description'] }"
></textarea>
<div *ngIf="formErrors.description" class="form-error">
{{ formErrors.description }}
<div class="form-group">
<label i18n for="privacy">Privacy</label>
<div class="peertube-select-container">
- <select id="privacy" formControlName="privacy">
+ <select id="privacy" formControlName="privacy" class="form-control">
<option *ngFor="let privacy of videoPlaylistPrivacies" [value]="privacy.id">{{ privacy.label }}</option>
</select>
</div>
<div class="form-group">
<label i18n>Channel</label>
<div class="peertube-select-container">
- <select formControlName="videoChannelId">
+ <select formControlName="videoChannelId" class="form-control">
<option></option>
<option *ngFor="let channel of userVideoChannels" [value]="channel.id">{{ channel.label }}</option>
</select>
<div class="modal-body">
<img class="mascot" src="/client/assets/images/mascot/oh.svg" alt="mascot" />
- <p i18n>Hello dear administrator. You enabled user registration on your instance but you did not configure the following fields:</p>
+ <p i18n>You enabled user registration on your instance but did not configure the following fields:</p>
<ul>
<li i18n *ngIf="about.instance.name.toLowerCase() === 'peertube'">Instance name</li>
Please consider configuring these fields to help people to choose <strong>the appropriate instance</strong>.
Without them, your instance may not be referenced on the <a target="_blank" rel="noopener noreferrer" href="https://joinpeertube.org">JoinPeerTube website</a>.
</p>
-
- <div class="configure-instance">
- <a i18n class="action-button action-button-configure" href="/admin/config/edit-custom" target="_blank" rel="noopener noreferrer">Configure these fields</a>
- </div>
-
</div>
<div class="modal-footer inputs">
inputName="stopDisplayModal" [(ngModel)]="stopDisplayModal"
i18n-labelText labelText="Don't show me this warning anymore"
>
-
</my-peertube-checkbox>
<input
type="button" role="button" i18n-value value="Close" class="action-button action-button-cancel"
(click)="hide()" (key.enter)="hide()"
>
+ <a i18n class="action-button action-button-configure" ngbAutofocus
+ href="/admin/config/edit-custom" target="_blank" rel="noopener noreferrer">
+ Configure
+ </a>
</div>
</ng-template>
margin-bottom: 10px;
}
-.configure-instance {
- text-align: center;
- font-weight: 600;
- font-size: 18px;
- margin-top: 40px;
- margin-bottom: 10px;
-}
-
.mascot {
display: block;
margin: 0 auto 50px;
+ width: 25%;
}
.action-button-configure {
@include peertube-button;
@include orange-button;
+ @include disable-default-a-behaviour;
}
<div class="two-columns">
- <div class="mascot">
- <img src="/client/assets/images/mascot/pointing.png" alt="mascot">
- </div>
+ <img class="mascot mascot-fw" src="/client/assets/images/mascot/pointing.svg" alt="mascot">
<div class="block-links">
<div i18n class="subtitle">Useful links</div>
</div>
<div class="two-columns">
- <div class="mascot">
- <img src="/client/assets/images/mascot/happy.png" alt="mascot">
- </div>
+ <img class="mascot" src="/client/assets/images/mascot/happy.svg" alt="mascot">
<div class="block-configuration">
<div i18n class="subtitle">It's time to configure your instance!</div>
margin-top: 50px;
}
+.mascot-fw {
+ width: 170px;
+}
+
.mascot {
display: block;
min-width: 170px;
+ margin-right: 2rem;
}
.subtitle {
.configure-instance-button {
@include peertube-button;
@include orange-button;
+ @include disable-default-a-behaviour;
display: inline-block;
}
.videos-header {
display: flex;
justify-content: space-between;
- height: 80px;
align-items: baseline;
.title-page.title-page-single {
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<defs/>
- <path fill="#000" fill-rule="evenodd" d="M13 19a1 1 0 100 2 9 9 0 10-9-9h2a7 7 0 117 7zm-4-7H1l4 4 4-4z"/>
+ <g fill="none" fill-rule="evenodd" stroke="#000" stroke-linecap="round" stroke-width="2">
+ <path d="M21 6L9 18M4 13l5 5"/>
+ </g>
</svg>
-<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 55.71 62.61">
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="206.3" height="224.6" viewBox="0 0 55.71 62.61">
<defs/>
<defs>
<radialGradient id="b" cx="56.46" cy="167.69" r="20.58" fx="56.46" fy="167.69" gradientTransform="matrix(1.20299 0 0 .16716 30.28 144.89)" gradientUnits="userSpaceOnUse" xlink:href="#a"/>