Skip to content

Commit

Permalink
feat: text and style changes
Browse files Browse the repository at this point in the history
  • Loading branch information
barakplasma committed Sep 15, 2021
1 parent e65a9c7 commit 9b2e60b
Show file tree
Hide file tree
Showing 3 changed files with 86 additions and 86 deletions.
104 changes: 52 additions & 52 deletions client/admin.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Admin of Queue</title>
<title>Queue Admin</title>
<script
defer
src="https://cdn.jsdelivr.net/gh/google/[email protected]/js/src/openlocationcode.min.js"
Expand All @@ -21,58 +21,58 @@
</head>

<body>
<p>HisoonNumber</p>
<main>
<section id="position-section">
<aside>
<h3>Current head of the queue</h3>
<p id="userIdContainer">UserId: <span id="userId">N/A</span></p>
</aside>
</section>
<section>
<p>
<button id="current-user-done">Current user done</button>
<button id="refresh-queue">Refresh</button>
<section id="position-section">
<aside>
<h3>Current head of the queue</h3>
<p id="userIdContainer">UserId: <span id="userId">N/A</span></p>
</aside>
</section>
<section>
<p>
<button id="current-user-done">Current user done</button>
<button id="refresh-queue">Refresh</button>
</p>
</section>
<section>
<aside>
<p id="queueLengthContainer">
Queue Length: <span id="queueLengthCount">N/A</span>
</p>
</section>
<section>
<aside>
<p id="queueLengthContainer">
Queue Length: <span id="queueLengthCount">N/A</span>
</p>
<p id="locationContainer">Location: <a id="location">N/A</a></p>
<p id="shareLink"></p>
</aside>
</section>
<section>
<form action="">
<label for="edit-admin-message">Edit Admin Message:</label>
<textarea
name="edit-admin-message"
rows="8"
placeholder="Use this form to give your queue users some details on what this queue is for, what to do when it is their turn, and who you are."
id="admin-message"
spellcheck="true"
maxlength="1000"
></textarea>
<button id="submit-admin-message" type="button">
update admin message
</button>
</form>
</section>
<style>
body {
text-align: center;
}
<p id="locationContainer">Location: <a id="location">N/A</a></p>
<p id="shareLink"></p>
</aside>
</section>
<section>
<form action="">
<label for="edit-admin-message">Edit Admin Message:</label>
<textarea
name="edit-admin-message"
rows="8"
placeholder="Use this form to give your queue users some details on what this queue is for, what to do when it is their turn, and who you are."
id="admin-message"
spellcheck="true"
maxlength="1000"
></textarea>
<button id="submit-admin-message" type="button">
update admin message
</button>
</form>
</section>
<style>
body {
text-align: center;
}

textarea[name="edit-admin-message"] {
text-overflow: ellipsis;
width: 90%;
max-width: 90%;
min-width: 90%;
}
</style>
<footer><a class="done">Quit queue admin</a></footer>
</main>
textarea[name="edit-admin-message"] {
text-overflow: ellipsis;
width: 90%;
max-width: 90%;
min-width: 90%;
}
</style>
<footer>
<a class="done">Quit queue admin</a>
<h1>In-Person-Queue</h1>
</footer>
</body>
</html>
2 changes: 1 addition & 1 deletion client/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ <h3>Nearby Queues</h3>
<p>Needs location permissions to find queues near you</p>
</aside>
</section>
<hr>
<hr />
<section>
<button id="becomeAdmin">
Create <mark>new</mark> queue at my location
Expand Down
66 changes: 33 additions & 33 deletions client/queue.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,39 +20,39 @@
</head>

<body>
<p>HisoonNumber</p>
<main>
<h4>Message from your admin:</h4>
<p
id="admin-message"
style="overflow: scroll; max-height: 11vh; text-overflow: ellipsis"
>
Loading...
</p>
<section id="position-section">
<aside>
<h3>Queue Position</h3>
<mark id="position-in-queue">Not yet in queue</mark>
<p id="queueLengthContainer">
Queue Length: <span id="queueLengthCount">N/A</span>
</p>
<p id="userIdContainer">Your User Id: <span id="userId">N/A</span></p>
<p id="locationContainer">Location: <a id="location">N/A</a></p>
</aside>
</section>
<section>
<p>
<button id="join-queue">Join Queue</button>
<button id="refresh-queue">Refresh</button>
<button id="done-btn" class="done">Done</button>
<h4>Message from the admin:</h4>
<p
id="admin-message"
style="overflow: scroll; max-height: 11vh; text-overflow: ellipsis"
>
Loading...
</p>
<section id="position-section">
<aside>
<h3>Queue Position</h3>
<mark id="position-in-queue">Not yet in queue</mark>
<p id="queueLengthContainer">
Queue Length: <span id="queueLengthCount">N/A</span>
</p>
</section>
<style>
body {
text-align: center;
}
</style>
<footer><a id="done-link" class="done">Leave Queue</a></footer>
</main>
<p id="userIdContainer">Your User Id: <span id="userId">N/A</span></p>
<p id="locationContainer">Location: <a id="location">N/A</a></p>
</aside>
</section>
<section>
<p>
<button id="join-queue">Join Queue</button>
<button id="refresh-queue">Refresh</button>
<button id="done-btn" class="done">Done</button>
</p>
</section>
<style>
body {
text-align: center;
}
</style>
<footer>
<a id="done-link" class="done">Leave Queue</a>
<h1>In-Person-Queue</h1>
</footer>
</body>
</html>

0 comments on commit 9b2e60b

Please sign in to comment.