|
@ -32,7 +32,7 @@
|
|||
<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">
|
||||
|
@ -44,7 +44,7 @@
|
|||
<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 }}
|
||||
|
@ -56,7 +56,7 @@
|
|||
<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>
|
||||
|
@ -69,7 +69,7 @@
|
|||
<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>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<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>
|
||||
|
@ -25,11 +25,6 @@
|
|||
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">
|
||||
|
@ -37,13 +32,16 @@
|
|||
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>
|
||||
|
|
|
@ -13,17 +13,10 @@ li {
|
|||
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 {
|
||||
|
@ -31,4 +24,5 @@ li {
|
|||
|
||||
@include peertube-button;
|
||||
@include orange-button;
|
||||
@include disable-default-a-behaviour;
|
||||
}
|
||||
|
|
|
@ -33,9 +33,7 @@
|
|||
|
||||
<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>
|
||||
|
@ -51,9 +49,7 @@
|
|||
</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>
|
||||
|
|
|
@ -12,9 +12,14 @@
|
|||
margin-top: 50px;
|
||||
}
|
||||
|
||||
.mascot-fw {
|
||||
width: 170px;
|
||||
}
|
||||
|
||||
.mascot {
|
||||
display: block;
|
||||
min-width: 170px;
|
||||
margin-right: 2rem;
|
||||
}
|
||||
|
||||
.subtitle {
|
||||
|
@ -73,6 +78,7 @@ li {
|
|||
.configure-instance-button {
|
||||
@include peertube-button;
|
||||
@include orange-button;
|
||||
@include disable-default-a-behaviour;
|
||||
|
||||
display: inline-block;
|
||||
}
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
.videos-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
height: 80px;
|
||||
align-items: baseline;
|
||||
|
||||
.title-page.title-page-single {
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
<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>
|
||||
|
|
Before Width: | Height: | Size: 187 B After Width: | Height: | Size: 213 B |
Before Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 9.9 KiB |
Before Width: | Height: | Size: 8.7 KiB |
Before Width: | Height: | Size: 11 KiB |
|
@ -1,4 +1,4 @@
|
|||
<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"/>
|
||||
|
|
Before Width: | Height: | Size: 8.4 KiB After Width: | Height: | Size: 8.5 KiB |
Before Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 10 KiB |