Plugin Directory

Changeset 3815992


Ignore:
Timestamp:
11/22/2026 12:55:42 AM (less than one hour ago)
Author:
albertosoliman
Message:

Release 1.6.15: refreshed admin design

Location:
albertoit-client-management-coaches/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • albertoit-client-management-coaches/trunk/README.txt

    r3731275 r3815992  
    55Tested up to: 7.1
    66Requires PHP: 7.4
    7 Stable tag: 1.6.14
     7Stable tag: 1.6.15
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
    … …  
    1414==================
    1515
    16 Version: 1.6.13
     16Version: 1.6.15
    1717
    1818Manage private coaching clients, sessions, relationships, and payments in WordPress.
    … …  
    196196== Changelog ==
    197197
     198= 1.6.15 =
     199* Refreshed the admin design with cleaner headers, cards, tables, tabs, form fields and a better mobile layout.
     200
    198201= 1.6.14 =
    199202* Added extension hooks lifecocl_record_saved and lifecocl_record_deleted so add-on plugins (such as Life Coach Clients Pro) can react to session changes in real time, for example to keep a calendar in sync.
  • albertoit-client-management-coaches/trunk/assets/admin.css

    r3721320 r3815992  
    1 .lifecocl-wrap{max-width:1200px}.lifecocl-header{display:flex;justify-content:space-between;align-items:center;margin:18px 0 20px}.lifecocl-header h1{margin-bottom:4px}.lifecocl-header p{margin:0;color:#646970}.lifecocl-client-id{font-weight:600!important;color:#2271b1!important}.lifecocl-card{background:#fff;border:1px solid #dcdcde;border-radius:8px;padding:22px;margin:18px 0;box-shadow:0 1px 2px rgba(0,0,0,.03)}.lifecocl-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(250px,1fr);gap:18px}.lifecocl-field{margin:0 0 18px}.lifecocl-field label{display:block;font-weight:600;margin-bottom:7px}.lifecocl-field label span{color:#d63638}.lifecocl-field input,.lifecocl-field select,.lifecocl-field textarea{width:100%;max-width:none;box-sizing:border-box}.lifecocl-field textarea{resize:vertical}.lifecocl-two,.lifecocl-three{display:grid;gap:18px}.lifecocl-two{grid-template-columns:1fr 1fr}.lifecocl-three{grid-template-columns:1fr 1fr 1.4fr}.lifecocl-search{display:flex;gap:8px;margin:0 0 18px}.lifecocl-search input{width:360px;max-width:100%}.lifecocl-status{display:inline-block;padding:3px 9px;border-radius:20px;font-size:12px;font-weight:600}.lifecocl-status.active{background:#e7f6ec;color:#176b32}.lifecocl-status.inactive{background:#f0f0f1;color:#50575e}.lifecocl-delete{color:#b32d2e}.lifecocl-count{font-size:12px;background:#f0f0f1;border-radius:15px;padding:3px 8px;margin-left:5px}.lifecocl-record{border-top:1px solid #dcdcde;padding:18px 0}.lifecocl-record:first-of-type{border-top:0}.lifecocl-record-head{display:flex;justify-content:space-between;margin-bottom:10px}.lifecocl-record-head span{color:#646970}.lifecocl-record-part{margin:12px 0}.lifecocl-record-part h3{font-size:13px;margin:0 0 5px}.lifecocl-record-part p{margin:0}.lifecocl-totals{display:grid;grid-template-columns:1fr 1fr;gap:18px}.lifecocl-total{background:#fff;border:1px solid #dcdcde;border-radius:8px;padding:18px}.lifecocl-total span{display:block;color:#646970;font-size:13px}.lifecocl-total strong{display:block;font-size:24px;margin-top:4px}@media(max-width:782px){.lifecocl-grid,.lifecocl-two,.lifecocl-three,.lifecocl-totals{grid-template-columns:1fr}.lifecocl-header{align-items:flex-start;gap:12px}.lifecocl-search{display:block}.lifecocl-search input{width:100%;margin-bottom:8px}.lifecocl-card{padding:15px;overflow-x:auto}.lifecocl-card form{min-width:0}.widefat{min-width:650px}}
    2 
    3 .lifecocl-attachments{margin:6px 0 0 18px}.lifecocl-attachments li{margin:7px 0}.lifecocl-attachments .button{margin-left:6px}
    4 
    5 .lifecocl-total small{display:block;margin-top:6px;color:#646970}.lifecocl-attachments{margin:0;padding-left:20px}.lifecocl-card .description{margin-top:5px}
    6 
    7 .lifecocl-used-sessions{display:inline-block;font-size:17px;font-weight:700;margin-top:4px}.lifecocl-total .lifecocl-used-sessions{color:#1d2327}
    8 
    9 .lifecocl-audit-details{line-height:1.55}.lifecocl-audit-details>div{margin:2px 0}.lifecocl-audit-section{margin:6px 0;padding:6px 8px;background:#f6f7f7;border-left:3px solid #dcdcde}.lifecocl-session-meta{margin:8px 0;color:#50575e}.lifecocl-support{border-left:4px solid #2271b1}.lifecocl-support h2{margin-top:0}
     1/**
     2 * Admin styles for Client Management for Coaches.
     3 */
     4
     5.lifecocl-wrap {
     6        max-width: 1240px;
     7        margin-right: 20px;
     8        color: #1d2327;
     9}
     10
     11.lifecocl-wrap h1 {
     12        font-size: 26px;
     13        line-height: 1.25;
     14        font-weight: 700;
     15        letter-spacing: -0.01em;
     16        margin: 0;
     17}
     18
     19.lifecocl-wrap h2 {
     20        font-size: 18px;
     21        line-height: 1.35;
     22        margin: 0 0 14px;
     23}
     24
     25.lifecocl-header {
     26        display: flex;
     27        justify-content: space-between;
     28        align-items: center;
     29        gap: 18px;
     30        margin: 20px 0;
     31        padding: 22px 26px;
     32        background: linear-gradient(135deg, #ffffff 0%, #f6f9fc 100%);
     33        border: 1px solid #e2e8f0;
     34        border-radius: 16px;
     35        box-shadow: 0 6px 24px rgba(15, 23, 42, 0.05);
     36}
     37
     38.lifecocl-header h1 {
     39        margin-bottom: 4px;
     40}
     41
     42.lifecocl-header p {
     43        margin: 0;
     44        color: #646970;
     45        font-size: 14px;
     46}
     47
     48.lifecocl-header .page-title-action {
     49        border-radius: 8px;
     50        padding: 9px 16px;
     51        font-weight: 600;
     52        line-height: 1.2;
     53}
     54
     55.lifecocl-client-id {
     56        font-weight: 600 !important;
     57        color: #2271b1 !important;
     58}
     59
     60.lifecocl-card {
     61        background: #fff;
     62        border: 1px solid #e2e8f0;
     63        border-radius: 14px;
     64        padding: 24px;
     65        margin: 18px 0;
     66        box-shadow: 0 4px 18px rgba(15, 23, 42, 0.045);
     67}
     68
     69.lifecocl-card > h2:first-child {
     70        margin-top: 0;
     71}
     72
     73.lifecocl-card > h2 {
     74        padding-bottom: 12px;
     75        border-bottom: 1px solid #f0f0f1;
     76        margin-bottom: 18px;
     77}
     78
     79.lifecocl-grid {
     80        display: grid;
     81        grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
     82        gap: 20px;
     83        align-items: start;
     84}
     85
     86.lifecocl-field {
     87        margin: 0 0 18px;
     88}
     89
     90.lifecocl-field label {
     91        display: block;
     92        font-weight: 600;
     93        margin-bottom: 7px;
     94        color: #3c434a;
     95}
     96
     97.lifecocl-field label span {
     98        color: #d63638;
     99}
     100
     101.lifecocl-field input,
     102.lifecocl-field select,
     103.lifecocl-field textarea {
     104        width: 100%;
     105        max-width: none;
     106        box-sizing: border-box;
     107        border-radius: 8px;
     108}
     109
     110.lifecocl-field input:focus,
     111.lifecocl-field select:focus,
     112.lifecocl-field textarea:focus {
     113        border-color: #2271b1;
     114        box-shadow: 0 0 0 1px #2271b1;
     115}
     116
     117.lifecocl-field textarea {
     118        resize: vertical;
     119}
     120
     121.lifecocl-field .description {
     122        margin-top: 6px;
     123}
     124
     125.lifecocl-two,
     126.lifecocl-three {
     127        display: grid;
     128        gap: 20px;
     129}
     130
     131.lifecocl-two {
     132        grid-template-columns: 1fr 1fr;
     133}
     134
     135.lifecocl-three {
     136        grid-template-columns: 1fr 1fr 1.4fr;
     137}
     138
     139.lifecocl-search {
     140        display: flex;
     141        gap: 8px;
     142        margin: 0 0 18px;
     143}
     144
     145.lifecocl-search input {
     146        width: 380px;
     147        max-width: 100%;
     148        border-radius: 8px;
     149}
     150
     151.lifecocl-search .button {
     152        border-radius: 8px;
     153}
     154
     155.lifecocl-wrap .button {
     156        border-radius: 7px;
     157}
     158
     159.lifecocl-wrap .button.button-large {
     160        border-radius: 8px;
     161        padding: 4px 18px;
     162}
     163
     164.lifecocl-wrap .nav-tab-wrapper {
     165        display: flex;
     166        flex-wrap: wrap;
     167        gap: 8px;
     168        border-bottom: 0;
     169        padding: 0;
     170        margin: 4px 0 20px;
     171}
     172
     173.lifecocl-wrap .nav-tab {
     174        border: 1px solid #dcdcde;
     175        background: #f6f7f7;
     176        border-radius: 999px;
     177        padding: 8px 16px;
     178        margin: 0;
     179        color: #50575e;
     180        font-weight: 600;
     181        line-height: 1.35;
     182        box-shadow: none;
     183}
     184
     185.lifecocl-wrap .nav-tab:hover {
     186        background: #eef2f7;
     187        border-color: #c3c4c7;
     188        color: #1d2327;
     189}
     190
     191.lifecocl-wrap .nav-tab-active,
     192.lifecocl-wrap .nav-tab-active:hover {
     193        background: #2271b1;
     194        border-color: #2271b1;
     195        color: #fff;
     196}
     197
     198.lifecocl-card .widefat {
     199        border: 0;
     200        box-shadow: none;
     201        margin: 0;
     202        table-layout: auto;
     203}
     204
     205.lifecocl-card .widefat thead th {
     206        background: #f8fafc;
     207        border-bottom: 1px solid #e2e8f0;
     208        padding: 12px 10px;
     209        font-weight: 600;
     210        color: #475569;
     211}
     212
     213.lifecocl-card .widefat tbody td {
     214        padding: 12px 10px;
     215        vertical-align: middle;
     216}
     217
     218.lifecocl-card .widefat.striped > tbody > :nth-child(odd) {
     219        background: #fbfdff;
     220}
     221
     222.lifecocl-card .widefat tbody tr:hover {
     223        background: #f1f7ff;
     224}
     225
     226.lifecocl-status {
     227        display: inline-block;
     228        padding: 3px 10px;
     229        border-radius: 999px;
     230        font-size: 12px;
     231        font-weight: 600;
     232        line-height: 1.5;
     233}
     234
     235.lifecocl-status.active,
     236.lifecocl-status.paid,
     237.lifecocl-status.confirmed {
     238        background: #e7f6ec;
     239        color: #176b32;
     240}
     241
     242.lifecocl-status.inactive,
     243.lifecocl-status.cancelled {
     244        background: #f0f0f1;
     245        color: #50575e;
     246}
     247
     248.lifecocl-status.unpaid,
     249.lifecocl-status.pending {
     250        background: #fcf3e6;
     251        color: #8a5a00;
     252}
     253
     254.lifecocl-status.partial {
     255        background: #eef6ff;
     256        color: #135e96;
     257}
     258
     259.lifecocl-delete {
     260        color: #b32d2e;
     261        font-weight: 500;
     262}
     263
     264.lifecocl-count {
     265        display: inline-block;
     266        font-size: 12px;
     267        background: #eef2f7;
     268        color: #50575e;
     269        border-radius: 999px;
     270        padding: 3px 9px;
     271        margin-left: 6px;
     272        vertical-align: middle;
     273}
     274
     275.lifecocl-record {
     276        border-top: 1px solid #f0f0f1;
     277        padding: 20px 0;
     278}
     279
     280.lifecocl-record:first-of-type {
     281        border-top: 0;
     282        padding-top: 0;
     283}
     284
     285.lifecocl-record-head {
     286        display: flex;
     287        justify-content: space-between;
     288        gap: 12px;
     289        margin-bottom: 10px;
     290}
     291
     292.lifecocl-record-head strong {
     293        font-size: 15px;
     294}
     295
     296.lifecocl-record-head span {
     297        color: #646970;
     298}
     299
     300.lifecocl-record-part {
     301        margin: 12px 0;
     302}
     303
     304.lifecocl-record-part h3 {
     305        font-size: 12px;
     306        text-transform: uppercase;
     307        letter-spacing: 0.04em;
     308        color: #646970;
     309        margin: 0 0 6px;
     310}
     311
     312.lifecocl-record-part p {
     313        margin: 0;
     314}
     315
     316.lifecocl-totals {
     317        display: grid;
     318        grid-template-columns: 1fr 1fr;
     319        gap: 20px;
     320}
     321
     322.lifecocl-total {
     323        background: #fff;
     324        border: 1px solid #e2e8f0;
     325        border-radius: 14px;
     326        padding: 20px;
     327        box-shadow: 0 4px 18px rgba(15, 23, 42, 0.045);
     328}
     329
     330.lifecocl-total span {
     331        display: block;
     332        color: #646970;
     333        font-size: 13px;
     334}
     335
     336.lifecocl-total strong {
     337        display: block;
     338        font-size: 26px;
     339        margin-top: 4px;
     340}
     341
     342.lifecocl-total small {
     343        display: block;
     344        margin-top: 6px;
     345        color: #646970;
     346}
     347
     348.lifecocl-used-sessions {
     349        display: inline-block;
     350        font-size: 17px;
     351        font-weight: 700;
     352        margin-top: 4px;
     353}
     354
     355.lifecocl-total .lifecocl-used-sessions {
     356        color: #1d2327;
     357}
     358
     359.lifecocl-attachments {
     360        margin: 0;
     361        padding-left: 20px;
     362}
     363
     364.lifecocl-attachments li {
     365        margin: 7px 0;
     366}
     367
     368.lifecocl-attachments .button {
     369        margin-left: 6px;
     370}
     371
     372.lifecocl-card .description {
     373        margin-top: 5px;
     374}
     375
     376.lifecocl-audit-details {
     377        line-height: 1.55;
     378}
     379
     380.lifecocl-audit-details > div {
     381        margin: 2px 0;
     382}
     383
     384.lifecocl-audit-section {
     385        margin: 6px 0;
     386        padding: 8px 10px;
     387        background: #f6f7f7;
     388        border-left: 3px solid #dcdcde;
     389        border-radius: 0 6px 6px 0;
     390}
     391
     392.lifecocl-session-meta {
     393        margin: 8px 0;
     394        color: #50575e;
     395}
     396
     397.lifecocl-support {
     398        border-left: 4px solid #2271b1;
     399        background: linear-gradient(135deg, #ffffff 0%, #f7fbff 100%);
     400}
     401
     402.lifecocl-support h2,
     403.lifecocl-support h3 {
     404        margin-top: 0;
     405}
     406
     407@media (max-width: 782px) {
     408        .lifecocl-wrap {
     409                margin-right: 10px;
     410        }
     411
     412        .lifecocl-grid,
     413        .lifecocl-two,
     414        .lifecocl-three,
     415        .lifecocl-totals {
     416                grid-template-columns: 1fr;
     417        }
     418
     419        .lifecocl-header {
     420                align-items: flex-start;
     421                gap: 12px;
     422                padding: 18px;
     423        }
     424
     425        .lifecocl-header .page-title-action {
     426                white-space: nowrap;
     427        }
     428
     429        .lifecocl-search {
     430                display: block;
     431        }
     432
     433        .lifecocl-search input {
     434                width: 100%;
     435                margin-bottom: 8px;
     436        }
     437
     438        .lifecocl-card {
     439                padding: 16px;
     440                overflow-x: auto;
     441        }
     442
     443        .lifecocl-card form {
     444                min-width: 0;
     445        }
     446
     447        .lifecocl-card .widefat {
     448                min-width: 650px;
     449        }
     450}
  • albertoit-client-management-coaches/trunk/life-coach-clients.php

    r3731275 r3815992  
    33 * Plugin Name: Client Management for Coaches - AlbertoIT
    44 * Description: A private client management system for coaches, with client records, coaching sessions, relationships and payment tracking. Designed by Albertoit.
    5  * Version: 1.6.14
     5 * Version: 1.6.15
    66 * Author: Albertoit
    77 * Author URI: https://albertoit.de/
    … …  
    1515}
    1616
    17 define( 'LIFECOCL_VERSION', '1.6.14' );
     17define( 'LIFECOCL_VERSION', '1.6.15' );
    1818define( 'LIFECOCL_FILE', __FILE__ );
    1919define( 'LIFECOCL_DIR', plugin_dir_path( __FILE__ ) );
Note: See TracChangeset for help on using the changeset viewer.