Designer aufgepasst: Verschönert unserer Raidreports!

    • Offizieller Beitrag

    Unser neues Raidreporttool befindet sich in der Testphase und möchte noch verschönert werden. Den Anfang macht das Benutzerfrontend der Raidreports. Der jetzoge Quellcode schaut so aus:


    HTML
    {if $Report[reporttype]==1 || $Report[reporttype]==2}                <table width="90%" id="raidmem">                  <tr>                    <td width="20%"><strong>Name</strong></td>                    <td width="20%"><strong>Gesamt</strong></td>                    <td width="10%"><strong>%</strong></td>                    <td width="15%"><strong>DPS</strong></td>                    <td width="15%"><strong>Aktiv</strong></td>                    <td width="15%"><strong>DPS(a)</strong></td>                  </tr>                {foreach from=$Report[data] item=$Data}                   <tr>                    <td><strong>{$Data[name]}</strong></td>                    <td>{$Data[total]|number_format:0}</td>                    <td>{$Data[prec]}</td>                    <td>{$Data[dpsa]|number_format:0}</td>                    <td>{$Data[active]}</td>                    <td>{$Data[dpse]|number_format:0}</td>                  </tr>                {/foreach}                </table>            {/if}            {if $Report[reporttype]==3 || $Report[reporttype]==4}                <table width="90%" id="raidmem">                  <tr>                    <td width="20%"><strong>Name</strong></td>                    <td width="20%"><strong>Gesamt</strong></td>                    <td width="10%"><strong>%</strong></td>                    <td width="15%"><strong>Overheal</strong></td>                    <td width="15%"><strong>DPS</strong></td>                    <td width="15%"><strong>Aktiv</strong></td>                    <td width="15%"><strong>DPS(a)</strong></td>                  </tr>                {foreach from=$Report[data] item=$Data}                   <tr>                    <td><strong>{$Data[name]}</strong></td>                    <td>{$Data[total]|number_format:0}</td>                    <td>{$Data[prec]}</td>                    <td>{$Data[overheal]}</td>                    <td>{$Data[hpsa]|number_format:0}</td>                    <td>{$Data[active]}</td>                    <td>{$Data[hpse]|number_format:0}</td>                  </tr>                {/foreach}                </table>            {/if}                        {if $Report[reporttype]==5 || $Report[reporttype]==7}                <table width="90%" id="raidmem">                  <tr>                    <td width="20%"><strong>Name</strong></td>                    <td width="20%"><strong>Gesamt</strong></td>                    <td width="10%"><strong>%</strong></td>                  </tr>                {foreach from=$Report[data] item=$Data}                   <tr>                    <td><strong>{$Data[name]}</strong></td>                    <td>{$Data[total]|number_format:0}</td>                    <td>{$Data[prec]}</td>                  </tr>                {/foreach}                </table>            {/if}            {if $Report[reporttype]==6}                <table width="90%" id="raidmem">                  <tr>                    <td width="20%"><strong>Name</strong></td>                    <td width="20%"><strong>Gesamt</strong></td>                    <td width="10%"><strong>%</strong></td>                     <td width="15%"><strong>Getroffen</strong></td>                    <td width="15%"><strong>im Schnitt für</strong></td>                  </tr>                {foreach from=$Report[data] item=$Data}                   <tr>                    <td><strong>{$Data[name]}</strong></td>                    <td>{$Data[total]|number_format:0}</td>                    <td>{$Data[prec]}</td>                    <td>{$Data[hits]}</td>                    <td>{$Data[avg]}</td>                                        </tr>                {/foreach}                </table>            {/if}


    Wer sich mit CSS und/oder SMARTY auskennt kann sich gerne einmal versuchen. Wenn es geht orientiert euch an den Farben die bereits im Forum vorkommen.


    Aber auch die Punktetabelle kann noch verschönert werden, vor allem die Symbole sind enfach nur schnell dahingeschmiert.
    übersicht.JPG


  • Die letzte Antwort auf dieses Thema liegt mehr als 365 Tage zurück. Das Thema ist womöglich bereits veraltet. Bitte erstelle ggf. ein neues Thema.

    • :)
    • :(
    • ;)
    • :P
    • ^^
    • :D
    • ;(
    • X(
    • :*
    • :|
    • 8o
    • =O
    • <X
    • ||
    • :/
    • :S
    • X/
    • 8)
    • ?(
    • :huh:
    • :rolleyes:
    • :love:
    • :pinch:
    • 8|
    • :cursing:
    • :wacko:
    • :thumbdown:
    • :thumbup:
    • :sleeping:
    • :whistling:
    • :evil:
    • :saint:
    • <3
    • :!:
    • :?:
    Maximale Anzahl an Dateianhängen: 10
    Maximale Dateigröße: 1 MB
    Erlaubte Dateiendungen: bmp, gif, jpeg, jpg, pdf, png, txt, zip
      Du kannst die Antworten mittels Drücken und Festhalten in ihrer Reihenfolge ändern. Du kannst 20 Antwortmöglichkeiten vorgeben.
      Das Ergebnis ist erst mit dem Ablauf der Umfrage oder der Abgabe einer Stimme sichtbar.