Fixing naming

This commit is contained in:
ngn 2024-01-17 20:15:46 +03:00
parent d3e04cd8c1
commit a1bb88fffd
5 changed files with 11 additions and 12 deletions

View File

@ -1,6 +1,6 @@
# tracker | MatterLinux Repo Tracker # tracker | MatterLinux Package Tracker
Soruce code of MatterLinux's repo tracker, located at Soruce code of MatterLinux's package tracker, located at
hosted at [tracker.matterlinux.xyz](https://tracker.matterlinux.xyz) [tracker.matterlinux.xyz](https://tracker.matterlinux.xyz)
### Configuration ### Configuration
Tracker can be configured to track different repos. Configuration Tracker can be configured to track different repos. Configuration

View File

@ -7,4 +7,4 @@ services:
ports: ports:
- "127.0.0.1:9877:9877" - "127.0.0.1:9877:9877"
volumes: volumes:
- "./repolist:/app/repolist" - "./cfg.json:/app/cfg.json"

View File

@ -1,6 +1,6 @@
/* /*
* tracker | MatterLinux Repo Tracker * tracker | MatterLinux Package Tracker
* Copyright (C) 2024 Matterlinux * Copyright (C) 2024 Matterlinux
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@ -110,7 +110,7 @@ func main(){
}) })
go UpdateLoop() go UpdateLoop()
log.Info("Starting MatterLinux Tracker on port 9877") log.Info("Starting MatterLinux Package Tracker on port 9877")
err := app.Listen(":9877") err := app.Listen(":9877")
if err != nil { if err != nil {
log.Errorf("Error starting server: %s", err) log.Errorf("Error starting server: %s", err)

View File

@ -1,7 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<title>MatterLinux | Tracker</title> <title>MatterLinux | Packages</title>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=1200"> <meta name="viewport" content="width=1200">
<link href="/style.css" rel="stylesheet"> <link href="/style.css" rel="stylesheet">
@ -24,7 +24,7 @@
</select> </select>
</form> </form>
<div class="status"> <div class="status">
<p>Listing total of {{len .pkgs}} packages</p> <p>Listing {{len .pkgs}} packages</p>
<p>Last updated: {{.last}}</p> <p>Last updated: {{.last}}</p>
</div> </div>
</div> </div>

View File

@ -1,12 +1,11 @@
<div class="bar"> <div class="bar">
<div class="logo-div"> <div class="logo-div">
<h1 class="logo">MatterLinux</h1> <h1 class="logo">MatterLinux</h1>
<h1 class="logo-text">Tracker</h1>
</div> </div>
<div class="links"> <div class="links">
<a href="/">Home</a> <a href="https://matterlinux.xyz">Home</a>
<a href="/news">News</a> <a href="https://matterlinux.xyz/news">News</a>
<a href="/wiki">Wiki</a> <a href="https://matterlinux.xyz/wiki">Wiki</a>
<a href="https://git.matterlinux.xyz/Matter">Source</a> <a href="https://git.matterlinux.xyz/Matter">Source</a>
<a href="https://tracker.matterlinux.xyz">Packages</a> <a href="https://tracker.matterlinux.xyz">Packages</a>
</div> </div>