Added corner buttons
This commit is contained in:
parent
a871df28db
commit
71b8cbf61d
@ -1,7 +1,7 @@
|
||||
component Companies(companies []*arn.Company, user *arn.User)
|
||||
h1.page-title Companies
|
||||
|
||||
.music-buttons
|
||||
.corner-buttons
|
||||
if user != nil
|
||||
if user.DraftIndex().CompanyID == ""
|
||||
button.action(data-action="newObject", data-trigger="click", data-type="company")
|
||||
|
@ -1,7 +1,7 @@
|
||||
component SoundTracks(tracks []*arn.SoundTrack, tracksPerPage int, user *arn.User)
|
||||
h1 Soundtracks
|
||||
|
||||
.music-buttons
|
||||
.corner-buttons
|
||||
if user != nil
|
||||
if user.DraftIndex().SoundTrackID == ""
|
||||
button.action(data-action="newObject", data-trigger="click", data-type="soundtrack")
|
||||
|
@ -35,14 +35,4 @@
|
||||
|
||||
.sound-track-anime-image
|
||||
width 142px
|
||||
height 200px
|
||||
|
||||
.music-buttons
|
||||
display flex
|
||||
justify-content center
|
||||
|
||||
> 600px
|
||||
.music-buttons
|
||||
position absolute
|
||||
top content-padding
|
||||
right content-padding
|
||||
height 200px
|
9
styles/corner-buttons.scarlet
Normal file
9
styles/corner-buttons.scarlet
Normal file
@ -0,0 +1,9 @@
|
||||
.corner-buttons
|
||||
display flex
|
||||
justify-content center
|
||||
|
||||
> 600px
|
||||
.corner-buttons
|
||||
position absolute
|
||||
top content-padding
|
||||
right content-padding
|
Loading…
Reference in New Issue
Block a user