[frio] Restyle album edit header. (#5426)
This commit is contained in:
parent
24fc070c5c
commit
b26da6096b
|
@ -221,7 +221,7 @@ function photos_post(App $a)
|
|||
// Update the photo albums cache
|
||||
Photo::clearAlbumCache($page_owner_uid);
|
||||
|
||||
$newurl = str_replace(bin2hex($album), bin2hex($newalbum), $_SESSION['photo_return']);
|
||||
$newurl = System::baseUrl() . '/photos/' . $a->user['nickname'] . '/album/' . bin2hex($newalbum);
|
||||
goaway($newurl);
|
||||
return; // NOTREACHED
|
||||
}
|
||||
|
|
|
@ -2470,6 +2470,13 @@ ul li:hover .contact-wrapper .contact-action-link:hover {
|
|||
}
|
||||
|
||||
/* photos */
|
||||
#photo-album-edit-name-label {
|
||||
width: 100%;
|
||||
}
|
||||
.photo-album-edit-name {
|
||||
width: 60%;
|
||||
}
|
||||
|
||||
.photo-album-actions {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
<div id="photo-album-edit-wrapper">
|
||||
<form name="photo-album-edit-form" id="photo-album-edit-form" action="photos/{{$nickname}}/album/{{$hexalbum}}" method="post" >
|
||||
<label id="photo-album-edit-name-label" for="photo-album-edit-name" >{{$nametext}}</label>
|
||||
<div class="pull-left photo-album-edit-name">
|
||||
<input class="form-control" type="text" size="64" name="albumname" value="{{$album|escape:'html'}}" id="photo-album-edit-name" style="width: 100%;">
|
||||
</div>
|
||||
|
||||
<div class="pull-right">
|
||||
<input class="btn-primary btn btn-small" id="photo-album-edit-submit" type="submit" name="submit" value="{{$submit|escape:'html'}}" />
|
||||
<input class="btn-primary btn btn-small" id="photo-album-edit-drop" type="submit" name="dropalbum" value="{{$dropsubmit|escape:'html'}}" onclick="return confirmDelete();" />
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<div class="clear"></div>
|
Loading…
Reference in New Issue
Block a user