237 lines
9.5 KiB
HTML
237 lines
9.5 KiB
HTML
<!doctype html>
|
|
<html lang="ko">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<title>Tutor Platform</title>
|
|
<link rel="stylesheet" href="/assets/styles.css" />
|
|
</head>
|
|
<body>
|
|
<script>
|
|
window._tutorGoogleCallback = null;
|
|
window._tutorPendingGoogleResponse = null;
|
|
window.handleCredentialResponse = function (response) {
|
|
if (window._tutorGoogleCallback) {
|
|
window._tutorGoogleCallback(response);
|
|
} else {
|
|
window._tutorPendingGoogleResponse = response;
|
|
}
|
|
};
|
|
</script>
|
|
<script src="https://accounts.google.com/gsi/client" async defer></script>
|
|
|
|
<section id="login-view" class="login-view">
|
|
<div class="login-card">
|
|
<div class="login-header">
|
|
<p class="eyebrow" data-i18n="eyebrow">Tutor Platform</p>
|
|
<div class="lang-switch" role="group" aria-label="Language">
|
|
<button type="button" data-lang="ko" class="lang-btn is-active">KO</button>
|
|
<button type="button" data-lang="en" class="lang-btn">EN</button>
|
|
</div>
|
|
</div>
|
|
<h1 data-i18n="titleLogin">Interview practice</h1>
|
|
<p class="lede" data-i18n="subtitleLogin">
|
|
Prove you are becoming more interview-ready after each short practice loop.
|
|
</p>
|
|
<div class="login-divider" data-i18n="accountDivider" data-label="Account"></div>
|
|
<div id="auth-area" class="auth-area">
|
|
<div
|
|
id="g_id_onload"
|
|
data-client_id="13671390758-bp1ed6psn43bl86r8a9kv81o40nkea90.apps.googleusercontent.com"
|
|
data-callback="handleCredentialResponse"
|
|
data-auto_prompt="false"
|
|
></div>
|
|
<div
|
|
class="g_id_signin"
|
|
data-type="standard"
|
|
data-size="large"
|
|
data-theme="outline"
|
|
data-text="sign_in_with"
|
|
data-shape="rectangular"
|
|
data-logo_alignment="left"
|
|
></div>
|
|
</div>
|
|
<p id="login-error" class="login-error" role="alert"></p>
|
|
<p class="login-legal" data-i18n="legalLogin">
|
|
By signing in, you agree to our <a href="#">Terms</a> and
|
|
<a href="#">Privacy Policy</a>.
|
|
</p>
|
|
</div>
|
|
</section>
|
|
|
|
<main id="workspace-view" class="workspace" style="display: none">
|
|
<aside class="setup-pane" aria-label="Diagnostic setup">
|
|
<div class="workspace-header">
|
|
<p class="eyebrow" data-i18n="eyebrow">Tutor Platform</p>
|
|
<div class="lang-switch" role="group" aria-label="Language">
|
|
<button type="button" data-lang="ko" class="lang-btn is-active">KO</button>
|
|
<button type="button" data-lang="en" class="lang-btn">EN</button>
|
|
</div>
|
|
</div>
|
|
<h1 data-i18n="titleWorkspace">Interview practice</h1>
|
|
<p class="lede" data-i18n="subtitleWorkspace">
|
|
Start a focused backend interview loop and turn one answer into evidence.
|
|
</p>
|
|
|
|
<div class="user-bar">
|
|
<div id="user-info" class="user-info"></div>
|
|
<button id="logout-button" class="small-button" type="button" data-i18n="signOut">
|
|
Sign out
|
|
</button>
|
|
</div>
|
|
|
|
<form id="session-form" class="stacked-form">
|
|
<label>
|
|
<span data-i18n="userId">User ID</span>
|
|
<input id="user-id" name="user_id" value="" readonly autocomplete="off" />
|
|
</label>
|
|
<label>
|
|
<span data-i18n="targetRole">Target role</span>
|
|
<input id="target-role" name="target_role" value="junior backend developer" />
|
|
</label>
|
|
<label>
|
|
<span data-i18n="stack">Stack</span>
|
|
<input id="stack" name="stack" value="go, postgres" />
|
|
</label>
|
|
<label>
|
|
<span data-i18n="timeline">Timeline</span>
|
|
<input id="timeline" name="interview_timeline" value="30 days" />
|
|
</label>
|
|
<button id="start-button" type="submit">
|
|
<span class="btn-text" data-i18n="startDiagnostic">Start diagnostic</span>
|
|
<span class="btn-spinner" aria-hidden="true"></span>
|
|
</button>
|
|
</form>
|
|
|
|
<p id="status-line" class="status-line" role="status">
|
|
<span class="status-icon" aria-hidden="true"></span>
|
|
<span class="status-text" data-i18n="ready">Ready</span>
|
|
</p>
|
|
<p id="error-line" class="error-line" role="alert"></p>
|
|
</aside>
|
|
|
|
<section class="practice-pane" aria-label="Diagnostic practice">
|
|
<div class="section-heading">
|
|
<div>
|
|
<p class="eyebrow" data-i18n="diagnosticEyebrow">Diagnostic</p>
|
|
<h2 id="session-title" data-i18n="noActiveSession">No active session</h2>
|
|
</div>
|
|
</div>
|
|
<div id="questions" class="question-list empty-state">
|
|
<span class="empty-hint" data-i18n="emptyQuestions"
|
|
>Start a diagnostic session to load interview questions.</span
|
|
>
|
|
</div>
|
|
|
|
<form id="answer-form" class="answer-form">
|
|
<label for="answer-text" data-i18n="answerLabel">Answer</label>
|
|
<textarea
|
|
id="answer-text"
|
|
rows="7"
|
|
data-i18n-placeholder="answerPlaceholder"
|
|
placeholder="Select a question, then answer with concrete production reasoning."
|
|
></textarea>
|
|
<button id="answer-button" type="submit" disabled>
|
|
<span class="btn-text" data-i18n="submitAnswer">Submit answer</span>
|
|
<span class="btn-spinner" aria-hidden="true"></span>
|
|
</button>
|
|
</form>
|
|
|
|
<section class="content-workspace" aria-label="Material and asset workspace">
|
|
<div class="section-heading">
|
|
<div>
|
|
<p class="eyebrow" data-i18n="contentEyebrow">Content operations</p>
|
|
<h2 data-i18n="contentTitle">Source to asset prompt</h2>
|
|
</div>
|
|
</div>
|
|
|
|
<form id="material-form" class="material-form">
|
|
<label>
|
|
<span data-i18n="materialTitle">Material title</span>
|
|
<input id="material-title" value="Backend interview notes" />
|
|
</label>
|
|
<label>
|
|
<span data-i18n="sourceType">Source type</span>
|
|
<input id="material-source" value="markdown" />
|
|
</label>
|
|
<label class="wide-field">
|
|
<span data-i18n="sourceMaterial">Source material</span>
|
|
<textarea id="material-body" rows="5">
|
|
Idempotent API retries need transactions. Cache invalidation uses TTL tradeoffs and database indexes support query plans.</textarea
|
|
>
|
|
</label>
|
|
<button id="material-button" type="submit">
|
|
<span class="btn-text" data-i18n="ingestMaterial">Ingest material</span>
|
|
<span class="btn-spinner" aria-hidden="true"></span>
|
|
</button>
|
|
</form>
|
|
|
|
<div id="ontology" class="ontology-view empty-state">
|
|
<span class="empty-hint" data-i18n="emptyOntology"
|
|
>Ingest material to inspect ontology candidates.</span
|
|
>
|
|
</div>
|
|
|
|
<form id="asset-form" class="asset-form">
|
|
<label>
|
|
<span data-i18n="concept">Concept</span>
|
|
<select id="asset-concept" disabled>
|
|
<option value="" data-i18n="concept">Select a concept</option>
|
|
</select>
|
|
</label>
|
|
<label>
|
|
<span data-i18n="assetType">Asset type</span>
|
|
<select id="asset-type">
|
|
<option value="diagram">Diagram</option>
|
|
<option value="lesson_slice">Lesson slice</option>
|
|
<option value="worksheet">Worksheet</option>
|
|
<option value="interview_card">Interview card</option>
|
|
</select>
|
|
</label>
|
|
<button id="asset-button" type="submit" disabled>
|
|
<span class="btn-text" data-i18n="generatePrompt">Generate prompt</span>
|
|
<span class="btn-spinner" aria-hidden="true"></span>
|
|
</button>
|
|
</form>
|
|
|
|
<div id="asset-output" class="ontology-view empty-state">
|
|
<span class="empty-hint" data-i18n="emptyAsset"
|
|
>Generate a prompt to inspect model key, review state, and evidence.</span
|
|
>
|
|
</div>
|
|
</section>
|
|
</section>
|
|
|
|
<aside class="feedback-pane" aria-label="Feedback">
|
|
<div class="section-heading">
|
|
<div>
|
|
<p class="eyebrow" data-i18n="feedbackEyebrow">Feedback</p>
|
|
<h2 data-i18n="rubricResult">Rubric result</h2>
|
|
</div>
|
|
</div>
|
|
<div id="feedback" class="feedback empty-state">
|
|
<span class="empty-hint" data-i18n="emptyFeedback"
|
|
>Submit an answer to see grade, evidence, and follow-up.</span
|
|
>
|
|
</div>
|
|
<div class="section-heading progress-heading">
|
|
<div>
|
|
<p class="eyebrow" data-i18n="progressEyebrow">Progress</p>
|
|
<h2 data-i18n="learningState">Learning state</h2>
|
|
</div>
|
|
<button id="refresh-progress" class="small-button" type="button" disabled data-i18n="refresh">
|
|
Refresh
|
|
</button>
|
|
</div>
|
|
<div id="progress" class="feedback empty-state">
|
|
<span class="empty-hint" data-i18n="emptyProgress"
|
|
>Answer once to update learner memory and readiness.</span
|
|
>
|
|
</div>
|
|
</aside>
|
|
</main>
|
|
<script src="/assets/i18n.js?v=2"></script>
|
|
<script src="/assets/app.js?v=2" type="module"></script>
|
|
</body>
|
|
</html>
|