Sha256: b9f9c6fd71af3dbf36f6123709838d1849069898b34f642bd5e779bd26834e91
Contents?: true
Size: 1.42 KB
Versions: 1
Compression:
Stored size: 1.42 KB
Contents
<html> <head> <style> body { max-width: 800px; padding: 2rem; margin: 0 auto; font-family: sans-serif; font-size: 1em; color: #333; background: #f7f7f7; display: grid; grid-template-columns: ; } h1, a { color: #0074D9; } ul, li { padding: 0; margin: 0; list-style: none; } ul { margin: 2em 0; } .Card { display: flex; align-items: center; border-radius: 5px; padding: 0 1em; margin-bottom: 1em; box-shadow: 0 2px 5px rgba(0,0,0,0.1); background-color: #fff; border: 1px solid #eee; transition: all 0.1s ease; } .Card:hover { border: 1px solid #ccc; } .Card__link { margin: 1em; margin-left: 3em; text-decoration: none; } .Card__link:hover { text-decoration: underline; } .Card__title { min-width: 5rem; font-size: 1.2rem; } </style> </head> <body> <h1>Available API versions</h1> <ul> <% spec_by_version.each do |version, spec| %> <li class="Card"> <h2 class="Card__title"><%= version %></h2> <a class="Card__link" target="_blank" href= "<%= original_fullpath %>/<%= version %>">Documentation</a> <a class="Card__link" target="_blank" href= "<%= original_fullpath %>/<%= version %>.yaml">Specification</a> </li> <% end %> </ul> </body> </html>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mountapi-0.11.1 | lib/mountapi/templates/list.html.erb |