Redéfinition du container flex
This commit is contained in:
parent
f3fd793fb1
commit
9c2aab5f07
6 changed files with 7 additions and 22 deletions
|
@ -11,12 +11,9 @@
|
|||
<h1><a href="{{.WebAddress}}">{{.Hostname}}</a></h1>
|
||||
|
||||
<h2><code>{{.Filename}}</code></h2>
|
||||
<div class="duo">
|
||||
<div class="header">
|
||||
<span>{{.ContentType}}</span>
|
||||
<span>{{.ContentLength | format "# ###,"}} octets</span>
|
||||
</div>
|
||||
|
||||
<div class="duo">
|
||||
<a href="{{.URLGet}}">Télécharger</a>
|
||||
<a href="{{.WebAddress}}inline/{{.URLRandomToken}}/{{.Filename}}">Lien direct</a>
|
||||
</div>
|
||||
|
|
|
@ -11,12 +11,9 @@
|
|||
<h1><a href="{{.WebAddress}}">{{.Hostname}}</a></h1>
|
||||
|
||||
<h2><code>{{.Filename}}</code></h2>
|
||||
<div class="duo">
|
||||
<div class="header">
|
||||
<span>{{.ContentType}}</span>
|
||||
<span>{{.ContentLength | format "# ###,"}} octets</span>
|
||||
</div>
|
||||
|
||||
<div class="duo">
|
||||
<a href="{{.URLGet}}">Télécharger</a>
|
||||
<a href="{{.WebAddress}}inline/{{.URLRandomToken}}/{{.Filename}}">Lien direct</a>
|
||||
</div>
|
||||
|
|
|
@ -11,12 +11,9 @@
|
|||
<h1><a href="{{.WebAddress}}">{{.Hostname}}</a></h1>
|
||||
|
||||
<h2><code>{{.Filename}}</code></h2>
|
||||
<div class="duo">
|
||||
<div class="header">
|
||||
<span>{{.ContentType}}</span>
|
||||
<span>{{.ContentLength | format "# ###,"}} octets</span>
|
||||
</div>
|
||||
|
||||
<div class="duo">
|
||||
<a href="{{.URLGet}}">Télécharger</a>
|
||||
<a href="{{.WebAddress}}inline/{{.URLRandomToken}}/{{.Filename}}">Lien direct</a>
|
||||
</div>
|
||||
|
|
|
@ -11,12 +11,9 @@
|
|||
<h1><a href="{{.WebAddress}}">{{.Hostname}}</a></h1>
|
||||
|
||||
<h2><code>{{.Filename}}</code></h2>
|
||||
<div class="duo">
|
||||
<div class="header">
|
||||
<span>{{.ContentType}}</span>
|
||||
<span>{{.ContentLength | format "# ###,"}} octets</span>
|
||||
</div>
|
||||
|
||||
<div class="duo">
|
||||
<a href="{{.URLGet}}">Télécharger</a>
|
||||
<a href="{{.WebAddress}}inline/{{.URLRandomToken}}/{{.Filename}}">Lien direct</a>
|
||||
</div>
|
||||
|
|
|
@ -11,12 +11,9 @@
|
|||
<h1><a href="{{.WebAddress}}">{{.Hostname}}</a></h1>
|
||||
|
||||
<h2><code>{{.Filename}}</code></h2>
|
||||
<div class="duo">
|
||||
<div class="header">
|
||||
<span>{{.ContentType}}</span>
|
||||
<span>{{.ContentLength | format "# ###,"}} octets</span>
|
||||
</div>
|
||||
|
||||
<div class="duo">
|
||||
<a href="{{.URLGet}}">Télécharger</a>
|
||||
<a href="{{.WebAddress}}inline/{{.URLRandomToken}}/{{.Filename}}">Lien direct</a>
|
||||
</div>
|
||||
|
|
|
@ -11,13 +11,13 @@ body {
|
|||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
.duo {
|
||||
.header {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
.duo span, .duo a {
|
||||
.header span, .header a {
|
||||
flex: 1;
|
||||
padding: 15px;
|
||||
min-width: 10em;
|
||||
|
|
Loading…
Reference in a new issue