feat(demo): deleted commented and extra code

This commit is contained in:
svetlanaMuravlova
2021-09-06 15:20:36 +03:00
parent 391a0ff0b8
commit 2e7465b27c
5 changed files with 2 additions and 16 deletions

View File

@@ -14,7 +14,6 @@ const gettingStarted = require('html-loader!markdown-loader!../getting-started.m
<a class="btn btn-light w-auto" href="https://github.com/valor-software/ng2-file-upload">View on GitHub</a>
</p>
</div>
<div class="row" style="padding-top: 15px">
<div class="d-flex flex-wrap">
<a href="https://npmjs.org/ng2-file-upload" class="me-2 d-flex mb-2">
@@ -26,13 +25,6 @@ const gettingStarted = require('html-loader!markdown-loader!../getting-started.m
<iframe src="https://ghbtns.com/github-btn.html?user=valor-software&repo=ng2-file-upload&type=star&count=true" frameborder="0" scrolling="0" width="100px" height="20px" class="me-2 mb-2"></iframe>
<iframe src="https://ghbtns.com/github-btn.html?user=valor-software&repo=ng2-file-upload&type=fork&count=true" frameborder="0" scrolling="0" width="100px" height="20px" class="mb-2"></iframe>
</div>
<!-- <div class="col-lg-1 block_links">-->
<!-- <iframe src="https://ghbtns.com/github-btn.html?user=valor-software&repo=ng2-file-upload&type=star&count=true" frameborder="0" scrolling="0" width="100px" height="20px"></iframe>-->
<!-- </div>-->
<!-- <div class="col-lg-1 block_links">-->
<!-- <iframe src="https://ghbtns.com/github-btn.html?user=valor-software&repo=ng2-file-upload&type=fork&count=true" frameborder="0" scrolling="0" width="100px" height="20px"></iframe>-->
<!-- </div>-->
</div>
</div>
</main>

View File

@@ -36,7 +36,7 @@
</div>
Multiple<br>
<input class="mt-2 mb-3" type="file" (onFileSelected)="fileOverAnother($event)" ng2FileSelect [uploader]="uploader" multiple /><br/>
<input class="mt-2 mb-3" type="file" ng2FileSelect [uploader]="uploader" multiple /><br/>
Single<br>
<input class="mt-2 mb-3" type="file" ng2FileSelect [uploader]="uploader" />

View File

@@ -2,7 +2,7 @@ import { Component } from '@angular/core';
import { FileUploader } from 'ng2-file-upload';
// const URL = '/api/';
const URL = 'https://www.googleapis.com/upload/drive/v3/files?uploadType=resumable';
const URL = 'https://evening-anchorage-3159.herokuapp.com/api/';
@Component({
selector: 'simple-demo',

View File

@@ -53,7 +53,6 @@ section {
.navbar-brand {
color: #777;
/*float: left;*/
height: 50px;
padding: 15px 15px;
font-size: 18px;
@@ -183,10 +182,6 @@ section {
}
table td::before {
/*
* aria-label has no advantage, it won't be read inside a table
content: attr(aria-label);
*/
content: attr(data-label);
font-weight: bold;
text-transform: uppercase;

View File

@@ -12,7 +12,6 @@
<link rel="author" href="https://github.com/valor-software/ng2-file-upload/graphs/contributors">
<!--link to bootstrap.css-->
<!-- <link rel="stylesheet" crossorigin="anonymous" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">-->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.0/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-KyZXEAg3QhqLMpG8r+8fhAXLRk2vvoC2f3B09zVXn8CA5QIVfZOJ3BCsw2P0p/We" crossorigin="anonymous">
<link rel="stylesheet" href="assets/css/style.css">
<link rel="stylesheet" href="assets/css/prettify-angulario.css">