Dashboard
Messages
Advanced Chatbot
Subscribers
Workshops
Video Resources
Tai Chi Videos
Coach Pei Corner
Johanna Corner
BFSAN Inquiries
Programs
12-Week Risk Reduction
Command Center
Participants
Consent Audit
Baseline Review
Goal Configuration
Weekly Scoring
Interventions
Coach Messages
Analytics
Daily Logs
Email Templates
30-Day Challenge
Nutritional Wellness
Tai Chi Program
Pickleball Program
8-Week Challenge
Soon
Educational Seminar
Soon
System
Cookie Consent Logs
Testimonials
Submissions
Users
System Settings
View Website
Edit Knowledge
Log In
Edit Knowledge Base Item
← Back to List
Title
Category
SubCategory
User Intent
Primary Question
Keywords (comma separated)
Content (Knowledge provided to AI)
- Log & Analysis"; bool hasData = Model.Input.Id > 0; double moveTarget = Model.Goals.MovementMinutesPerSession > 0 ? (double)Model.Goals.MovementMinutesPerSession : 30.0; double stepsTarget = Model.Goals.TargetDailySteps > 0 ? (double)Model.Goals.TargetDailySteps : 10000.0; decimal waterGoal = Model.Goals.FluidIntakeGoalAmount; if (Model.Goals.FluidIntakeUnit == "cups") waterGoal *= 8; else if (Model.Goals.FluidIntakeUnit == "liters") waterGoal *= 33.814m; double waterTarget = waterGoal > 0 ? (double)waterGoal : 64.0; double sleepTarget = Model.Goals.SleepGoalHours > 0 ? (double)Model.Goals.SleepGoalHours : 7.0; } /* Tabs Navigation */ .tab-nav { display: flex; gap: 20px; border-bottom: 2px solid #e2e8f0; margin-bottom: 24px; } .tab-link { padding: 12px 16px; font-weight: 700; color: #718096; cursor: pointer; border-bottom: 3px solid transparent; transition: all 0.2s ease; } .tab-link:hover { color: var(--bp-green); } .tab-link.active { color: var(--bp-green); border-bottom-color: var(--bp-green); } .tab-content { display: none; } .tab-content.active { display: block; animation: fadeIn 0.4s ease forwards; } @@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } /* Form Styles */ .log-card { background: white; border-radius: 8px; padding: 32px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); border: 1px solid var(--bp-border); margin-bottom: 24px; } .form-group { margin-bottom: 20px; position: relative; } .form-label { display: block; font-weight: 600; margin-bottom: 8px; color: var(--bp-text); } .form-control { width: 100%; padding: 12px; border: 1px solid var(--bp-border); border-radius: 4px; box-sizing: border-box; font-size: 16px; transition: all 0.2s ease; } .form-control:focus { outline: none; border-color: var(--bp-green); box-shadow: 0 0 0 3px rgba(8, 85, 54, 0.1); } .section-title { color: var(--bp-green-dark); margin-top: 32px; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid var(--bp-border); } /* Interactive Feedback Styles */ .feedback-msg { font-size: 13px; font-weight: 600; margin-top: 6px; display: flex; align-items: center; gap: 6px; opacity: 0; transform: translateY(-5px); transition: all 0.3s ease; } .feedback-msg.show { opacity: 1; transform: translateY(0); } .feedback-success { color: #16a34a; } .feedback-warning { color: #e86f2a; } /* Analysis Styles */ .analysis-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-bottom: 30px; } .metric-card { background: #f8fafc; border-radius: 8px; padding: 20px; border: 1px solid #e2e8f0; position: relative; overflow: hidden; } .metric-title { font-size: 13px; font-weight: 800; text-transform: uppercase; color: #718096; letter-spacing: 0.5px; margin-bottom: 15px; display: flex; align-items: center; gap: 8px; } .metric-value { font-size: 32px; font-weight: 800; color: var(--bp-text); line-height: 1; } .progress-container { margin-top: 15px; background: #e2e8f0; height: 8px; border-radius: 4px; overflow: hidden; } .progress-bar { height: 100%; border-radius: 4px; transition: width 1s ease-in-out; } .progress-label { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; color: #718096; margin-top: 6px; } .hero-score-card { background: linear-gradient(135deg, #085536 0%, #16a34a 100%); color: white; padding: 30px; border-radius: 12px; text-align: center; margin-bottom: 30px; box-shadow: 0 10px 25px rgba(8, 85, 54, 0.2); } .hero-score-card h2 { margin: 0 0 10px 0; font-size: 18px; opacity: 0.9; } .hero-score-card .huge-score { font-size: 64px; font-weight: 900; line-height: 1; margin: 0; text-shadow: 0 2px 10px rgba(0,0,0,0.1); } Day @Model.DayNumber @if (Model.IsLocked) { Locked } @if (hasData) { Daily Report Analysis Edit Data Entry } else { Data Entry Daily Report Analysis } @if (hasData) { Total Points Earned Today @Model.Input.PointsEarned.ToString("0.#") @if (Model.Input.PointsEarned >= 80) { 🏆 Outstanding performance! You crushed it today. } else if (Model.Input.PointsEarned >= 50) { 👏 Great effort! Keep building those healthy habits. } else { 💪 Every step counts. Let's aim higher tomorrow! } Movement @Model.Input.MovementMinutes min @Model.Input.MovementActivity 0 Target: @moveTarget m Steps Today @Model.Input.StepsToday.ToString("N0") 0 Target: @stepsTarget.ToString("N0") Hydration @Model.Input.FluidIntakeAmount oz 0 Target: @Math.Round(waterTarget) oz Sleep @Model.Input.SleepHoursLastNight hrs 0 Target: @sleepTarget hrs Strength Training @(Model.Input.StrengthTrainingToday ? "Completed" : "Skipped") Social Support @(Model.Input.SocialActivityCompleted ? "Completed" : "Skipped") @if (Model.NutritionResult != null) { Today's Nutrition & Hydration Status: @(Model.NutritionResult.OverallStatus == "MET" ? "Met" : Model.NutritionResult.OverallStatus == "PARTIALLY_MET" ? "Partially Met" : "Not Met") @if (Model.NutritionResult.FruitVegStatus == "MET") { ✓ } else if (Model.NutritionResult.FruitVegStatus == "PARTIALLY_MET") { △ } else { ✗ } Fruit & Vegetable Goal @if (Model.NutritionResult.WholeGrainStatus == "MET") { ✓ } else if (Model.NutritionResult.WholeGrainStatus == "PARTIALLY_MET") { △ } else { ✗ } Whole Grain Goal @if (Model.NutritionResult.LeanProteinStatus == "MET") { ✓ } else if (Model.NutritionResult.LeanProteinStatus == "PARTIALLY_MET") { △ } else { ✗ } Protein Goal @if (Model.NutritionResult.UltraProcessedStatus == "MET") { ✓ } else if (Model.NutritionResult.UltraProcessedStatus == "PARTIALLY_MET") { △ } else { ✗ } Ultra-Processed Food Goal @if (Model.NutritionResult.HydrationStatus == "MET") { ✓ } else if (Model.NutritionResult.HydrationStatus == "PARTIALLY_MET") { △ } else { ✗ } Hydration Goal @if (Model.NutritionResult.SugarBeverageStatus == "MET") { ✓ } else if (Model.NutritionResult.SugarBeverageStatus == "PARTIALLY_MET") { △ } else { ✗ } Sugary Beverage Goal @Model.NutritionResult.FeedbackMessage } @if (Model.TodaysArticle != null) { Today's Nutrition Lesson @Model.TodaysArticle.Title @Model.TodaysArticle.EstimatedTimeMinutes-minute read @if (Model.ArticleCompleted) { Completed Today's Learning Goal Met } else { Read Article Mark as Complete } } } Movement Target: @moveTarget min, @stepsTarget.ToString("N0") steps Movement Activity -- Select an activity -- Brisk Walking Tai Chi Pickleball Running / Jogging Cycling Swimming Yoga / Stretching Strength Training Dancing Gardening / Yard Work Other Minutes Active Steps Today Completed Strength Training? TODAY'S NUTRITION 1. Fruits & Vegetables How many servings did you eat today? Fruit (Target: @Model.Goals.FruitServingsGoal) Vegetables (Target: @Model.Goals.VegetableServingsGoal) 2. Whole Grains & Fiber How many servings of whole grains or fiber-rich carbohydrates did you eat today? (Target: @Model.Goals.WholeGrainServingsGoal) Examples: Oatmeal, Brown rice, Whole-grain bread, High-fiber cereal, Beans, Lentils, Quinoa, Sweet potatoes Servings What did you have? (Optional) 3. Lean / Plant-Based Protein How many meals today included a lean or plant-based protein source? (Target: @Model.Goals.LeanProteinMealsGoal) Examples: Fish, Chicken, Eggs, Beans, Lentils, Nuts, Seeds, Tofu Meals What protein did you eat? (Optional) 4. Ultra-Processed Foods & Snacks How many times did you eat ultra-processed foods or snacks today? (Goal: @Model.Goals.UltraProcessedFoodMaxGoal or fewer) Examples: Chips, Cookies, Candy, Pastries, Sugary snacks Times today What did you have? (Optional) TODAY'S HYDRATION 5. Water / Healthy Fluids How much water or approved healthy fluid did you drink today? (Target: @Model.Goals.FluidIntakeGoalAmount @Model.Goals.FluidIntakeUnit) Amount Unit Ounces (oz) Cups Liters 6. Sugar-Sweetened Beverages How many sugar-sweetened beverages did you drink today? (Goal: @Model.Goals.SugarSweetenedBeverageMaxGoal or fewer) Examples: Regular soda, Sweet tea, Fruit punch, Energy drinks Beverages today OPTIONAL MEAL NOTES Breakfast Lunch Dinner Snack / Other Upload Today's Meal Photo @if (!string.IsNullOrEmpty(Model.Input.MealPhotoPath)) { } Restoration & Recovery Target: @sleepTarget hrs of sleep Sleep Hours Last Night Learning & Wellness Awareness Daily wellness learning Wellness Activity (e.g., Meditation, Reading, Journaling) Minutes Spent Completed a social or community wellness activity today? @if (!Model.IsLocked) { Save Day @Model.DayNumber Log } function switchTab(tabId, element) { if (element.style.cursor === 'not-allowed') return; // Hide all tabs document.querySelectorAll('.tab-content').forEach(el => el.classList.remove('active')); // Remove active from links document.querySelectorAll('.tab-link').forEach(el => el.classList.remove('active')); // Show selected tab document.getElementById('tab-' + tabId).classList.add('active'); element.classList.add('active'); } // Real-time Goal Validation Feedback function checkGoal(inputId, target, metricName) { const inputEl = document.getElementById(inputId); const feedbackEl = document.getElementById('feedback-' + inputId); const val = parseFloat(inputEl.value); if (isNaN(val) || val = target) { feedbackEl.innerHTML = ` Goal Met! You reached your target of ${target} ${metricName}.`; feedbackEl.className = 'feedback-msg show feedback-success'; } else { const remaining = target - val; let rmStr = Number.isInteger(remaining) ? remaining : remaining.toFixed(1); feedbackEl.innerHTML = ` Keep going! Only ${rmStr} more ${metricName} to reach your goal.`; feedbackEl.className = 'feedback-msg show feedback-warning'; } } // Trigger check on load for existing data document.addEventListener('DOMContentLoaded', () => { ['inp-move', 'inp-steps', 'inp-water', 'inp-sleep'].forEach(id => { const el = document.getElementById(id); if(el && el.value) { // Fire the oninput event to trigger the validation check el.dispatchEvent(new Event('input', { bubbles: true })); } }); });
Page Title
Page URL
Related Questions (JSON Array of strings)
Recommended Actions (JSON Array of objects)
[]
Active
Save Changes
Cancel