predator_pics/views/index.erb

21 lines
1.3 KiB
Plaintext
Raw Normal View History

2024-11-13 13:27:23 +00:00
<!--
Copyright (C) 2024 Hexaitos
This file is part of "Predator Pics"
Predator Pics is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
Predator Pics 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. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with Foobar. If not, see <https://www.gnu.org/licenses/>.
Contact: me@bateleur.org, me@hexaitos.com.
-->
2024-11-10 13:12:42 +00:00
<h1>Random bird of prey</h1>
<a href="<%= image[:url] %>" target="_blank">
<img class="refsheet" src="<%= image[:thumb] %>">
2024-11-10 13:12:42 +00:00
</a>
<p><strong>Description:</strong> <%= image[:desc] %></p>
<p><strong>Photo by:</strong> <%= image[:user_url] %></p>
<p><strong>Licensed under:</strong> <a href="<%= image[:license_url] %>"><%= image[:license] %></a></p>
<p><strong>URL:</strong> <a style = "white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: inline-block; max-width: 100%;" href="<%= image[:url] %>" target="_blank"><%= image[:url] %></a></p>