Merge pull request #763 from Hans5958/direct-post-button

Move direct post link and warning to the top, mention adding flair
This commit is contained in:
Stefano 2022-04-06 08:32:23 -07:00 committed by GitHub
commit 6b220a2f76
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 4 deletions

View file

@ -78,6 +78,7 @@ a:hover {
} }
button, button,
#exportDirectPost,
#aboutBackButton, #aboutBackButton,
#drawBackButton { #drawBackButton {
background-image: linear-gradient(to bottom, #888, #666); background-image: linear-gradient(to bottom, #888, #666);
@ -103,6 +104,7 @@ button:disabled:hover {
} }
button:hover, button:hover,
#exportDirectPost:hover,
#aboutBackButton:hover, #aboutBackButton:hover,
#drawBackButton:hover { #drawBackButton:hover {
background-image: linear-gradient(to bottom, #999, #777); background-image: linear-gradient(to bottom, #999, #777);

View file

@ -189,16 +189,22 @@ <h1 id="title">The 2022 /r/place Atlas</h1>
<div id="exportOverlay" class="overlay"> <div id="exportOverlay" class="overlay">
<div id="exportWindow"> <div id="exportWindow">
<p>Please copy the text below and submit it as a<br>
new text post to <a target="_blank" href="https://www.reddit.com/r/placeAtlas2/">/r/placeAtlas2</a> on Reddit.</p>
<p>I will then check it and add it to the atlas.</p>
<div style="background-color:#666; padding:5px"> <div style="background-color:#666; padding:5px">
<p><b>Warning</b></p> <p><b>Warning</b></p>
<p><b>DO NOT</b> include the character <b>"</b> (quotation marks) in your submission. It will not be approved.</p> <p><b>DO NOT</b> include the character <b>"</b> (quotation marks) in your submission. It will not be approved.</p>
</div> </div>
<textarea cols="50" rows="5" id="exportString"></textarea> <p><b>Recommended:</b> Post directly after clicking this button. Don't forget to flair it with the "New Entry" tag. </p>
<div style="display:flex; flex-direction:column;align-items:center"> <div style="display:flex; flex-direction:column;align-items:center">
<a href="_blank" id="exportDirectPost">Post Direct to Reddit</a> <a href="_blank" id="exportDirectPost">Post Direct to Reddit</a>
</div>
<hr style="border-bottom: solid black 1px"/>
<i>or...</i>
<p>Please copy the text below and submit it as a
new text post to <a target="_blank" href="https://www.reddit.com/r/placeAtlas2/">/r/placeAtlas2</a> on Reddit.</p>
<p>Don't forget to flair it with the "New Entry" tag.</p>
<p>We will then check it and add it to the atlas.</p>
<textarea cols="20" rows="5" id="exportString"></textarea>
<div style="display:flex; flex-direction:column;align-items:center">
<button id="exportCloseButton">Done</button> <button id="exportCloseButton">Done</button>
</div> </div>
</div> </div>