Mercurial > code > home > repos > reposync
view index.html @ 24:03803832a087 default tip
add view definition for streamed-graph viewer
author | drewp@bigasterisk.com |
---|---|
date | Tue, 29 Mar 2022 21:17:56 -0700 |
parents | 6f38aa08408d |
children |
line wrap: on
line source
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>reposync</title> <style> body { background: #1f1f1f; color: white; } </style> <script type="module" src="https://bigasterisk.com/lib/bigast/v1/loginBar.js"></script> <script type="module" src="/view/index.ts"></script> </head> <body> <reposync-page></reposync-page> <bigast-loginbar></bigast-loginbar> <pre> notes: repo1 clean synced to github github up to date [sync now] dirty [msg____] [commit] repo1 is a link to my hgserve GET /status/events GET /recent?repo=/my/dir GET /recent?all GET /recent/events?repo=/my/dir|all POST /githubSync?all POST /githubSync?repo=/my/dir GET /homepage -> a CE table of all changes using /recent each event are a json message: key: string update: replace the data for that key Here, keys are repo paths. </pre> </body> </html> <!-- before streamed-graph version: template: `<div id="top"> <table> <tr :for="repo in this.repos"> <th>{repo.path}</th> <td> {repo.status.error || ''} <span :if="repo.status.changed==0 && repo.status.unknown==0"> clean </span> <span :else> changed {repo.status.changed}, unknown {repo.status.unknown} </span> </td> <td :class="github: true; on: repo.github"> <span class="check" :if="repo.github">☑</span> <span class="check" :else>☐</span> github <span :if="repo.github"> <table style="display: inline-block"> <tr><td>github latest</td><td>{repo.githubLatest.t}</td></tr> <tr><td>home latest</td><td>{repo.hgLatest.t}</td></tr> </table> </span> </td> </tr> </table> -->