Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
deskscreen
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
kowis-projects
deskscreen
Commits
15b5957a
Commit
15b5957a
authored
Oct 01, 2019
by
David
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding a Recruiting screen
parent
d54e968c
Pipeline
#170
passed with stage
in 2 minutes and 24 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
52 additions
and
2 deletions
+52
-2
src/main/kotlin/is/kow/deskscreen/clrecruiting/RecruitingView.kt
...n/kotlin/is/kow/deskscreen/clrecruiting/RecruitingView.kt
+42
-0
src/main/kotlin/is/kow/deskscreen/ticker/TickerView.kt
src/main/kotlin/is/kow/deskscreen/ticker/TickerView.kt
+4
-1
src/main/kotlin/is/kow/deskscreen/views/DefaultView.kt
src/main/kotlin/is/kow/deskscreen/views/DefaultView.kt
+6
-1
No files found.
src/main/kotlin/is/kow/deskscreen/clrecruiting/RecruitingView.kt
0 → 100644
View file @
15b5957a
package
`is`.kow.deskscreen.clrecruiting
import
javafx.geometry.Pos
import
javafx.scene.layout.Priority
import
tornadofx.*
class
RecruitingView
:
View
()
{
val
url
=
"www.corelogic.com/careers"
val
contact
=
"careers@corelogic.com"
override
val
root
=
borderpane
{
center
=
hbox
{
alignment
=
Pos
.
CENTER
vbox
{
alignment
=
Pos
.
CENTER
label
(
"Find open positions at:"
)
{
style
{
fontSize
=
25
.
px
}
}
label
(
url
)
{
style
{
fontSize
=
37
.
px
}
}
label
(
"Contact us at:"
)
{
style
{
fontSize
=
25
.
px
}
}
label
(
contact
)
{
style
{
fontSize
=
37
.
px
}
}
}
}
}
}
\ No newline at end of file
src/main/kotlin/is/kow/deskscreen/ticker/TickerView.kt
View file @
15b5957a
...
...
@@ -156,8 +156,11 @@ class TickerView : View() {
}
}
val
askUs
=
TickerEntry
<
Text
>(
title
=
"meh"
,
content
=
createText
(
"Ask us about working for CoreLogic!"
),
reschedule
=
true
)
val
entries
=
listOf
(
askUs
,
currentTime
,
cpuTemp
)
...
...
@@ -171,7 +174,7 @@ class TickerView : View() {
// Has to know it's parent to handle binding to proper sizes, Should do that elsewhere tho?
class
MarqueeView
:
View
()
{
private
val
logger
=
KotlinLogging
.
logger
{}
private
val
OFFSET
=
5.0
//Amount of space between entries!
private
val
OFFSET
=
1
5.0
//Amount of space between entries!
private
data class
ActiveTick
(
val
entry
:
TickerEntry
<
Node
>,
var
cleared
:
Boolean
=
false
)
...
...
src/main/kotlin/is/kow/deskscreen/views/DefaultView.kt
View file @
15b5957a
...
...
@@ -3,6 +3,7 @@ package `is`.kow.deskscreen.views
import
`is`.kow.deskscreen.DisplayController
import
`is`.kow.deskscreen.TransitionsController
import
`is`.kow.deskscreen.cat.CatView
import
`is`.kow.deskscreen.clrecruiting.RecruitingView
import
`is`.kow.deskscreen.jira.JiraView
import
`is`.kow.deskscreen.temperature.TemperatureView
import
`is`.kow.deskscreen.ticker.TickerView
...
...
@@ -20,6 +21,7 @@ class DefaultView : View() {
private
val
namePlateView
:
NamePlateView
by
inject
()
private
val
jiraView
:
JiraView
by
inject
()
private
val
catView
:
CatView
by
inject
()
private
val
recruitingView
:
RecruitingView
by
inject
()
private
val
temperatureView
:
TemperatureView
by
inject
()
private
val
displayController
:
DisplayController
by
inject
()
private
val
transitionsController
:
TransitionsController
by
inject
()
...
...
@@ -32,7 +34,10 @@ class DefaultView : View() {
center
=
vbox
{
//TODO: cat view
//this.add(jiraView.root)
this
.
add
(
catView
.
root
)
//Cat view not ready yet! Time to build a stupid simple corelogic recruiting view
//this.add(catView.root)
alignment
=
Pos
.
CENTER
this
.
add
(
recruitingView
.
root
)
}
bottom
=
tickerView
.
root
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment