mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-07-28 18:24:38 -05:00
added paperless ui
This commit is contained in:
29
src-ui/src/app/components/dashboard/dashboard.component.html
Normal file
29
src-ui/src/app/components/dashboard/dashboard.component.html
Normal file
@@ -0,0 +1,29 @@
|
||||
|
||||
<app-page-header title="Dashboard">
|
||||
<button type="button" class="btn btn-sm btn-outline-secondary">
|
||||
Show Documents with Tag
|
||||
</button>
|
||||
</app-page-header>
|
||||
|
||||
<p>This space for rent...</p>
|
||||
|
||||
<div class='row'>
|
||||
<div class="col">
|
||||
<h4>Recent Documents</h4>
|
||||
<p>Recent docs</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class='row'>
|
||||
<div class="col">
|
||||
<h4>Documents with tag <span class="badge badge-danger">TODO</span></h4>
|
||||
<p>...</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class='row'>
|
||||
<div class="col-4">
|
||||
<h4>Statistics</h4>
|
||||
</div>
|
||||
<div class="col-8">
|
||||
<h4>Upload new Document</h4>
|
||||
</div>
|
||||
</div>
|
@@ -0,0 +1,25 @@
|
||||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { DashboardComponent } from './dashboard.component';
|
||||
|
||||
describe('DashboardComponent', () => {
|
||||
let component: DashboardComponent;
|
||||
let fixture: ComponentFixture<DashboardComponent>;
|
||||
|
||||
beforeEach(async () => {
|
||||
await TestBed.configureTestingModule({
|
||||
declarations: [ DashboardComponent ]
|
||||
})
|
||||
.compileComponents();
|
||||
});
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(DashboardComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
15
src-ui/src/app/components/dashboard/dashboard.component.ts
Normal file
15
src-ui/src/app/components/dashboard/dashboard.component.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-dashboard',
|
||||
templateUrl: './dashboard.component.html',
|
||||
styleUrls: ['./dashboard.component.css']
|
||||
})
|
||||
export class DashboardComponent implements OnInit {
|
||||
|
||||
constructor() { }
|
||||
|
||||
ngOnInit(): void {
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user