-
-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: add initial documentation to external assets
- Loading branch information
Showing
15 changed files
with
137 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# External | ||
|
||
This folder contains resources which will be distributed as part of Ontime's infrastructure. | ||
Folders added here would be available at | ||
``` bash | ||
http://<ip-address>:<port>/external/<folder-name> | ||
``` | ||
|
||
https://docs.getontime.no/features/custom-views/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
## Demo | ||
|
||
This is a demo application which demonstrates how to create a custom view leveraging a websocket client to get data from Ontime. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# user | ||
|
||
The user folder contains assets that are used in Ontime's UI runtime. | ||
|
||
This is likely something you should not change manually. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# styles | ||
|
||
The styles folder contain the user's custom stylesheet which is used for theming in Ontime. | ||
The file should be named `override.css`. | ||
|
||
https://docs.getontime.no/features/custom-styling/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
/** | ||
* This CSS file allows user customisation of the UI | ||
* We expose some CSS properties to facilitate this (see below in :root) | ||
* In the cases where this is missing, you can add your selectors here | ||
*/ | ||
|
||
:root { | ||
/** Background colour for the views */ | ||
--background-color-override: #ececec; | ||
|
||
/** Main text colour for the views */ | ||
--color-override: #101010; | ||
|
||
/** Text colour for the views */ | ||
--secondary-color-override: #404040; | ||
|
||
/** Accent text colour, used on active elements */ | ||
--accent-color-override: #fa5656; | ||
|
||
/** Label text colour, used on active elements */ | ||
--label-color-override: #6c6c6c; | ||
|
||
/** Timer text colour */ | ||
--timer-color-override: #202020; | ||
|
||
/** Background for card elements on background */ | ||
--card-background-color-override: #fff; | ||
|
||
/** Background highlight for blink behaviour, used only in /backstage */ | ||
--card-background-color-blink-override: #339e4e; | ||
|
||
/** Font used for all text in views */ | ||
--font-family-override: "Open Sans"; | ||
|
||
/** Font used for clock in /minimal and /clock views */ | ||
--font-family-bold-override: "Arial Black"; | ||
|
||
/** Colour used for progress bar background */ | ||
--timer-progress-bg-override: #fff; | ||
|
||
/** Colour used for progress bar progress */ | ||
--timer-progress-override: #202020; | ||
|
||
/** Colour used for external message and aux timer in /timer */ | ||
--external-color-override: #161616; | ||
|
||
/** View specific features: /cuesheet */ | ||
--cuesheet-running-bg-override: #D20300; | ||
|
||
/** View specific features: /op */ | ||
--operator-running-bg-override: #D20300; | ||
--operator-highlight-override: #FFAB33; | ||
|
||
/** View specific features: /studio */ | ||
--studio-active: #101010; | ||
--studio-idle: #cfcfcf; | ||
--studio-active-label: #101010; | ||
--studio-idle-label: #595959; | ||
--studio-overtime: #101010; | ||
|
||
/** View specific features: /lower */ | ||
--lowerThird-font-family-override: 'Times New Roman'; | ||
--lowerThird-top-font-weight-override: bold; | ||
--lowerThird-bottom-font-weight-override: bold; | ||
--lowerThird-top-font-style-override: normal; | ||
--lowerThird-bottom-font-style-override: italic; | ||
--lowerThird-line-height-override: 1vh; | ||
--lowerThird-text-align-override: center; | ||
} | ||
|
||
/** | ||
* You can inspect the page in your browser and add the selectors here. | ||
* In the below example, we change the colour of the overlay message in the stage-timer view. | ||
*/ | ||
.stage-timer > .message-overlay--active > div { | ||
color: red; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# DO NOT DELETE | ||
You may be tempted to delete this | ||
The file is used in the file upload test suite in playwright |