diff --git a/src/applets.ts b/src/applets.ts
index 44c6260..6919907 100644
--- a/src/applets.ts
+++ b/src/applets.ts
@@ -2,288 +2,11 @@ import { config } from './cli.js';
import { readFileSync } from 'fs';
const fileName = config.template;
-const proctoroom = `
-
-
-
- noˑcodeˑroom — \${title}
-
-
-
-
-
-
-
-
-
-
-
-
-
- noˑcodeˑroom
-
- — \${title}
-
-
-
-
-
- contract
- \${contract}
-
-
-
-
-
-
-`;
-
const getTemplate = () => {
try {
return readFileSync(fileName, 'utf-8');
} catch {
- return proctoroom;
+ return readFileSync('templates/proctoroom.html', 'utf-8');
}
};
diff --git a/templates/proctoroom.html b/templates/proctoroom.html
new file mode 100644
index 0000000..636581f
--- /dev/null
+++ b/templates/proctoroom.html
@@ -0,0 +1,277 @@
+
+
+
+
+ noˑcodeˑroom — <%= title %>
+
+
+
+
+
+
+
+
+
+
+
+
+
+ noˑcodeˑroom
+
+ — <%= title %>
+
+
+
+
+
+ contract
+ <%= contract %>
+
+
+
+
+
+
+
+`;