Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@denis99999
Copy link

This PR adds a maintenance banner to alert users of important events, it is controlled by the administrator in the "settings->general" tab, he can activate/deactivate the banner and there are three levels of alerts ( Information, Warning, Critical) with three different associated colors, with of course the text to display with a horizontally scrolling effect.
Corresponding APIs have also been added.

white-space: nowrap;
position: relative;
top: 50%;
//left: 50%;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should be either uncommented or removed.

, defaultValue: $scope.defaultAlertMessage
})

//$scope.alertMessage = $scope.defaultAlertMessage
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
//$scope.alertMessage = $scope.defaultAlertMessage

Signed-off-by: Denis barbaron <[email protected]>
@koral-- koral-- merged commit 489ba04 into DeviceFarmer:master Jul 19, 2024
michal-murin pushed a commit to wandera/devicefarmer-stf that referenced this pull request Jan 28, 2025
* fix bug on email separator

Signed-off-by: Denis barbaron <[email protected]>

* allow group name change

Signed-off-by: Denis barbaron <[email protected]>

* add maintenance banner on UI

Signed-off-by: Denis barbaron <[email protected]>

* removes unnecessary comments

Signed-off-by: Denis barbaron <[email protected]>

---------

Signed-off-by: Denis barbaron <[email protected]>
michal-murin pushed a commit to wandera/devicefarmer-stf that referenced this pull request Jan 28, 2025
* fix bug on email separator

Signed-off-by: Denis barbaron <[email protected]>

* allow group name change

Signed-off-by: Denis barbaron <[email protected]>

* add maintenance banner on UI

Signed-off-by: Denis barbaron <[email protected]>

* removes unnecessary comments

Signed-off-by: Denis barbaron <[email protected]>

---------

Signed-off-by: Denis barbaron <[email protected]>
michal-murin pushed a commit to wandera/devicefarmer-stf that referenced this pull request Feb 5, 2025
* fix bug on email separator

Signed-off-by: Denis barbaron <[email protected]>

* allow group name change

Signed-off-by: Denis barbaron <[email protected]>

* add maintenance banner on UI

Signed-off-by: Denis barbaron <[email protected]>

* removes unnecessary comments

Signed-off-by: Denis barbaron <[email protected]>

---------

Signed-off-by: Denis barbaron <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants