Widget:Scheduling: Difference between revisions

From COMP15212 Wiki
pc>Yuron
No edit summary
gravatar W81054ch [userbureaucratinterface-adminsysopPHRhYmxlIGNsYXNzPSJ0d3BvcHVwIj48dHI+PHRkIGNsYXNzPSJ0d3BvcHVwLWVudHJ5dGl0bGUiPkdyb3Vwczo8L3RkPjx0ZD51c2VyPGJyIC8+YnVyZWF1Y3JhdDxiciAvPmludGVyZmFjZS1hZG1pbjxiciAvPnN5c29wPGJyIC8+PC90ZD48L3RyPjwvdGFibGU+] (talk | contribs)
m (1 revision imported)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
Widget for demonstrating the operation of a scheduler.
Widget for demonstrating the operation of a scheduler.
[{{canonicalurl:Special:ShowWidget|widget=Scheduling&library}} Dark-mode widget for embedding]
{{#widget:Scheduling}}
{{#widget:Scheduling}}
</noinclude>
</noinclude>
Line 64: Line 67:
//Credit to https://code.tutsplus.com/articles/data-structures-with-javascript-singly-linked-list-and-doubly-linked-list--cms-23392, minified with DuckDuckGo
//Credit to https://code.tutsplus.com/articles/data-structures-with-javascript-singly-linked-list-and-doubly-linked-list--cms-23392, minified with DuckDuckGo


// Set to use dark theme if the body's background color is too darkw
// Set to use dark theme if the body's background color is too dark
var bodyColour = $("body").css("background-color").match(/rgba?\((.*)\)/)[1].split(',').map(Number);
var bodyColour = $("body").css("background-color").match(/rgba?\((.*)\)/)[1].split(',').map(Number);
var usingDarkTheme;
var usingDarkTheme;

Latest revision as of 07:22, 14 August 2019

Widget for demonstrating the operation of a scheduler.

Dark-mode widget for embedding

CALL RESET BELOW!

Process 1
Process 2
Process 3
Process 4
Process 5