mirror of
https://github.com/placeAtlas/atlas.git
synced 2024-12-26 06:23:57 +01:00
186 lines
7 KiB
HTML
186 lines
7 KiB
HTML
|
|
<!--
|
|
========================================================================
|
|
The /r/place Atlas
|
|
|
|
An Atlas of Reddit's /r/place, with information to each
|
|
artwork of the canvas provided by the community.
|
|
|
|
Copyright (C) 2017 Roland Rytz <roland@draemm.li>
|
|
Licensed under the GNU Affero General Public License Version 3
|
|
This program is free software: you can redistribute it and/or modify
|
|
it under the terms of the GNU Affero General Public License as
|
|
published by the Free Software Foundation, either version 3 of the
|
|
License, or (at your option) any later version.
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
For more information, see:
|
|
https://draemm.li/various/place-atlas/license.txt
|
|
|
|
========================================================================
|
|
-->
|
|
|
|
|
|
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<link href="./_css/style.css?version=1.0.21" rel="stylesheet" type="text/css" media="all">
|
|
<title>
|
|
The /r/place Atlas
|
|
</title>
|
|
|
|
<meta name="description" content="An Atlas of Reddit's /r/place, with information to each artwork of the canvas.">
|
|
<meta name="author" content="Roland Rytz">
|
|
<meta name="keywords" content="reddit, /r/place, april">
|
|
<meta name="application-name" content="/r/place Atlas">
|
|
<meta name="robots" content="index, follow">
|
|
|
|
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1, minimum-scale=1, user-scalable=no">
|
|
</head>
|
|
<body>
|
|
<div id="wrapper">
|
|
<header>
|
|
<a href="./">
|
|
<img id="logo" src="./_img/logo-100x100.png" height="50" width="50" alt="">
|
|
<h1 id="title">The /r/place Atlas</h1>
|
|
</a>
|
|
<!--nav>
|
|
<a id="viewLink" href="./" class="current">View</a>
|
|
<a id="drawLink" href="./?mode=draw">Draw</a>
|
|
<a id="aboutLink" href="./about.html">About</a>
|
|
</nav-->
|
|
</header>
|
|
|
|
<!--header class="mobile">
|
|
<a href="./">
|
|
<img id="logo" src="./_img/logo-100x100.png" height="50" width="50" alt="">
|
|
<h1>The /r/place Atlas</h1>
|
|
</a>
|
|
<nav>
|
|
<a id="viewLink" href="./" class="current">View</a>
|
|
<a id="drawLink" href="./?mode=draw">Draw</a>
|
|
<a id="aboutLink" href="./about.html">About</a>
|
|
</nav>
|
|
</header-->
|
|
|
|
<div id="container">
|
|
<canvas id="linesCanvas"></canvas>
|
|
<div id="innerContainer">
|
|
<canvas id="highlightCanvas" width="1000" height="1000"></canvas>
|
|
<img id="image" src="./_img/place-indexed.png" width="1000" height="1000" alt="Canvas of /r/place in the state of when the experiment was concluded." />
|
|
</div>
|
|
</div>
|
|
|
|
<div id="entriesListContainer">
|
|
<nav>
|
|
<a id="aboutLink" href="./about.html">About</a>
|
|
<a id="drawLink" href="./?mode=draw">Contribute</a>
|
|
</nav>
|
|
<div id="entriesListControls">
|
|
<input autofocus id="searchList" type="text" placeholder="Search...">
|
|
<span id="atlasSize"></span>
|
|
<div id="sortContainer"><label>Sort:</label>
|
|
<select id="sort">
|
|
<option value="shuffle">Random</option>
|
|
<option value="relevant" id="relevantOption" disabled>Relevant</option>
|
|
<option value="alphaAsc">↓ Alphabetical</option>
|
|
<option value="alphaDesc">↑ Alphabetical</option>
|
|
<option value="newest">Newest</option>
|
|
<option value="oldest">Oldest</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<div id="entriesList">
|
|
|
|
</div>
|
|
</div>
|
|
<div id="entriesListBackground"></div>
|
|
|
|
<button id="hideListButton"></button>
|
|
|
|
<div id="zoomControls"><button title="Zoom In" id="zoomInButton"></button><button title="Reset View" id="zoomResetButton"></button><button title="Zoom Out" id="zoomOutButton"></button></div>
|
|
|
|
<div id="drawControlsContainer">
|
|
<a id="drawBackButton" href="./">< Back to the Atlas</a>
|
|
<div id="drawControls">
|
|
<div>
|
|
<button id="undoButton" disabled>Undo</button>
|
|
<button disabled id="redoButton">Redo</button>
|
|
</div>
|
|
<button disabled id="finishButton">Finish (Enter)</button>
|
|
<button id="resetButton">Reset</button>
|
|
<label id="highlightUnchartedLabel" title="Highlight uncharted areas of the map" class="checkboxLabel">
|
|
<input type="checkbox" id="highlightUncharted" checked> Highlight Empty
|
|
</label>
|
|
<div id="objectInfo">
|
|
<label for="nameField">Name</label>
|
|
<input id="nameField" type="text" value="" placeholder="A short title">
|
|
<label for="descriptionField">Description</label>
|
|
<textarea id="descriptionField" placeholder="A short description to be understood by everyone"></textarea>
|
|
<label for="websiteField">Website</label>
|
|
<input id="websiteField" type="text" value="" placeholder="https://example.com">
|
|
<label for="subredditField">Subreddit</label>
|
|
<input id="subredditField" type="text" value="" placeholder="/r/example">
|
|
<div id="infoButtons">
|
|
<button id="cancelButton">Cancel</button>
|
|
<button id="exportButton">OK</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div id="hint">
|
|
<p>You can suggest new entries to the Atlas for art that isn't mapped yet.</p>
|
|
<p>Please read <a href="https://reddit.com/r/placeAtlas/comments/63afic/how_to_contribute/" target="_blank">this reddit post</a> for instructions.</p>
|
|
<p>Click anywhere on the image to start drawing a shape.
|
|
When you're happy with the result, click the "Finish" button above or press the Enter key.</p>
|
|
<p>You can then add more information about your object.</p>
|
|
</div>
|
|
</div>
|
|
|
|
<button class="hidden" id="closeObjectsListButton"></button>
|
|
<div id="objectsList">
|
|
<!--div class="object">
|
|
<h2>Tux</h2>
|
|
<p>Tux is the official mascot of the Linux operating system.</p>
|
|
<a href="Website">Website</a>
|
|
<a href="">/r/linux</a>
|
|
</div-->
|
|
</div>
|
|
|
|
<div id="exportOverlay" class="overlay">
|
|
<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/placeAtlas/">/r/placeAtlas</a> on Reddit.</p>
|
|
<p>I will then check it and add it to the atlas.</p>
|
|
<textarea cols="50" rows="5" id="exportString"></textarea>
|
|
<button id="exportCloseButton">Done</button>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="author">
|
|
Code by <a href="/" target="_blank" rel="author">Roland Rytz</a>. Source on <a target="_blank" href="https://github.com/RolandR/place-atlas">GitHub</a>.
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<script type="text/javascript" src="./_js/pointInPolygon.js?version=1.0"></script>
|
|
<script type="text/javascript" src="./_js/atlas.js?version=1.0.50"></script>
|
|
<script type="text/javascript" src="./_js/view.js?version=1.0.4"></script>
|
|
<script type="text/javascript" src="./_js/overlap.js?version=1.0.4"></script>
|
|
<script type="text/javascript" src="./_js/draw.js?version=1.0.3"></script>
|
|
<script type="text/javascript" src="./_js/main.js?version=1.0.3"></script>
|
|
|
|
<!--
|
|
<script type="text/javascript" src="./_js/minified.js?version=1.0.76"></script>
|
|
-->
|
|
|
|
|
|
</body>
|
|
</html>
|
|
|
|
|
|
|
|
|