Hallo now edits my images,
and each post can display a dedicated photo. * NpgsqlBlogProvider.cs: implements a blog post photo storage * BlogsController.cs: implements a method to update the photo url * style.css: yastyle * AdminController.cs: refactoring the notification: Introduces a static `Notice` method, server side, to populate an array in `ViewData`, used in the paster page. * BlogsController.cs: Controls the photo update * YavscHelpers.cs: * yavsc.circles.js: * HomeController.cs: * GoogleController.cs: notification refactoring * App.master: - notification refactoring - html structure in the `nav` * hallo.js: event 'hallomodified' now also occurs at image modifications * to-markdown.js: ?Fixes? html images alt text and title to Markdown * yavsc.js: implements the photo in database * Edit.aspx: A nicer bill edition, with a photo * UserPost.aspx: Displays the photo * UserPosts.aspx: Fixes the new usage of `ResultPages` * Web.config: totem custo * instdbws.sql: adds a `photo` field in the `blog` table * BlogEntry.cs: defines the photo in the model * BlogManager.cs: a new method to set the photo on a blog post. * BlogProvider.cs: the blog provider now also gives some photo * LocalizedText.fr.Designer.cs: Reordering the french localisation resource * LocalizedText.fr.resx: Reorders the french localisation resource
This commit is contained in:
parent
303e4fa57b
commit
9494d6f353
26 changed files with 1015 additions and 828 deletions
|
|
@ -75,7 +75,7 @@ a.actionlink img, h1 img, .menuitem img { vertical-align: middle; }
|
|||
border-radius:5px;
|
||||
margin:.5em; padding:1em; display: inline-block }
|
||||
fieldset {
|
||||
background-color: rgba(32,16,16,0.8);
|
||||
background-color: rgba(16,16,64,0.8);
|
||||
border-radius:5px; border: solid 1px #000060;
|
||||
}
|
||||
|
||||
|
|
@ -96,7 +96,7 @@ aside {
|
|||
max-width: 40em;
|
||||
padding: .5em;
|
||||
margin: .5em;
|
||||
background-color: rgba(32,32,32,0.8);
|
||||
background-color: rgba(0,0,32,0.8);
|
||||
border-radius:10px;
|
||||
}
|
||||
.postpreview video, .postpreview img {
|
||||
|
|
@ -107,7 +107,7 @@ aside {
|
|||
display:block;
|
||||
margin:1em;
|
||||
padding:1em;
|
||||
background-color: rgba(32,32,32,0.8);
|
||||
background-color: rgba(0,0,32,0.8);
|
||||
color: #aaa;
|
||||
border-radius:10px;
|
||||
}
|
||||
|
|
@ -125,7 +125,7 @@ textarea.fullwidth { min-height:10em; }
|
|||
}
|
||||
|
||||
.panel,.bshpanel, aside {
|
||||
background-color: rgba(32,32,16,0.8);
|
||||
background-color: rgba(0,0,128,.5);
|
||||
border-radius:5px;
|
||||
margin:.5em;
|
||||
padding: .5em;
|
||||
|
|
@ -167,9 +167,14 @@ label {
|
|||
font-size: medium;
|
||||
}
|
||||
|
||||
.message, #message {
|
||||
#notifications {
|
||||
padding: .5em;
|
||||
}
|
||||
|
||||
.notification {
|
||||
font-size: large;
|
||||
background-color: rgba(64,64,0,0.5);
|
||||
border: solid green 1px;
|
||||
}
|
||||
.dirty {
|
||||
background-color: rgba(128,128,0,0.5);
|
||||
|
|
@ -184,7 +189,6 @@ label {
|
|||
background-color: rgba(256,0,0,0.5);
|
||||
}
|
||||
|
||||
|
||||
.hidden { display:none; }
|
||||
|
||||
ul.preview li:nth-child(-n+10) {
|
||||
|
|
@ -234,6 +238,9 @@ input, select {
|
|||
max-width: 64px;
|
||||
max-height: 64px;
|
||||
}
|
||||
#avatar {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.comment {
|
||||
border-radius:25px;
|
||||
|
|
@ -268,8 +275,7 @@ input, select {
|
|||
.c3 { font-size: x-small; font-style: italic; }
|
||||
@media print {
|
||||
body {background-color:white;color:black;}
|
||||
header,footer,.postcomment,.actionlink,nav
|
||||
{ display:none;}
|
||||
.control,.actionlink,nav { display:none;}
|
||||
}
|
||||
|
||||
@media all and (min-width: 640px) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue