Skip to content

Commit cc3898c

Browse files
committed
notify ai rollout date in dialog
1 parent 6051296 commit cc3898c

File tree

2 files changed

+38
-2
lines changed

2 files changed

+38
-2
lines changed

html/browser-message.html

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,25 @@
5454
color: #5c9eff !important;
5555
}
5656

57+
.alert-notification {
58+
background-color: #e7f3fe;
59+
border-color: #2196F3;
60+
color: black;
61+
}
62+
.dark .alert-notification {
63+
background-color: #0d2a3f;
64+
border-color: #2196F3;
65+
color: #ccc;
66+
}
67+
68+
.info {
69+
color: black;
70+
}
71+
72+
.dark .info {
73+
color: white;
74+
}
75+
5776
/* Status display control */
5877
#checkingStatus {
5978
display: block;
@@ -63,6 +82,10 @@
6382
}
6483
</style>
6584

85+
<div class="alert alert-notification border-start border-info border-4 mb-4">
86+
<p class="mb-0"><strong>Important Notice:</strong> Phoenix Code AI will be rolled out after May 20, 2025. Educational institutions should follow <a href="https://docs.phcode.dev/docs/control-ai" target="_blank" class="link-primary">this guide</a> to disable/configure AI campus-wide before this date.</p>
87+
</div>
88+
6689
<div id="checkingStatus" class="alert alert-secondary border-start border-secondary border-4 mb-4">
6790
<p class="fs-5 mb-2"><strong>AI Status:</strong> Checking if AI is disabled...</p>
6891
</div>
@@ -77,7 +100,7 @@
77100

78101
<div class="mt-4">
79102
<h4 class="mb-3">Need to Restrict Phoenix Code AI at School or Work?</h4>
80-
<p>
103+
<p class="info">
81104
Visit
82105
<a href="https://docs.phcode.dev/docs/control-ai" target="_blank" class="link-primary">https://docs.phcode.dev/docs/control-ai</a>
83106
for documentation on how to:

html/status-template.html

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,21 @@
2323
.dark .table-bordered th {
2424
border-color: #333 !important;
2525
}
26-
26+
.alert-notification {
27+
background-color: #e7f3fe;
28+
border-color: #2196F3;
29+
color: black;
30+
}
31+
.dark .alert-notification {
32+
background-color: #0d2a3f;
33+
border-color: #2196F3;
34+
color: #ccc;
35+
}
2736
</style>
37+
38+
<div class="alert alert-notification border-start border-info border-4 mb-4">
39+
<p class="mb-0"><strong>Important Notice:</strong> Phoenix Code AI will be rolled out after May 20, 2025. Educational institutions should follow <a href="https://docs.phcode.dev/docs/control-ai" target="_blank" class="link-primary">this guide</a> to disable/configure AI campus-wide before this date.</p>
40+
</div>
2841
{{#status.isEnabled}}
2942
<div class="alert alert-success border-start border-success border-4 mb-4">
3043
<p class="fs-5 mb-2"><strong>AI Status:</strong> <span class="text-success">✓ Enabled</span></p>

0 commit comments

Comments
 (0)