Added corner buttons

This commit is contained in:
Eduard Urbach 2017-11-19 00:42:22 +01:00
parent a871df28db
commit 71b8cbf61d
4 changed files with 12 additions and 13 deletions

View File

@ -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")

View File

@ -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")

View File

@ -36,13 +36,3 @@
.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

View File

@ -0,0 +1,9 @@
.corner-buttons
display flex
justify-content center
> 600px
.corner-buttons
position absolute
top content-padding
right content-padding