#3139 www: style channelinfo hosts table
Merged 6 months ago by tkopecek. Opened 6 months ago by ktdreyer.
ktdreyer/koji www-channelinfo-style  into  master

@@ -31,14 +31,14 @@ 

        <th>Hosts</th>

        <td>

        #if $len($hosts) > 0

-       <table>

-         <tr>

+       <table class="data-list">

+         <tr class="list-header">

            <th>Hostname</th>

            <th>Enabled</th>

            <th>Ready</th>

          </tr>

        #for $host in $hosts

-         <tr>

+         <tr class="$util.rowToggle($self)">

            <td><a href="hostinfo?hostID=$host.id">$host.name</a></td>

            <td class="$str($bool($host.enabled)).lower()">#if $host.enabled then $util.imageTag('yes') else $util.imageTag('no')#</td>

            <td class="$str($bool($host.ready)).lower()">#if $host.ready then $util.imageTag('yes') else $util.imageTag('no')#</td>

This PR fixes the alignments and styles in the channelinfo page.

You can see the alignment problem in Fedora's theme, for example: https://koji.fedoraproject.org/koji/channelinfo?channelID=6

Metadata Update from @tkopecek:
- Pull-request tagged with: no_qe

6 months ago

Commit d9d68f1 fixes this pull-request

Pull-Request has been merged by tkopecek

6 months ago
Metadata