Widget:Datei-Download: Unterschied zwischen den Versionen
Erscheinungsbild
Admin (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Admin (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
| Zeile 2: | Zeile 2: | ||
<div style="border: 1px solid #ddd; background: #fcfcfc; padding: 15px; margin: 10px 0; display: flex; align-items: center; border-radius: 8px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); max-width: 650px; font-family: sans-serif;"> | <div style="border: 1px solid #ddd; background: #fcfcfc; padding: 15px; margin: 10px 0; display: flex; align-items: center; border-radius: 8px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); max-width: 650px; font-family: sans-serif;"> | ||
<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|escape:url|default:plain}.png" width="40" alt="{$typ|escape|upper} Icon" /> | <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|escape}">{$name|escape}</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|escape|upper}</span> | Version: {$version|escape} | 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> | </widget> | ||
Version vom 17. März 2026, 15:33 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>