profileShare

rasmusjy / profileshare

Read-only snapshot

No repository description.

main default branch 54 files Expires Sep 13, 2026, 9:06 AM
created.ejs 1,626 bytes
1 <%- include("partials/head", { title: "Link created", bodyClass: "owner-page" }) %>
2 <main class="center-shell">
3 <section class="created-panel">
4 <p class="snapshot-seal">Snapshot created</p>
5 <h1>Your review link is ready.</h1>
6 <p>Anyone with this link can view the selected work until <strong><%= formatDate(expiresAt) %></strong>.</p>
7 <section class="review-summary">
8 <h2>Review before sharing</h2>
9 <p>Open the snapshot and confirm every selected repository and all commits appear.</p>
10 <ul>
11 <% repositories.forEach((repository) => { %>
12 <li>
13 <strong><%= repository.name %></strong>
14 <span>
15 <%= repository.commits.length %> <%= repository.commits.length === 1 ? "commit" : "commits" %>
16 · <%= repository.issues?.length || 0 %> issues
17 · <%= repository.pullRequests?.length || 0 %> pull requests
18 · <%= repository.releases?.length || 0 %> releases
19 </span>
20 </li>
21 <% }) %>
22 </ul>
23 </section>
24 <div class="copy-row">
25 <input id="share-url" value="<%= url %>" readonly aria-label="Share URL">
26 <button class="button button-primary" id="copy-link" type="button">Copy link</button>
27 </div>
28 <div class="created-actions">
29 <a class="button button-secondary" href="<%= url %>">Review snapshot before sharing</a>
30 <a class="text-link" href="/">Create another</a>
31 <a class="text-link" href="/#shared-links">Manage links</a>
32 </div>
33 </section>
34 </main>
35 <script src="/assets/app.js" defer></script>
36 <%- include("partials/foot") %>
37