fixing media site
This commit is contained in:
parent
312e9831e2
commit
312a89e0b7
10 changed files with 37 additions and 21 deletions
|
@ -48,7 +48,7 @@ var parallelism = (function($) { var _ = {
|
||||||
marginTop: 0,
|
marginTop: 0,
|
||||||
|
|
||||||
// Nudge the reel by this value (in px) after it's been vertically centered.
|
// Nudge the reel by this value (in px) after it's been vertically centered.
|
||||||
verticalNudge: 60,
|
verticalNudge: 0,
|
||||||
|
|
||||||
// Maximum number of rows.
|
// Maximum number of rows.
|
||||||
maxRows: 5,
|
maxRows: 5,
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
$newline always
|
$newline always
|
||||||
<div id="header" class="item" data-width="300">
|
<div id="header" class="item" data-width="300">
|
||||||
<form class="inner" method="post" enctype=#{enctype}>
|
<form class="inner" method="post" enctype=#{enctype}>
|
||||||
<h1>Album settings
|
<h3>Album settings
|
||||||
^{albumSettingsWidget}
|
^{albumSettingsWidget}
|
||||||
<div>
|
<div>
|
||||||
<input type=submit value="Change settings">
|
<input type=submit value="Change settings">
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<div id="header" class="item" data-width="400">
|
<div id="header" class="item" data-width="400">
|
||||||
<form class="inner" method=post enctype=#{enctype}>
|
<form class="inner" method=post enctype=#{enctype}>
|
||||||
<h3>Image upload to album #{albumTitle album}
|
<h1>Image upload to album #{albumTitle album}
|
||||||
<p>Here you can upload your image.
|
<p>Here you can upload your image.
|
||||||
^{dUploadWidget}
|
^{dUploadWidget}
|
||||||
<div>
|
<div>
|
||||||
|
|
|
@ -16,3 +16,6 @@ nav li
|
||||||
|
|
||||||
nav
|
nav
|
||||||
padding: 1em 2em !important
|
padding: 1em 2em !important
|
||||||
|
|
||||||
|
a:hover
|
||||||
|
color: black !important
|
||||||
|
|
|
@ -1,3 +1,12 @@
|
||||||
#main, #reel, #header
|
#main, #reel, #header
|
||||||
overflow-y: auto !important
|
overflow-y: auto !important
|
||||||
height: auto !important
|
height: auto !important
|
||||||
|
|
||||||
|
#reel
|
||||||
|
max-height: 670px !important
|
||||||
|
|
||||||
|
#header
|
||||||
|
max-height: 650px !important
|
||||||
|
|
||||||
|
.inner
|
||||||
|
max-height: 550px !important
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
img
|
img
|
||||||
position: relative !important
|
position: relative !important
|
||||||
width: 100%
|
max-width: 100% !important
|
||||||
|
height: 28em !important
|
||||||
|
width: auto !important
|
||||||
|
|
||||||
.reply
|
.reply
|
||||||
margin-left: 50px
|
margin-left: 50px
|
||||||
|
|
|
@ -57,3 +57,6 @@
|
||||||
get a feed from this:
|
get a feed from this:
|
||||||
<a href=@{CommentFeedAtomR mediumId}>Atom
|
<a href=@{CommentFeedAtomR mediumId}>Atom
|
||||||
<a href=@{CommentFeedRssR mediumId}>RSS
|
<a href=@{CommentFeedRssR mediumId}>RSS
|
||||||
|
|
||||||
|
<style type="text/css">
|
||||||
|
body{background-image: url('/static/css/images/overlay.png'), -webkit-linear-gradient(top, rgba(0,0,0,0) 75%, rgba(0,0,0,0.65)), url('#{mediumPath medium}');}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
$newline always
|
$newline always
|
||||||
<div id="header" class="item" data-width="300">
|
<div id="header" class="item" data-width="300">
|
||||||
<form class="inner" method="post" enctype=#{enctype}>
|
<form class="inner" method="post" enctype=#{enctype}>
|
||||||
<h1>Profile settings
|
<h3>Profile settings
|
||||||
^{profileSettingsWidget}
|
^{profileSettingsWidget}
|
||||||
<div>
|
<div>
|
||||||
<input type=submit value="Change settings">
|
<input type=submit value="Change settings">
|
||||||
|
|
|
@ -1,13 +1,12 @@
|
||||||
$newline always
|
$newline always
|
||||||
|
<div id="header" class="item" data-width="400">
|
||||||
<h3>Tag #{tag}
|
<div class="inner">
|
||||||
|
<h1>Tag #{tag}
|
||||||
$if null media
|
$if null media
|
||||||
There are no media tagged with #{tag}
|
There are no media tagged with #{tag}
|
||||||
$else
|
|
||||||
<ul>
|
$forall Just (Entity mId m) <- media
|
||||||
$forall Just (Entity mId m) <- media
|
<article class="item" data-width=#{mediumThumbWidth m}>
|
||||||
<li>
|
|
||||||
<a href=@{MediumR mId}>
|
<a href=@{MediumR mId}>
|
||||||
<figure class="thumbnail">
|
<figure class="thumbnail">
|
||||||
<img src=#{mediumThumb m}>
|
<img src=#{mediumThumb m}>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<div id="header" class="item" data-width="400">
|
<div id="header" class="item" data-width="400">
|
||||||
<form class="inner" method=post enctype=#{enctype}>
|
<form class="inner" method=post enctype=#{enctype}>
|
||||||
<h1>Image upload
|
<h3>Image upload
|
||||||
<p>Here you can upload your image.
|
<p>Here you can upload your image.
|
||||||
^{uploadWidget}
|
^{uploadWidget}
|
||||||
<div>
|
<div>
|
||||||
|
|
Loading…
Reference in a new issue