Revert William's ill-fated style improvements.
authorDavid Thompson <davet@gnu.org>
Mon, 17 Nov 2014 19:33:58 +0000 (14:33 -0500)
committerDavid Thompson <davet@gnu.org>
Mon, 17 Nov 2014 19:33:58 +0000 (14:33 -0500)
CRM/Memberdashboard/Page/Info.php
assets/css/style.css [deleted file]
templates/CRM/Memberdashboard/Page/MemberDashboard.tpl

index 7ff64662baba249956ffe6b897f913c942b20bff..8468e63d832cee8817405f89a6204c1ddfcf96a3 100644 (file)
@@ -43,8 +43,6 @@ class CRM_Memberdashboard_Page_Info extends CRM_Core_Page {
                               'assets/js/member-info.js');
     $resources->addScript("var memberDashboard = { profileId: $profileId };");
 
-    $resources->addStyleFile('org.fsf.memberdashboard', 'assets/css/style.css');
-
     $this->assign('profileId', $profileId);
 
     parent::run();
diff --git a/assets/css/style.css b/assets/css/style.css
deleted file mode 100644 (file)
index 89a188a..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-.landing-box {
-    color: white;
-    display: inline-block;
-    height: 150px;
-    width: 300px;
-    padding-left: 10px;
-    border-radius: 5px;
-}
-
-#benefits {
-    background-color: #9b59b6;
-}
-
-#communications {
-    background-color: #3498db;    
-}
-
-#info {
-    background-color: #2ecc71;
-}
-
-.dashboard-icon {
-    float: right;
-    font-size: 48px;
-    padding: 5px;
-}
index daf4a7de8bf684ab7ceaab095dc99adf6e64cf59..6b40840d271145db84f530fc5288a64069d3e70c 100644 (file)
   <https://www.gnu.org/licenses/>.
 *}
 
-<a href="https://crm.fsf.org/civicrm/member-dashboard/benefits" class="dashboard-link">
-<div class="landing-box" id="benefits">
-    <i class="fa fa-birthday-cake dashboard-icon" style=""></i>
-    <h3>Benefits</h3>
-    <p>Email aliases, XMPP accounts, and shop discount.</p>
-</div>
-</a>
-
-<a href="https://crm.fsf.org/civicrm/member-dashboard/communications" class="dashboard-link">
-<div class="landing-box" id="communications">
-<i class="fa fa-envelope dashboard-icon"></i>
-    <h3>Communications</h3>
-    <p>Modify subscriptions, view events, and change delivery preferences.</p>
-</div>
-</a>
-
-<a href="https://crm.fsf.org/civicrm/member-dashboard/info" class="dashboard-link">
-<div class="landing-box" id="info">
-<i class="fa fa-info-circle dashboard-icon"></i>
-    <h3>My info</h3>
-    <p>Change language preferences, modify shipping address, and contact information.</p>
-</div>
-</a>
-
 {include file="CRM/Memberdashboard/Page/DashboardElement.tpl"
          element=$dashboardElements.CiviMember }