123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>{{.Data.Title}} — a·muse</title>
- <link rel="stylesheet" href="/static/style/style.css" />
- <link rel="icon" type="image/svg+xml" href="/static/img/logo.svg">
- <link rel="apple-touch-icon" type="image/svg+xml" href="/static/img/logo.svg">
- </head>
- <body>
- <header class="w12 padding-bottom-_25 flex flex-row flex-justify-space flex-align-centre bg-primary">
- <a href="/" class="decoration-none">
- <h1 class="inline valign-mid text-white sans margin-lr-1">a·muse</h1>
- </a>
- <form action="/items/" method="get" class="flex inline margin-lr-1 border-bottom-white">
- <input type="search" name="q" class="phone-max-width-8 border-none bg-none sans text-white" placeholder="{{.Strings.Global.search}}" />
- </form>
- <div class="margin-lr-1 text-white">
- {{ if .State.User.IsEmpty }}
- <a href="/login" class="decoration-none sans">{{.Strings.Global.log_in}}</a>
- —
- <a href="/signup" class="decoration-none sans">{{.Strings.Global.sign_up}}</a>
- {{ else }}
- <nav class="text">
- <label for="hamburger" class="cursor-hand">
- <img src="/users/{{.State.User.Username}}/avatar?size=small" class="border-radius-25 width-1_5"/>
- </label>
- <input type="checkbox" id="hamburger" class="display-none" />
- <ul class="absolute right top-1 padding-lr-1 padding-tb-_5 bg align-right list-style-none sans">
- <!--<li><a href="/users/{{.State.User.Username}}" class="decoration-none text-accent">{{.Strings.Global.account}}</a><span class="material-icon padding-lr-_5"></span></li>-->
- <li><a href="/users/{{.State.User.Username}}/watchlist" class="decoration-none text-accent">{{.Strings.Global.watchlist}}</a><span class="material-icon padding-lr-_5"></span></li>
- <li><a href="/users/{{.State.User.Username}}/tvqueue" class="decoration-none text-accent">{{.Strings.Global.tv_queue}}</a><span class="material-icon padding-lr-_5"></span></li>
- <li><a href="/users/{{.State.User.Username}}/readlist" class="decoration-none text-accent">{{.Strings.Global.readlist}}</a><span class="material-icon padding-lr-_5"></span></li>
- <li><a href="/users/{{.State.User.Username}}/experiences" class="decoration-none text-accent">{{.Strings.Global.experiences}}</a><span class="material-icon padding-lr-_5"></span></li>
- <li class="bg-error">
- <form action="/users/{{.State.User.Username}}/sessions/{{.State.User.Session}}" method="POST" class="inline">
- <input type="hidden" value="DELETE" name="method" />
- <input type="submit" value="{{.Strings.Global.log_out}}" class="border-none bg-none font-normal text-accent padding-lr-0 cursor-hand font-1" />
- </form><span class="material-icon padding-lr-_5 text-white"></span>
- </li>
- </ul>
- </nav>
- {{ end }}
- </div>
- </header>
- <div class="absolute top behind w12">
- <img src="/static/img/book_backdrop.webp" class="w12 cover height-30" /> <!-- Photo by [Janko Ferlic](https://www.pexels.com/@thepoorphotographer) from [Pexels](https://www.pexels.com/photo/blur-book-stack-books-bookshelves-590493/) -->
- <div class="on-desktop relative bottom-4 sans inline-block w12 padding-l-16 font-3 bg-gradient">
- <span class="text-white">{{.Data.Title}}</span>
- </div>
- </div>
- <main class="margin-top-20 margin-lr-5 flex flex-row flex-wrap flex-justify-space flex-align-start margin-bottom-2">
- <div class="desktop-w3 phone-w12 margin-bottom-2">
- {{if .Data.Cover}}
- <img src="{{.Data.Cover}}" class="min-height-231px block width-154px">
- {{else}}
- <img src="/static/img/bookserie_empty.webp" class="min-height-231px block width-154px" />
- {{end}}
- <div class="on-phone">
- <span class="sans font-3">{{.Data.Title}}</span>
- </div>
- <p class="sans text-grey margin-top-1 margin-bottom-_5"><span class="material-icon"></span> {{$.Strings.BookSerie.author}}</p>
- <p class="margin-lr-1 sans margin-tb-_5">{{range .Data.Authors}} {{.}}<br/> {{end}}</p>
- {{if .Data.Genres}}
- <p class="sans text-grey margin-top-1 margin-bottom-_5"><span class="material-icon"></span> {{$.Strings.BookSerie.genre}}</p>
- <p class="margin-lr-1 sans margin-tb-_5">{{range .Data.Genres}} {{.}}<br/> {{end}}</p>
- {{end}}
- <p class="sans text-grey margin-top-1 margin-bottom-_5"><span class="material-icon"></span> {{$.Strings.BookSerie.source}}</p>
- <p class="margin-lr-1 sans margin-tb-_5">{{range .Data.Source}}<a href="{{.Url}}">{{.Name}}</a><br/>{{end}}</p>
- </div>
- <div class="desktop-w6 phone-w12 margin-top-10 padding-lr-2 margin-bottom-2">
- <p>{{.Data.Description}}</p>
- <hr class="material-icon text-grey hr-book"/>
- {{if .Data.SortedParts}}
- <p class="sans font-2">{{.Strings.BookSerie.in_this_collection}}:</p>
- <div class="flex flex-row flex-wrap flex-justify-space flex-align-start">
- {{range .Data.SortedParts}}
- <a href="{{.Uri}}" class="decoration-none margin-tb-1 margin-lr-1 force-width-16 no-outline">
- <div class="flex">
- <div>
- {{if .Cover}}
- <img src="{{.Cover}}" class="min-height-139px width-92px" />
- {{else}}
- <img src="/static/img/book_empty.webp" class="min-height-139px width-92px" />
- {{end}}
- </div>
- <div class="margin-lr-1">
- <span class="sans font-_875 text-grey">{{.Ordinal}}</span>
- <p class="sans">{{.Title}}</p>
- </div>
- </div>
- </a>
- {{end}}
- </div>
- {{end}}
- </div>
- <div class="desktop-w3 phone-w12 margin-top-10 flex phone-flex-flow">
- </div>
- </main>
- </body>
- </html>
|