use custom css file instead of inline style
This commit is contained in:
parent
ab5b0b3929
commit
b7b0e6d610
3 changed files with 7 additions and 1 deletions
|
@ -32,6 +32,9 @@ class CRM_Twingle_Page_Profiles extends CRM_Core_Page {
|
|||
$this->assign('profiles', $profiles);
|
||||
$this->assign('profile_stats', CRM_Twingle_Profile::getProfileStats());
|
||||
|
||||
// Add custom css
|
||||
Civi::resources()->addStyleFile(E::LONG_NAME, 'css/twingle.css');
|
||||
|
||||
parent::run();
|
||||
}
|
||||
|
||||
|
|
3
css/twingle.css
Normal file
3
css/twingle.css
Normal file
|
@ -0,0 +1,3 @@
|
|||
.twingle-profile-list {
|
||||
border-bottom: 1px solid #cfcec3;
|
||||
}
|
|
@ -34,7 +34,7 @@
|
|||
<tbody>
|
||||
{foreach from=$profiles item=profile}
|
||||
{assign var="profile_name" value=$profile.name}
|
||||
<tr style="border-bottom: 1px solid #cfcec3;">
|
||||
<tr class="twingle-profile-list">
|
||||
<td>{$profile.name}</td>
|
||||
<td>
|
||||
{if not $profile.is_default}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue