Browse Source

chore: updated README to reflect the new project structure

document-upload-removal-layout-update
nic 9 months ago
parent
commit
2046e37686
  1. 159
      Readme.md
  2. 5
      templates/partials/document_upload.html.backup

159
Readme.md

@ -1,81 +1,86 @@
# Complete ServiceTrade Tool Project # Complete ServiceTrade Tool Project
# ServiceTrade Toolbox
A web application for interacting with ServiceTrade API, focusing on document management and workflow automation.
## Project Structure ## Project Structure
```` . ```
├──  apps .
│ ├──  cli ├── apps
│ └──  main.go └── web
└──  web └── main.go
│ └──  main.go ├── go.mod
├── go.mod ├── go.sum
├──  go.sum ├── internal
├──  internal │ ├── api
│ ├── 󰒍 api │ ├── api.go
│ │ ├──  api.go │ │ ├── attachments.go
│ │ ├── auth.go │ │ ├── auth.go
│ │ ├── deficiencies.go │ │ ├── deficiencies.go
│ │ ├── invoices.go │ │ ├── invoices.go
│ │ ├── jobs.go │ │ ├── jobs.go
│ │ └── session_store.go │ │ └── session_store.go
│ ├──  auth │ ├── handlers
│ │ └──  auth.go │ │ └── web
├──  handlers │ ├── admin.go
│ │ ├──  cli │ │ ├── assets.go
│ │ │ ├──  admin.go │ │ ├── companies.go
│ │ │ ├──  assets.go │ │ ├── contacts.go
│ │ │ ├──  companies.go │ │ ├── contracts.go
│ │ │ ├──  contacts.go │ │ ├── dashboard.go
│ │ │ ├──  contracts.go │ │ ├── documents.go
│ │ │ ├──  generic.go │ │ ├── generic.go
│ │ │ ├──  invoices.go │ │ ├── invoices.go
│ │ │ ├──  jobs.go │ │ ├── jobs.go
│ │ │ ├──  locations.go │ │ ├── locations.go
│ │ │ ├──  login.go │ │ ├── login.go
│ │ │ ├──  notifications.go │ │ ├── notifications.go
│ │ │ ├──  quotes.go │ │ ├── quotes.go
│ │ │ ├──  services.go │ │ ├── services.go
│ │ │ ├──  tags.go │ │ ├── tags.go
│ │ │ └──  users.go │ │ └── users.go
│ └──  web └── middleware
│ ├──  admin.go └── auth_middleware.go
│ │ ├──  assets.go ├── Readme.md
│ │ ├──  companies.go ├── static
│ ├──  contacts.go ├── css
│ │ ├──  contracts.go │ │ └── styles.css
│ ├──  dashboard.go └── js
│ ├──  generic.go └── htmx.min.js
│ │ ├──  invoices.go └── templates
│ │ ├──  jobs.go ├── dashboard.html
│ │ ├──  locations.go ├── layout.html
│ │ ├──  login.go ├── login.html
│ │ ├──  notifications.go └── partials
│ │ ├──  quotes.go ├── admin.html
│ │ ├──  services.go ├── assets.html
│ │ ├──  tags.go ├── companies.html
│ │ └──  users.go ├── document_upload.html
│ ├──  middleware ├── document_remove.html
│ │ └──  auth_middleware.go ├── document_job_selection.html
│ ├──  models ├── document_attachments.html
│ │ └──  models.go ├── document_bulk_remove.html
│ ├──  ui ├── invoice_search.html
│ │ └──  ui.go ├── invoice_search_results.html
│ └──  utils └── jobs.html
│ └──  utils.go ```
├──  Readme.md
├──  static ## Features
│ └──  css
│ └──  styles.css - **Authentication**: Secure login and session management with ServiceTrade API
└──  templates - **Document Management**: Upload and manage documents across multiple jobs
├──  dashboard.html - Supports large file uploads with efficient streaming
├──  layout.html - Batch document processing with CSV job ID imports
├──  login.html - Document removal tools
└──  partials - **Invoice Processing**: View and update invoice statuses
├──  admin.html - **Job Management**: Search and view job information
├──  assets.html
├──  companies.html ## Server Configuration
├──  invoice_search.html
├──  invoice_search_results.html The server is configured with generous timeouts to support large file uploads:
└──  jobs.html - Read timeout: 30 minutes
``` - Write timeout: 30 minutes
```` - Idle timeout: 2 minutes

5
templates/partials/document_upload.html.backup

@ -1,5 +0,0 @@
{{define "document_upload"}}
<h2>Document Uploads</h2>
{{template "job_search_inputs"}}
{{template "job_search_results"}}
{{end}}
Loading…
Cancel
Save