more media settings
This commit is contained in:
parent
0e88b61947
commit
52b0d0fe07
4 changed files with 41 additions and 5 deletions
10
templates/adminAlbumMedia.hamlet
Normal file
10
templates/adminAlbumMedia.hamlet
Normal file
|
@ -0,0 +1,10 @@
|
|||
$newline always
|
||||
<h3>Media from #{albumTitle album}
|
||||
|
||||
$if null media
|
||||
#{albumTitle album} has no media yet
|
||||
$else
|
||||
$forall (Entity mId m) <- media
|
||||
<ul>
|
||||
<li>
|
||||
<a href=@{AdminMediumSettingsR mId}>#{mediumTitle m}
|
10
templates/adminAlbumSet.cassius
Normal file
10
templates/adminAlbumSet.cassius
Normal file
|
@ -0,0 +1,10 @@
|
|||
.right
|
||||
float:right
|
||||
width:50%
|
||||
|
||||
.left
|
||||
float:left
|
||||
width:50%
|
||||
|
||||
footer
|
||||
clear:both
|
|
@ -1,9 +1,15 @@
|
|||
$newline always
|
||||
<h3>Album settings
|
||||
|
||||
<form method="post" enctype=#{enctype}>
|
||||
^{adminAlbumSettingsWidget}
|
||||
<div>
|
||||
<input type=submit value="Change settings">
|
||||
<div class="left">
|
||||
<form method="post" enctype=#{enctype}>
|
||||
^{adminAlbumSettingsWidget}
|
||||
<div>
|
||||
<input type=submit value="Change settings">
|
||||
|
||||
<a href=@{AdminAlbumDeleteR albumId}>Delete this album
|
||||
<a href=@{AdminAlbumDeleteR albumId}>Delete this album
|
||||
|
||||
<div class="right">
|
||||
<ul>
|
||||
<li>
|
||||
Media in this album
|
||||
|
|
10
templates/adminUserMedia.hamlet
Normal file
10
templates/adminUserMedia.hamlet
Normal file
|
@ -0,0 +1,10 @@
|
|||
$newline always
|
||||
<h3>Albums of #{userSlug owner}
|
||||
|
||||
$if null media
|
||||
#{userSlug owner} has no media yet
|
||||
$else
|
||||
$forall (Entity mId m) <- media
|
||||
<ul>
|
||||
<li>
|
||||
<a href=@{AdminMediumSettingsR mId}>#{mediumTitle m}
|
Loading…
Reference in a new issue