From: Anthony Talarico Date: Wed, 5 Apr 2017 18:30:30 +0000 (-0400) Subject: adding link icon to the last name of the results table to make it stand out X-Git-Tag: v1.0.0^2~7 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=a748b36b754e249a35efe97e080902d2b9ad2327;p=WP-Plugins%2Fglm-member-db-obits.git adding link icon to the last name of the results table to make it stand out --- diff --git a/assets/link.png b/assets/link.png new file mode 100644 index 0000000..c0c2f45 Binary files /dev/null and b/assets/link.png differ diff --git a/css/front.css b/css/front.css index 95f2697..a5f822c 100644 --- a/css/front.css +++ b/css/front.css @@ -173,6 +173,7 @@ table.footable{ } .glm-alpha-link, .detail-link{ color: #1d3961; + text-decoration: underline; } .glm-alpha-link.selected-alpha{ color: #a62800; @@ -238,6 +239,18 @@ table.footable{ } } /* FOO TABLE STYLES */ +.footable-first-column .detail-link { + background-attachment: scroll !important; + background-clip: border-box !important; + background-color: rgba(0, 0, 0, 0) !important; + background-image: url("../assets/link.png") !important; + background-origin: padding-box !important; + background-position: left 4px; + background-repeat: no-repeat; + background-size: 13px auto; + display: block; + padding-left: 20px; +} body .footable > thead > tr > th, .footable > thead > tr > td{ background-color: #3B76C4 !important; border: 1px solid #3B76C4; diff --git a/models/front/obits/search.php b/models/front/obits/search.php index 3bcb6be..a8e6948 100644 --- a/models/front/obits/search.php +++ b/models/front/obits/search.php @@ -114,7 +114,7 @@ class GlmMembersFront_obits_search extends GlmDataObits $logic_dropdown = array('Contains' => 'LIKE' ,'Starts With' => 'LIKE%','Equals' => '=', 'More than' => '>', 'Less than' => '<'); $per_page = isset( $_REQUEST['results-limit']) ? (int)filter_var( $_REQUEST['results-limit'], FILTER_SANITIZE_STRING) : 50; - +// echo $per_page; // only execute search if the search button is clicked or there are search params in the url if ( isset( $_REQUEST['searchButton'] ) || !empty( $_GET['alpha'] ) || !empty( $_GET['pageSelect'] ) ){ diff --git a/views/front/obits/searchResults.html b/views/front/obits/searchResults.html index bada8a4..c942d44 100644 --- a/views/front/obits/searchResults.html +++ b/views/front/obits/searchResults.html @@ -267,7 +267,7 @@ {foreach from=$obits item=i} - {$i.last_name} + {$i.last_name} {$i.first_mid} {if $i.b_year == 0}