@@ -145,9 +145,9 @@ <h3>Scenarios in the database</h3>
145
145
class ="label btn btn-dark "> Monitor</ a >
146
146
< a href ="{{ url_for('nebula_dashboard_statistics', scenario_name=name) }} "
147
147
class ="label btn btn-dark "> Real-time metrics</ a >
148
- < a id ="note-btn-{{ name }} " data-scenario-name ="{{ name }} " class ="label btn btn-dark "> < i
148
+ < a id ="note-btn-{{ name }} " title =" Save Note " data-scenario-name ="{{ name }} " class ="label btn btn-dark "> < i
149
149
class ="fa fa-sticky-note " style ="color: white; "> </ i > </ a >
150
- < a id ="config-btn-{{ name }} " data-scenario-name ="{{ name }} " class ="label btn btn-dark "> < i
150
+ < a id ="config-btn-{{ name }} " title =" Scenario Config " data-scenario-name ="{{ name }} " class ="label btn btn-dark "> < i
151
151
class ="fa fa-sliders " style ="color: white; "> </ i > </ a >
152
152
{% if status == "running" %}
153
153
< a href ="{{ url_for('nebula_stop_scenario', scenario_name=name, stop_all=False) }} "
@@ -158,9 +158,9 @@ <h3>Scenarios in the database</h3>
158
158
< a href ="{{ url_for('nebula_stop_scenario', scenario_name='all', stop_all=True) }} "
159
159
class ="label btn btn-danger "> Stop scenario queue</ a >
160
160
{% else %}
161
- < a id ="relaunch-btn " data-scenario-name ="{{ name }} " data-scenario-title ="{{ title }} " class ="label btn btn-dark "> < i
161
+ < a id ="relaunch-btn " title =" Relaunch Scenario " data-scenario-name ="{{ name }} " data-scenario-title ="{{ title }} " class ="label btn btn-dark "> < i
162
162
class ="fa fa-rotate-right " style ="color: white; "> </ i > </ a >
163
- < a id ="remove-btn " data-scenario-name ="{{ name }} " class ="label btn btn-danger "> < i
163
+ < a id ="remove-btn " title =" Delete Scenario " data-scenario-name ="{{ name }} " class ="label btn btn-danger "> < i
164
164
class ="fa fa-trash "> </ i > </ a >
165
165
{% endif %}
166
166
</ td >
@@ -187,6 +187,37 @@ <h3>Scenarios in the database</h3>
187
187
</ section >
188
188
{% endif %}
189
189
190
+ < style >
191
+ /* Tooltips */
192
+ a [title ] {
193
+ position : relative;
194
+ }
195
+
196
+ a [title ]: hover ::after {
197
+ content : attr (title);
198
+ position : absolute;
199
+ top : -35px ;
200
+ left : 50% ;
201
+ transform : translateX (-50% );
202
+ background-color : rgba (0 , 0 , 0 , 0.8 );
203
+ color : white;
204
+ padding : 8px 12px ;
205
+ border-radius : 6px ;
206
+ font-size : 14px ;
207
+ white-space : nowrap;
208
+ z-index : 1000 ;
209
+ opacity : 0 ;
210
+ pointer-events : none;
211
+ transition : opacity 0.3s ease, top 0.3s ease;
212
+ box-shadow : 0 4px 8px rgba (0 , 0 , 0 , 0.2 );
213
+ }
214
+
215
+ a [title ]: hover ::after {
216
+ opacity : 1 ;
217
+ top : -50px ;
218
+ }
219
+ </ style >
220
+
190
221
191
222
{% if not user_logged_in %}
192
223
< script >
0 commit comments