This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.mat-table-wrapper { | |
width: 100%; | |
overflow-x: auto; | |
mat-cell, | |
mat-header-cell { | |
min-height: 100%; | |
} | |
} | |
.mat-table-wrapper .mat-table { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="m-login-title"> | |
<h5>Servyto</h5> | |
<br> | |
<h3>Log In</h3> | |
</div> | |
<m-auth-notice></m-auth-notice> | |
<form class="m-login-form m-form" name="login" (ngSubmit)="f.form.valid && submit()" #f="ngForm" novalidate> | |
<div class="form-group"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Component, OnInit, Output, Input, ViewChild, OnDestroy, ChangeDetectionStrategy, ChangeDetectorRef, HostBinding } from '@angular/core'; | |
import { AuthenticationService } from '../../../../core/auth/authentication.service'; | |
import { Router } from '@angular/router'; | |
import { Subject } from 'rxjs'; | |
import { AuthNoticeService } from '../../../../core/auth/auth-notice.service'; | |
import { NgForm } from '@angular/forms'; | |
import { TranslateService } from '@ngx-translate/core'; | |
import { SpinnerButtonOptions } from '../../../partials/content/general/spinner-button/button-options.interface'; | |
@Component({ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export class User { | |
email: string; | |
password: string; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Observable, Subject, from, throwError } from 'rxjs'; | |
import { map, catchError, tap, switchMap } from 'rxjs/operators'; | |
import { Injectable } from '@angular/core'; | |
import { HttpClient, HttpErrorResponse } from '@angular/common/http'; | |
import { AuthService } from 'ngx-auth'; | |
import { TokenStorage } from './token-storage.service'; | |
import { UtilsService } from '../services/utils.service'; | |
import { AccessData } from './access-data'; | |
import { Credential } from './credential'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Component, OnInit } from '@angular/core'; | |
import { SiteNotificationService } from '../services/common/sitenotification.service'; | |
import { Router } from '@angular/router'; | |
import { Location } from '@angular/common'; | |
@Component({ | |
templateUrl: './playlist.component.html' | |
}) | |
export class PlaylistComponent implements OnInit { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="container-fluid"> | |
<div class="row ul-login-bg border-0"> | |
<div class="ul-top-bg ul-minht80"> | |
<div class="col-12"> | |
<div class="ul-top-header-wrap"> | |
<div class="ul-top-header ul-pr45"> | |
<span (click)="location.back()"> | |
<img src="assets/img/back-arrow.png" class="ul-backarrow-icon" alt="back-arrow"> | |
</span> | |
<p class="ul-header-new-span">{{ playlist.title }}</p> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const mongoose = require("mongoose"); | |
const PlaylistSchema = new mongoose.Schema({ | |
playlists: [{ | |
listId: String, | |
title: String, | |
playlist_item_count: Number, | |
sortOrder: Number, | |
videoDetails: [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const mongoose = require("mongoose") | |
mongoose.Promise = global.Promise | |
const config = require("../../config")[process.env.NODE_ENV || "development"] | |
const { prepareApiError, validateJwt } = require("../../lib") | |
const Playlist = require("../../models/playlist") | |
const Comment = require("../../models/comment") | |
module.exports = function (api) { | |
return { | |
get(req) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Budget |