refactor: migrate the frontend from AngularJS to Vue 3

This commit is contained in:
tdurieux
2026-09-09 13:19:53 +02:00
parent dc0ef022fb
commit 4a18f94631
65 changed files with 6164 additions and 8425 deletions
+5 -39
View File
@@ -1,6 +1,6 @@
<!-- index.html -->
<!DOCTYPE html>
<html lang="en" ng-controller="mainController">
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta
@@ -8,7 +8,7 @@
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<title ng-bind="title">Anonymous Github</title>
<title>Anonymous Github</title>
<base href="/" />
<link
@@ -49,38 +49,8 @@
</noscript>
<link rel="stylesheet" href="/css/__ALL_CSS__" />
</head>
<body keypress-events class="d-flex flex-column">
<ng-include src="'partials/header.htm'"></ng-include>
<ng-view class="align-items-stretch w-100"></ng-view>
<div
class="position-fixed bottom-0 right-0 p-3"
style="z-index: 999999999; right: 0; bottom: 0"
>
<div
id="liveToast"
class="toast show"
role="alert"
aria-live="assertive"
aria-atomic="true"
data-delay="2000"
ng-repeat="toast in toasts"
>
<div class="toast-header">
<strong class="mr-auto" ng-bind="toast.title"></strong>
<button
type="button"
class="ml-2 mb-1 close"
data-dismiss="toast"
aria-label="Close"
ng-click="removeToast(toast);"
>
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="toast-body" ng-bind="toast.body"></div>
</div>
</div>
<body class="d-flex flex-column">
<div id="app" class="d-flex flex-column"></div>
<script src="/script/__CORE_JS__"></script>
<script>
@@ -103,11 +73,7 @@
document.body.appendChild(s);
};
</script>
<script src="/script/__VENDOR_JS__" defer onload="
ace.config.set('basePath', '/script/external/ace/');
pdfjsLib.GlobalWorkerOptions.workerSrc = '/script/external/pdf.worker.js';
angular.bootstrap(document, ['anonymous-github']);
"></script>
<script src="/script/__VENDOR_JS__" defer></script>
<script>
window.addEventListener("load", function () {
var s = document.createElement("script");