Feat : proposal to standardize behavior of click on Com_Name and Sci_Name (#116)
* Align with 3 logos : wikipedia ; info_site ; minigraph * Add info & wiki.png * Rename wikipedia.png to wiki.png * Show icons on recent detections * icons with white background * Align icons with scientific name to center common name * Add icons * Not sure what this makes * Correct link to info_site * Restore initial cleaner layout * Have same behavior for title than the overview * Add icons of info and wikipedia to recordings * Add icons * Clean * Improve icons size * Add icons to species stats * Put icons near sci_name * Remove pictures from mobile on main page for small screens * Other solution for mobile * Improve visibility on smaller screen and consistency * Improve visibility on smaller screen and consistency * Improve readability on small screens * Improve readability on small screens * Set image size for smaller screens * Make scientific name in italics * Sci_name in italics * Add sci_name in Italics for consistency * Inline icons with scientific text for consistency * Italics for todays scientific name
This commit is contained in:
+10
-6
@@ -562,9 +562,11 @@ $sciname = get_sci_name($name);
|
||||
$info_url = get_info_url($sciname);
|
||||
$url = $info_url['URL'];
|
||||
echo "<table>
|
||||
<tr>
|
||||
<th><a href=\"$url\" target=\"top\">$name</a></th>
|
||||
</tr>";
|
||||
<tr><th>$name<br><span style=\"font-weight:normal;\">
|
||||
<i>$sciname</i></span><br>
|
||||
<a href=\"$url\" target=\"_blank\"><img title=\"$url_title\" src=\"images/info.png\" width=\"20\"></a>
|
||||
<a href=\"https://wikipedia.org/wiki/$sciname\" target=\"_blank\"><img title=\"Wikipedia\" src=\"images/wiki.png\" width=\"20\"></a>
|
||||
</th></tr>";
|
||||
$iter=0;
|
||||
while($results=$result2->fetchArray(SQLITE3_ASSOC))
|
||||
{
|
||||
@@ -649,9 +651,11 @@ echo "<table>
|
||||
$info_url = get_info_url($sciname);
|
||||
$url = $info_url['URL'];
|
||||
echo "<table>
|
||||
<tr>
|
||||
<th><a href=\"$url\" target=\"top\">$name</a></th>
|
||||
</tr>";
|
||||
<tr><th>$name<br>
|
||||
<i>$sciname</i><br>
|
||||
<a href=\"$url\" target=\"_blank\"><img title=\"$url_title\" src=\"images/info.png\" width=\"20\"></a>
|
||||
<a href=\"https://wikipedia.org/wiki/$sciname\" target=\"_blank\"><img title=\"Wikipedia\" src=\"images/wiki.png\" width=\"20\"></a>
|
||||
</th></tr>";
|
||||
while($results=$result2->fetchArray(SQLITE3_ASSOC))
|
||||
{
|
||||
$comname = preg_replace('/ /', '_', $results['Com_Name']);
|
||||
|
||||
Reference in New Issue
Block a user