Commit 40ea271c authored by dmorley's avatar dmorley

soften FB on UI. Use same icons on map.

parent 7fb1c9ae
Pipeline #616 passed with stage
in 4 minutes and 43 seconds
......@@ -84,7 +84,7 @@ $country_code = $_SERVER['HTTP_CF_IPCOUNTRY'] ?? '';
<th class="columnSelector-false" data-priority="5"><div data-toggle="tooltip" title="Pod City, based on IP Geolocation.">City</div></th>
<th class="columnSelector-false" data-priority="5"><div data-toggle="tooltip" title="Pod State, based on IP Geolocation.">State</div></th>
<th class="columnSelector-false filter-select"><div data-toggle="tooltip" title="Pod language detected from their main page text.">Language</div></th>
<th data-placeholder="Try: facebook AND twitter" class="filter-match" data-priority="3" data-selector-name="All Services"><div data-toggle="tooltip" title="External Social Networks this pod can post to." class="filter-false">Services</div></th>
<th data-placeholder="Try: tumblr AND twitter" class="filter-match" data-priority="3" data-selector-name="All Services"><div data-toggle="tooltip" title="External Social Networks this pod can post to." class="filter-false">Services</div></th>
<th data-priority="6" data-selector-name="Podmin Info"><div data-toggle="tooltip" title="Click for more information about this pod from the pod host (podmin).">Info</div></th>
</tr>
</thead>
......
......@@ -71,21 +71,23 @@ try {
($pod['service_xmpp'] ?? false) && $services[] = 'xmpp';
$services_list = [
'facebook' => ['fa' => 'fab fa-facebook-f', 'title' => 'Publish to Facebook'],
'twitter' => ['fa' => 'fab fa-twitter', 'title' => 'Publish to Twitter'],
'tumblr' => ['fa' => 'fab fa-tumblr', 'title' => 'Publish to Tumblr'],
'wordpress' => ['fa' => 'fab fa-wordpress-simple', 'title' => 'Publish to WordPress'],
'xmpp' => ['fa' => 'fas fa-comments', 'title' => 'XMPP chat server'],
'appnet' => ['fa' => 'fas fa-th', 'title' => 'Publish to App.net'],
'atom1.0' => ['fa' => 'fas fa-rss', 'title' => 'Publish to Atom'],
'blogger' => ['fa' => 'fab fa-blogger-b', 'title' => 'Publish to Blogger'],
'gnusocial' => ['fa' => 'fab fa-grunt', 'title' => 'Publish to GNUSocial'],
'google' => ['fa' => 'fab fa-google', 'title' => 'Publish to Google+'],
'libertree' => ['fa' => 'fas fa-tree', 'title' => 'Publish to Libertree'],
'linkedin' => ['fa' => 'fab fa-linkedin-in', 'title' => 'Publish to LinkedIn'],
'livejournal' => ['fa' => 'fas fa-pencil-alt', 'title' => 'Publish to Live Journal'],
'pinterest' => ['fa' => 'fab fa-pinterest-p', 'title' => 'Publish to Pinterest'],
'pumpio' => ['fa' => 'fas fa-greater-than', 'title' => 'Publish to Pump.io'],
'facebook' => ['img' => 'node_modules/simple-icons/icons/facebook.svg', 'title' => 'Publish to Facebook'],
'twitter' => ['img' => 'node_modules/simple-icons/icons/twitter.svg', 'title' => 'Publish to Twitter'],
'tumblr' => ['img' => 'node_modules/simple-icons/icons/tumblr.svg', 'title' => 'Publish to Tumblr'],
'wordpress' => ['img' => 'node_modules/simple-icons/icons/wordpress.svg', 'title' => 'Publish to WordPress'],
'xmpp' => ['img' => 'images/xmpp.svg', 'title' => 'XMPP chat server'],
'appnet' => ['img' => 'images/app-net.svg', 'title' => 'Publish to App.net'],
'atom1.0' => ['img' => 'node_modules/simple-icons/icons/atom.svg', 'title' => 'Publish to Atom'],
'rss2.0' => ['img' => 'node_modules/simple-icons/icons/atom.svg', 'title' => 'Publish to RSS'],
'blogger' => ['img' => 'node_modules/simple-icons/icons/blogger.svg', 'title' => 'Publish to Blogger'],
'gnusocial' => ['img' => 'node_modules/simple-icons/icons/gnusocial.svg', 'title' => 'Publish to GNUSocial'],
'google' => ['img' => 'node_modules/simple-icons/icons/google.svg', 'title' => 'Publish to Google+'],
'libertree' => ['img' => 'images/libertree.svg', 'title' => 'Publish to Libertree'],
'medium' => ['img' => 'node_modules/simple-icons/icons/medium.svg', 'title' => 'Publish to Medium'],
'linkedin' => ['img' => 'node_modules/simple-icons/icons/linkedin.svg', 'title' => 'Publish to LinkedIn'],
'livejournal' => ['img' => 'node_modules/simple-icons/icons/livejournal.svg', 'title' => 'Publish to Live Journal'],
'pinterest' => ['img' => 'node_modules/simple-icons/icons/pinterest.svg', 'title' => 'Publish to Pinterest'],
'pumpio' => ['img' => 'images/pumpio.svg', 'title' => 'Publish to Pump.io'],
];
foreach ($services as $service) {
......@@ -95,8 +97,8 @@ try {
}
$feat .= sprintf(
'<div class="smlogo mr-sm-1"><i class="%1$s" data-toggle="tooltip" title="%2$s"></i></div>',
$services_list[$service]['fa'],
'<div class="smlogo mr-sm-1"><img src="%1$s" data-toggle="tooltip" title="%2$s" height="16" width="16"/></div>',
$services_list[$service]['img'],
$services_list[$service]['title']
);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment