This commit is contained in:
m.epshtein 2024-07-15 14:16:49 +03:00
parent 8292555a26
commit 0b530a5b4b
5 changed files with 59 additions and 11 deletions

View file

@ -776,17 +776,61 @@
}
}
/*
file-upload {
margin-top: 16px;
label {
display: none;
}
.file-upload {
position: relative;
display: flex !important;
flex-direction: column;
width: 100%;
}
input.file-name {
height: 120px;
text-align: center;
padding-bottom: 72px;
border-radius: 12px;
border: 2px dashed var(--border-light);
}
.file-btn {
position: absolute;
top: 50%;
left: calc((100% - 80px) / 2);
}
.files-view-item {
display: flex;
flex-direction: row;
align-items: center;
width: auto;
margin: 0;
.file-icon-preview {
width: 48px;
height: 24px;
&::before {
width: 48px;
height: 24px;
background-image: url(../img/file-xlsx.svg);
}
}
.files-view-name {
color: var(--color-text-primary);
margin-top: 0;
}
.clear {
position: relative;
top: auto;
right: auto;
width: 24px;
height: 24px;
}
}
}
*/
.paragraph-list > .vertical-container > * {
position: relative;
padding-left: var(--indent-small);

View file

@ -286,7 +286,7 @@ body.webbpm.ervu_lkrp_ul {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
& + .input-group-append > .input-group-text {
& ~ .input-group-append > .input-group-text {
border: 0;
background-color: var(--bg-light);
}
@ -305,10 +305,10 @@ body.webbpm.ervu_lkrp_ul {
z-index: 20;
}
}
.password {
.msg {
margin-top: 12px;
}
.login-btn-box {
.btn-box {
margin-top: 32px;
}
}

View file

@ -0,0 +1,4 @@
<svg width="48" height="24" viewBox="0 0 48 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M6.98555 24C3.89359 24 1.97073 20.6418 3.53589 17.9752L11.1809 4.9504C12.6173 2.50318 15.2426 1 18.0802 1H43.9996C46.2087 1 47.9996 2.79086 47.9996 5V20C47.9996 22.2091 46.2087 24 43.9996 24H6.98555Z" fill="#2DC36A"/>
<path d="M23.784 18H22.416C22.2987 18 22.2053 17.9707 22.136 17.912C22.072 17.848 22.0187 17.7787 21.976 17.704L19.936 14.528C19.9147 14.6027 19.8907 14.6773 19.864 14.752C19.8427 14.8213 19.8107 14.8853 19.768 14.944L17.88 17.704C17.8267 17.7787 17.768 17.848 17.704 17.912C17.6453 17.9707 17.5627 18 17.456 18H16.184L19.024 13.84L16.296 9.896H17.664C17.7813 9.896 17.8667 9.91467 17.92 9.952C17.9733 9.98933 18.0213 10.0427 18.064 10.112L20.056 13.152C20.0987 12.9973 20.1653 12.848 20.256 12.704L22 10.144C22.048 10.0693 22.0987 10.0107 22.152 9.968C22.2107 9.92 22.28 9.896 22.36 9.896H23.672L20.944 13.768L23.784 18ZM26.5688 6.216V18H25.1447V6.216H26.5688ZM33.598 11.232C33.534 11.3493 33.4353 11.408 33.302 11.408C33.222 11.408 33.1313 11.3787 33.03 11.32C32.9287 11.2613 32.8033 11.1973 32.654 11.128C32.51 11.0533 32.3367 10.9867 32.134 10.928C31.9313 10.864 31.6913 10.832 31.414 10.832C31.174 10.832 30.958 10.864 30.766 10.928C30.574 10.9867 30.4087 11.0693 30.27 11.176C30.1367 11.2827 30.0327 11.408 29.958 11.552C29.8887 11.6907 29.854 11.8427 29.854 12.008C29.854 12.216 29.9127 12.3893 30.03 12.528C30.1527 12.6667 30.3127 12.7867 30.51 12.888C30.7073 12.9893 30.9313 13.08 31.182 13.16C31.4327 13.2347 31.6887 13.3173 31.95 13.408C32.2167 13.4933 32.4753 13.5893 32.726 13.696C32.9767 13.8027 33.2007 13.936 33.398 14.096C33.5953 14.256 33.7527 14.4533 33.87 14.688C33.9927 14.9173 34.054 15.1947 34.054 15.52C34.054 15.8933 33.9873 16.24 33.854 16.56C33.7207 16.8747 33.5233 17.1493 33.262 17.384C33.0007 17.6133 32.6807 17.7947 32.302 17.928C31.9233 18.0613 31.486 18.128 30.99 18.128C30.4247 18.128 29.9127 18.0373 29.454 17.856C28.9953 17.6693 28.606 17.432 28.286 17.144L28.622 16.6C28.6647 16.5307 28.7153 16.4773 28.774 16.44C28.8327 16.4027 28.9073 16.384 28.998 16.384C29.094 16.384 29.1953 16.4213 29.302 16.496C29.4087 16.5707 29.5367 16.6533 29.686 16.744C29.8407 16.8347 30.0273 16.9173 30.246 16.992C30.4647 17.0667 30.7367 17.104 31.062 17.104C31.3393 17.104 31.582 17.0693 31.79 17C31.998 16.9253 32.1713 16.8267 32.31 16.704C32.4487 16.5813 32.55 16.44 32.614 16.28C32.6833 16.12 32.718 15.9493 32.718 15.768C32.718 15.544 32.6567 15.36 32.534 15.216C32.4167 15.0667 32.2593 14.9413 32.062 14.84C31.8647 14.7333 31.638 14.6427 31.382 14.568C31.1313 14.488 30.8727 14.4053 30.606 14.32C30.3447 14.2347 30.086 14.1387 29.83 14.032C29.5793 13.92 29.3553 13.7813 29.158 13.616C28.9607 13.4507 28.8007 13.248 28.678 13.008C28.5607 12.7627 28.502 12.4667 28.502 12.12C28.502 11.8107 28.566 11.5147 28.694 11.232C28.822 10.944 29.0087 10.6933 29.254 10.48C29.4993 10.2613 29.8007 10.088 30.158 9.96C30.5153 9.832 30.9233 9.768 31.382 9.768C31.9153 9.768 32.3927 9.85333 32.814 10.024C33.2407 10.1893 33.6087 10.4187 33.918 10.712L33.598 11.232ZM42.4559 18H41.0879C40.9705 18 40.8772 17.9707 40.8079 17.912C40.7439 17.848 40.6905 17.7787 40.6479 17.704L38.6079 14.528C38.5865 14.6027 38.5625 14.6773 38.5359 14.752C38.5145 14.8213 38.4825 14.8853 38.4399 14.944L36.5519 17.704C36.4985 17.7787 36.4399 17.848 36.3759 17.912C36.3172 17.9707 36.2345 18 36.1279 18H34.8559L37.6959 13.84L34.9679 9.896H36.3359C36.4532 9.896 36.5385 9.91467 36.5919 9.952C36.6452 9.98933 36.6932 10.0427 36.7359 10.112L38.7279 13.152C38.7705 12.9973 38.8372 12.848 38.9279 12.704L40.6719 10.144C40.7199 10.0693 40.7705 10.0107 40.8239 9.968C40.8825 9.92 40.9519 9.896 41.0319 9.896H42.3439L39.6159 13.768L42.4559 18Z" fill="#FCFDF8"/>
</svg>

After

Width:  |  Height:  |  Size: 3.7 KiB

View file

@ -39,9 +39,9 @@
</span>
</div>
</div>
<div class="password"><a href="#/reset-password">Восстановить пароль</a></div>
<div class="msg"><a href="#/reset-password">Восстановить пароль</a></div>
</div>
<div class="login-btn-box">
<div class="btn-box">
<!--<esia-login-button></esia-login-button>-->
<button type="submit" class="btn btn-primary" (click)="formComponent.form.valid && login()">Войти</button>
</div>

View file

@ -13,7 +13,6 @@
</p>
<div class="row">
<label>Адрес эл. почты</label>
<input
#emailInput="ngModel"
[(ngModel)]="email"
@ -24,13 +23,14 @@
required
type="email"
>
<div *ngIf="emailInput.invalid && (emailInput.dirty || emailInput.touched)">
<label>Адрес эл. почты</label>
<div *ngIf="emailInput.invalid && (emailInput.dirty || emailInput.touched)" class="msg">
<div *ngIf="emailInput.errors.required" class="msg-alert">Поле обязательно</div>
<div *ngIf="emailInput.errors.email" class="msg-alert">Неверный формат адреса эл. почты
</div>
</div>
</div>
<div class="reset-password-btn-box">
<div class="btn-box">
<button
(click)="formComponent.form.valid && resetPassword()"
[disabled]="!formComponent.form.valid"