Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: hacktyler/hacktyler-artmap
base: 1ad2b219fe
...
head fork: hacktyler/hacktyler-artmap
compare: 7697135410
Checking mergeability… Don't worry, you can still create the pull request.
  • 2 commits
  • 2 files changed
  • 0 commit comments
  • 1 contributor
Showing with 9 additions and 8 deletions.
  1. +1 −0  assets/css/art.css
  2. +8 −8 assets/index.html
View
1  assets/css/art.css
@@ -32,6 +32,7 @@ body { padding-top: 40px; }
.page { display: none; }
#map-canvas {
+ width: 100%;
position: absolute;
left: 0;
}
View
16 assets/index.html
@@ -54,7 +54,7 @@
<th>Title</th>
<th>Artist</th>
<th>Medium</th>
- <th>Creation date</th>
+ <th>Installation date</th>
</tr>
</thead>
<tbody id="artwork-list">
@@ -80,22 +80,22 @@
<script type="text/javascript" src="js/art.js"></script>
<script type="text/html" id="artwork" class="template">
- <h1><%= title %></h1>
+ <h1><%= title || "<em>Unknown</em>" %></h1>
<img src="<%= photo_url %>" />
- <h3>By <em><%= artist %></h3>
+ <h3>By <em><%= artist || "<em>Unknown</em>" %></h3>
<p>Medium: <%= medium %></p>
- <p><%= description || "<em>Description forthcoming...</em>" %></p>
- <p><% if (!creation_date) { %>Creation date unknown<% } else { %>Created on <%= creation_date %><% } %>.</p>
+ <% if (description) { %><p><%= description %></p><% } %>
+ <p><% if (!install_date) { %><em>Installation date unknown</em><% } else { %>Installed on <%= install_date %><% } %>.</p>
<p>Last seen on <%= last_seen_date %>.</p>
<a href="#map/<%= slug %>">View on map</a>
</script>
<script type="text/html" id="artwork-list-item" class="template">
<tr>
- <td><a href="#art/<%= slug %>"><%= title %></a></td>
- <td><%= artist %></td>
+ <td><a href="#art/<%= slug %>"><%= title || "<em>Unknown</em>" %></a></td>
+ <td><%= artist || "<em>Unknown</em>" %></td>
<td><%= medium %></td>
- <td><%= creation_date %></td>
+ <td><%= install_date || "<em>Unknown</em>" %></td>
</tr>
</script>

No commit comments for this range

Something went wrong with that request. Please try again.