|
1 | 1 | <div class="container-fluid"> |
2 | | - <h3 class="mb-3">Phoenix AI Control Status</h3> |
| 2 | + <style> |
| 3 | + .alert.alert-success { |
| 4 | + text-shadow: none; |
| 5 | + background-color: #dff0d8; |
| 6 | + border: none; |
| 7 | + } |
| 8 | + .dark .alert.alert-success { |
| 9 | + text-shadow: none; |
| 10 | + background-color: #1e3a1e; /* Darker background for better contrast */ |
| 11 | + border: none; |
| 12 | + color: #e2e2e2; /* Lighter text for better contrast */ |
| 13 | + } |
| 14 | + .dark .text-success { |
| 15 | + color: #4caf50 !important; /* Brighter green in dark mode */ |
| 16 | + } |
| 17 | + .dark .border-success { |
| 18 | + border-color: #4caf50 !important; /* Match the text color */ |
| 19 | + } |
3 | 20 |
|
| 21 | + </style> |
4 | 22 | {{#status.isEnabled}} |
5 | 23 | <div class="alert alert-success border-start border-success border-4 mb-4"> |
6 | 24 | <p class="fs-5 mb-2"><strong>AI Status:</strong> <span class="text-success">✓ Enabled</span></p> |
7 | 25 | <p class="mb-0">{{status.message}}</p> |
8 | 26 | </div> |
9 | | - {{/status.isEnabled}} |
10 | | - |
11 | | - {{^status.isEnabled}} |
| 27 | + {{/status.isEnabled}} {{^status.isEnabled}} |
12 | 28 | <div class="alert alert-danger border-start border-danger border-4 mb-4"> |
13 | 29 | <p class="fs-5 mb-2"><strong>AI Status:</strong> <span class="text-danger">✗ Disabled</span></p> |
14 | 30 | <p class="mb-0">{{status.message}}</p> |
15 | 31 | </div> |
16 | | - {{/status.isEnabled}} |
17 | | - |
18 | | - {{#showConfigDetails}} |
| 32 | + {{/status.isEnabled}} {{#showConfigDetails}} |
19 | 33 | <div class="mb-4"> |
20 | 34 | <h4 class="mb-3">Configuration Details</h4> |
21 | 35 | <table class="table table-bordered table-striped"> |
@@ -49,7 +63,13 @@ <h4 class="mb-3">Configuration Details</h4> |
49 | 63 |
|
50 | 64 | <div class="mt-4"> |
51 | 65 | <h4 class="mb-3">Need to Control AI in Your Educational Institution?</h4> |
52 | | - <p>Visit <a href="https://docs.phcode.dev/docs/control-ai" target="_blank" class="link-primary">https://docs.phcode.dev/docs/control-ai</a> for documentation on how to:</p> |
| 66 | + <p> |
| 67 | + Visit |
| 68 | + <a href="https://docs.phcode.dev/docs/control-ai" target="_blank" class="link-primary" |
| 69 | + >https://docs.phcode.dev/docs/control-ai</a |
| 70 | + > |
| 71 | + for documentation on how to: |
| 72 | + </p> |
53 | 73 | <ul class="list-group list-group-flush mb-3"> |
54 | 74 | <li class="list-group-item">Disable AI features by default</li> |
55 | 75 | <li class="list-group-item">Allow specific users to access AI</li> |
|
0 commit comments