screengrab/lib/screengrab/page.html.erb in fastlane-2.94.0.beta.20180427050031 vs screengrab/lib/screengrab/page.html.erb in fastlane-2.94.0.beta.20180428050023
- old
+ new
@@ -63,15 +63,15 @@
z-index: 20;
}
</style>
</head>
<body><% image_counter = 0 %><% @data.each do |language, content| %>
- <h1 class="language"><%= language %></h1>
+ <h1 id="<%= language %>" class="language"><%= language %></h1>
<hr>
<table><% content.each do |device_name, screens| %>
<tr>
<th colspan="<%= screens.count %>">
- <span class="deviceName"><%= device_name %></span>
+ <a id="<%= language %>-<%= device_name %>" class="deviceName" href="#<%= language %>-<%= device_name %>"><%= device_name %></a>
</th>
</tr>
<tr><% screens.each do |screen_path| %><% next if screen_path.include?"_framed.png" %>
<td><% image_counter += 1 %>
<a href="<%= screen_path %>" target="_blank" class="screenshotLink">