Show More
@@ -439,6 +439,23 b' ul.auth_plugins {' | |||
|
439 | 439 | //--- MODULES ------------------// |
|
440 | 440 | |
|
441 | 441 | |
|
442 | // Server Announcement | |
|
443 | #server-announcement { | |
|
444 | width: 95%; | |
|
445 | margin: @padding auto; | |
|
446 | padding: @padding; | |
|
447 | border-width: 2px; | |
|
448 | border-style: solid; | |
|
449 | .border-radius(2px); | |
|
450 | font-family: @text-bold; | |
|
451 | ||
|
452 | &.info { border-color: @alert4; background-color: @alert4-inner; } | |
|
453 | &.warning { border-color: @alert3; background-color: @alert3-inner; } | |
|
454 | &.error { border-color: @alert2; background-color: @alert2-inner; } | |
|
455 | &.success { border-color: @alert1; background-color: @alert1-inner; } | |
|
456 | &.neutral { border-color: @grey3; background-color: @grey6; } | |
|
457 | } | |
|
458 | ||
|
442 | 459 | // Fixed Sidebar Column |
|
443 | 460 | .sidebar-col-wrapper { |
|
444 | 461 | padding-left: @sidebar-all-width; |
@@ -183,11 +183,15 b'' | |||
|
183 | 183 | // important messages to all users of the RhodeCode Enterprise system. |
|
184 | 184 | |
|
185 | 185 | $(document).ready(function(e){ |
|
186 | // put your message below | |
|
186 | ||
|
187 | // EDIT - put your message below | |
|
187 | 188 | var message = "TYPE YOUR MESSAGE HERE"; |
|
188 | 189 | |
|
189 | $('#body').prepend( | |
|
190 | ('<div class="alert alert-info">_MSG_'+'</div>').replace('_MSG_', message) | |
|
190 | // EDIT - choose "info"/"warning"/"error"/"success"/"neutral" as appropriate | |
|
191 | var alert_level = "info"; | |
|
192 | ||
|
193 | $("#body").prepend( | |
|
194 | ("<div id='server-announcement' class='"+alert_level+"'>_MSG_"+"</div>").replace("_MSG_", message) | |
|
191 | 195 | ) |
|
192 | 196 | }) |
|
193 | 197 | </script> |
General Comments 0
You need to be logged in to leave comments.
Login now