Widget:Datei-Download: Unterschied zwischen den Versionen
Erscheinungsbild
Admin (Diskussion | Beiträge) KKeine Bearbeitungszusammenfassung |
Admin (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
| (3 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
| Zeile 1: | Zeile 1: | ||
< | <widget> | ||
<div style="border: 1px solid #ddd; background: #fcfcfc; padding: 15px; margin: 10px 0; display: flex; align-items: center; border-radius: 3px; box-shadow: 0 2px 3px rgba(0,0,0,0.1); max-width: 450px; font-family: sans-serif;"> | |||
<div style="border: 1px solid #ddd; background: #fcfcfc; padding: 15px; margin: 10px 0; display: flex; align-items: center; border-radius: | |||
<div style="flex: 0 0 50px; text-align: center;"> | <div style="flex: 0 0 50px; text-align: center;"> | ||
<img src="/resources/assets/file-type-icons/fileicon-{$typ}.png" width="40" /> | <img src="/resources/assets/file-type-icons/fileicon-<!--{$typ|escape:url|default:plain}-->.png" width="40" alt="<!--{$typ|escape|upper}--> Icon" /> | ||
</div> | </div> | ||
<div style="flex: 1; padding-left: 20px;"> | <div style="flex: 1; padding-left: 20px;"> | ||
<div style="font-weight: bold; font-size: 1.1em; margin-bottom: 4px;"> | <div style="font-weight: bold; font-size: 1.1em; margin-bottom: 4px;"> | ||
<a href="/index.php/Media:{$datei}">{$name}</a> | <a href="/index.php/Media:<!--{$datei|escape}-->"><!--{$name|escape}--></a> | ||
</div> | </div> | ||
<div style="color: #666; font-size: 0.9em;"> | <div style="color: #666; font-size: 0.9em;"> | ||
Format: <span style="text-transform: uppercase; font-weight: bold; color: #333;">{$typ}</span> | Version: {$version} | Format: <span style="text-transform: uppercase; font-weight: bold; color: #333;"><!--{$typ|escape|upper}--></span> | Version: <!--{$version|escape}--> | ||
</div> | </div> | ||
</div> | </div> | ||
<div style="flex: 0 0 120px; text-align: right;"> | <div style="flex: 0 0 120px; text-align: right;"> | ||
<a href="/index.php/Media:{$datei}" style="display: inline-block; padding: 8px 16px; background: #36c; color: white; border-radius: 4px; font-weight: bold; text-decoration: none; font-size: 0.9em;">Download</a> | <a href="/index.php/Media:<!--{$datei}-->" style="display: inline-block; padding: 8px 16px; background: #36c; color: white; border-radius: 4px; font-weight: bold; text-decoration: none; font-size: 0.9em;">Download</a> | ||
</div> | </div> | ||
</div> | </div> | ||
</ | </widget> | ||
Aktuelle Version vom 17. März 2026, 17:44 Uhr
<widget>
<img src="/resources/assets/file-type-icons/fileicon-.png" width="40" alt=" Icon" />
<a href="/index.php/Media:"></a>
Format: | Version:
<a href="/index.php/Media:" style="display: inline-block; padding: 8px 16px; background: #36c; color: white; border-radius: 4px; font-weight: bold; text-decoration: none; font-size: 0.9em;">Download</a>
</widget>