mirror of
https://github.com/unraid/api.git
synced 2026-01-07 17:19:52 -06:00
refactor: Tools page downgrade icon rotation
This commit is contained in:
@@ -16,6 +16,15 @@
|
||||
margin-left: auto;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
/**
|
||||
* Tools page, rotate the Downgrade icon to prevent needing to add a new icon to the icon font.
|
||||
* The pseudo element is targeted here otherwise the rotation of the span would mess up spacing with the text.
|
||||
*/
|
||||
a[href="/Tools/Downgrade"] .icon-update:before {
|
||||
display: inline-block; /* required otherwise the rotation won't work */
|
||||
rotate: 180deg;
|
||||
}
|
||||
</style>
|
||||
<?php
|
||||
// Set the path for the local manifest file
|
||||
|
||||
@@ -5,7 +5,7 @@ Tag="upload"
|
||||
---
|
||||
<?php
|
||||
/**
|
||||
* @todo - need a downgrade icon
|
||||
* @note icon-update is rotated via CSS in myservers1.php
|
||||
*
|
||||
* If /boot/previous/bzroot exists, then the user has the option to downgrade to the previous version.
|
||||
* Parse the text file /boot/previous/changes.txt to get the version number of the previous version.
|
||||
|
||||
Reference in New Issue
Block a user