* bg.gif:
* asc.gif:
* desc.gif:
* style.css: moved to App_Themes
* style.css:
* bg.gif:
* asc.gif:
* bg.png:
* rect.png:
* asc.png:
* desc.gif:
* jquery-ui.css:
* mdd_styles.css:
* croix.png:
* desc.png:
* style.css:
* jquery-ui.min.css:
* mdd_gripper.png:
* mdd_toolbar.png:
* jquery.timepicker.css:
* mdd_ajax_loader.gif:
* mdd_modal_background.png: moved to /App_Themes
* NpgsqlBlogProvider.cs: * Remove post by id
* Manage collections of entries on a couple (user,title), not a single
post
* NpgsqlCircleProvider.cs: Fixes the "Match" method.
* IDbModule.cs:
* Edit.aspx:
* Estimates.aspx:
* WorkFlowManager.cs:
* NpgsqlContentProvider.cs: refactoring
* NpgsqlMRPProviders.csproj: new NpgsqlUserName provider
* NpgsqlRoleProvider.cs: simpler init method
* NpgsqlUserNameProvider.cs: impements a UserNameProvider
* MyClass.cs: refactoring from Yavsc.Model
* BlogsController.cs: access control simplified
* FrontOfficeController.cs: Pdf generation made public ni case of
formatting exception
* mdd_styles.css: Theme -> App_Themes
* style.css: yet another style impact
* AccountController.cs: Fixes the user name modification
* BlogsController.cs: * Fixes the removal process
* On a title and user name, we get collection of posts, not only one.
* Implements an Access on circle
* FrontOfficeController.cs: * implements a new Get method.
* ensure a membership existence before delivering an estimate.
* GoogleController.cs: Fixes the user name modification on a Google
account
* ErrorHtmlFormatter.cs: nice error message in html (using Markdown
helper)
* FormatterException.cs: formatter exception exposes error and
standard output of the process
* TexToPdfFormatter.cs: * generates temporary files in the folder
returned by Path.GetTempPath()
* throws FormatterException
* Global.asax.cs: new route map:
Blogs/{action}/{user}/{title}
Blog/{user}/{title}
B/{id}
{controller}/{action}/{id}
* App.master: * refactoring: Theme moved to App_Themes
* a link to the logged user's blog
*
* NoLogin.master: refactoring: Theme moved to App_Themes
* Circles.aspx: refactoring : circles now are given as select items
* Login.aspx: fixes the html presentation
* Register.aspx: Fixes a Typo
* Index.aspx: Implements a blog index, due to M&C changes with this
commit
* RemovePost.aspx: links to the new route to the "RemovePost" action,
giving it a post id
* RemoveTitle.aspx: fixes a not yet linked page to remove a post
collection under a given title
* EventPub.aspx: code refactoring
* Writting.ascx: cleans the code
* Web.config: fills the config with new names in the space
* Web.config: configures the new NpgsqlUserNameProvider
* Web.csproj: refactoring and others
* BlogEntryCollection.cs: implement the BlogEntryCollection
* BlogManager.cs: the manager helps to filter on access
* BlogProvider.cs: The title is not unique anymore, and one can modify
it, post a lot under it, drop all posts under it.
A Post is deleted by id.
* UUBlogEntryCollection.cs: implements a collection of post under a
given user name.
* UUTBlogEntryCollection.cs: implements a collection of post under a
given couple (user name, title).
* ListItem.cs: ListItem is declared obsolete in this model, helpers
can build MVC SelectListItem on data returned by the manager.
* LocalizedText.Designer.cs:
* LocalizedText.fr.Designer.cs: autogenerated from xml
* LocalizedText.resx:
* LocalizedText.fr.resx: new labels
* ChangeUserNameProvider.cs: xml doc
* Profile.cs: the UserName property is read only, and comes from
authentication, to change it, we set a Name and validate it agains
the "Profile" method
* UserManager.cs: simpler code a init time
* IContentProvider.cs: implements the new IDataProvider interface
* IDataProvider.cs: defines the new IDataProvider interface
* YavscModel.csproj: includes new classes
* UserPosts.aspx: adds a link to remove a post
* UserPost.aspx: now uses the new BlogEntryCollection object
This commit is contained in:
parent
294c54099c
commit
3355f9fed0
82 changed files with 1273 additions and 2455 deletions
|
|
@ -10,7 +10,7 @@ div.mdd_modal
|
|||
z-index:1000;
|
||||
display:none;
|
||||
font-size:10pt;
|
||||
background-image:url(/Theme/md/mdd_modal_background.png);
|
||||
background-image:url(/App_Themes/md/mdd_modal_background.png);
|
||||
}
|
||||
div.mdd_modal_frame
|
||||
{
|
||||
|
|
@ -64,7 +64,7 @@ div.mdd_modal_content
|
|||
div.mdd_ajax_loader
|
||||
{
|
||||
background-position: center center;
|
||||
background-image: url(/Theme/md/mdd_ajax_loader.gif);
|
||||
background-image: url(/App_Themes/md/mdd_ajax_loader.gif);
|
||||
background-repeat: no-repeat;
|
||||
width:100%;
|
||||
height:200px;
|
||||
|
|
@ -119,7 +119,7 @@ div.mdd_toolbar li
|
|||
|
||||
div.mdd_toolbar a.mdd_button
|
||||
{
|
||||
background-image:url(/Theme/md/mdd_toolbar.png);
|
||||
background-image:url(/App_Themes/md/mdd_toolbar.png);
|
||||
width:20px;
|
||||
height:20px;
|
||||
display:block;
|
||||
|
|
@ -184,7 +184,7 @@ textarea.mdd_editor
|
|||
div.mdd_resizer
|
||||
{
|
||||
background:#f8f8f8;
|
||||
background-image:url("/Theme/md/mdd_gripper.png");
|
||||
background-image:url("/App_Themes/md/mdd_gripper.png");
|
||||
background-position:center center;
|
||||
background-repeat:no-repeat;
|
||||
width:100%;
|
||||
|
|
|
|||
|
|
@ -5,8 +5,8 @@ body {
|
|||
background-repeat: no-repeat;
|
||||
color: #D0FFD0;
|
||||
font-family: 'Arial', cursive;
|
||||
padding: .5em;
|
||||
margin-bottom:2.8em;
|
||||
padding: 0em;
|
||||
margin-bottom:3em;
|
||||
}
|
||||
|
||||
textarea {
|
||||
|
|
@ -20,10 +20,8 @@ input, textarea, checkbox {
|
|||
}
|
||||
|
||||
main {
|
||||
background-color: rgba(17,0,23,0.65);
|
||||
float:left;
|
||||
}
|
||||
|
||||
margin:1em;
|
||||
}
|
||||
fieldset {
|
||||
background-color: rgba(32,16,16,0.8);
|
||||
border-radius:5px; border: solid 1px #000060;
|
||||
|
|
@ -46,7 +44,6 @@ footer {
|
|||
z-index:-1;
|
||||
font-size: smaller;
|
||||
}
|
||||
|
||||
.thanks {
|
||||
max-width: 10%;
|
||||
text-align: center;
|
||||
|
|
@ -59,12 +56,14 @@ footer {
|
|||
|
||||
#logo {
|
||||
float: left;
|
||||
max-height: 25%;
|
||||
max-width: 25%;
|
||||
}
|
||||
|
||||
.panel,.bshpanel,aside {
|
||||
background-color: rgba(32,16,16,0.8);
|
||||
border-radius:5px; border: solid 1px #000060;
|
||||
float: right;
|
||||
float: left;
|
||||
margin:.5em;
|
||||
padding: .5em;
|
||||
}
|
||||
|
|
@ -72,23 +71,29 @@ footer {
|
|||
.bsh { float: right; }
|
||||
|
||||
#login {
|
||||
position: fixed;
|
||||
margin:0em;
|
||||
padding:0em;
|
||||
top:0;
|
||||
right:0;
|
||||
background-color:rgba(16,16,0,0.8);
|
||||
justify-content: space-around;
|
||||
text-align: center;
|
||||
max-width:40%;
|
||||
font-size:75%;
|
||||
}
|
||||
|
||||
#login img { max-height:5em; max-width:5em; }
|
||||
|
||||
header {
|
||||
background-color:rgba(16,16,0,0.8);
|
||||
top:0;
|
||||
left:0;
|
||||
right:0;
|
||||
margin:0em;
|
||||
padding:0em;
|
||||
text-align: center;
|
||||
max-width:55%;
|
||||
}
|
||||
h1 img { vertical-align: text-top; }
|
||||
|
||||
h1 img { vertical-align: text-top; }
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
|
|
@ -135,7 +140,15 @@ label {
|
|||
.blogtitle {
|
||||
display:inline;
|
||||
}
|
||||
|
||||
.blogpost {
|
||||
display:block;
|
||||
margin:1em;
|
||||
padding:1em;
|
||||
border: solid 2px blue;
|
||||
background-color: #090609;
|
||||
color: #aaa;
|
||||
border-radius:5px;
|
||||
}
|
||||
.contenu {
|
||||
padding-left: 20px;
|
||||
}
|
||||
|
|
@ -158,14 +171,13 @@ ul.preview li:nth-child(n) {
|
|||
.actionlink {
|
||||
color: #B0B080;
|
||||
border: solid 1px rgb(128,128,128);
|
||||
border-radius:5px;
|
||||
border-radius: 5px;
|
||||
background-color:rgba(0,0,32,0.8);
|
||||
font-size:large;
|
||||
cursor: pointer;
|
||||
font-family: 'Arial', cursive;
|
||||
}
|
||||
|
||||
input, select {
|
||||
input, select {
|
||||
color: #B0B080;
|
||||
border: solid 1px rgb(128,128,128);
|
||||
border-radius:5px;
|
||||
|
|
@ -193,46 +205,30 @@ a.actionlink img { top:4px; }
|
|||
max-height: 64px;
|
||||
}
|
||||
|
||||
.hidden {
|
||||
display:none;
|
||||
}
|
||||
|
||||
.shoh { display:inline; }
|
||||
|
||||
|
||||
.hiduh {
|
||||
display:none;
|
||||
}
|
||||
.shoh:hover {
|
||||
background-color: rgba(0,60,40,.3);
|
||||
border: solid rgb(256,256,0);
|
||||
}
|
||||
.shoh:hover + .hiduh {
|
||||
display:block; position:absolute; left:20px; right:20px;
|
||||
background-color: rgb(0,0,40); border: solid rgb(256,256,0);
|
||||
}
|
||||
|
||||
.comment {
|
||||
border-radius:25px;
|
||||
border-width:1px;
|
||||
border-style: solid;
|
||||
border-style: solid;
|
||||
border-color:rgb(0,64,0);
|
||||
font-size: smaller;
|
||||
}
|
||||
|
||||
.hidcom {
|
||||
display:none; position:fixed; z-index:2;
|
||||
.onhover {
|
||||
display:none;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.ohafter:hover + .onhover, .ohinside:hover > .onhover {
|
||||
display:block;
|
||||
z-index:2;
|
||||
padding:5px; margin:5px;
|
||||
background-color: rgba(0,0,40,.8);
|
||||
}
|
||||
|
||||
a.actionlink:hover + .hidcom {
|
||||
display:block;
|
||||
}
|
||||
|
||||
.input-validation-error { border: solid 1px red; }
|
||||
.field-validation-error { color: red; }
|
||||
|
||||
.c2 { font-size: small; font-style: italic; }
|
||||
.c3 { font-size: x-small; font-style: italic; }
|
||||
@media print {
|
||||
body {background-color:white;color:black;}
|
||||
header,footer,.postcomment,.actionlink,.metablog,#login{ display:none;}
|
||||
|
|
@ -240,26 +236,28 @@ a.actionlink:hover + .hidcom {
|
|||
@media all and (min-width: 641px) {
|
||||
.bshpanel { display:block; }
|
||||
.bsh { display: none; }
|
||||
.c3 { display:initial; }
|
||||
.c3-alt { display:none; }
|
||||
}
|
||||
@media all and (max-width: 640px) {
|
||||
|
||||
.bshpanel { cursor:zoom-in; }
|
||||
|
||||
.bshd:hover > .bshpanel {
|
||||
display: block;
|
||||
}
|
||||
.bshd:hover > .bsh {
|
||||
display: none;
|
||||
}
|
||||
footer {
|
||||
font-size: x-small;
|
||||
}
|
||||
|
||||
body { font-size: smaller; }
|
||||
.c2 { display:initial; }
|
||||
.c2-alt { display:none; }
|
||||
.c3 { display:none; }
|
||||
.c3-alt { display:initial; }
|
||||
}
|
||||
|
||||
@media all and (max-width: 350px) {
|
||||
footer { font-size: xx-small; }
|
||||
.c2 { display:none; }
|
||||
.c2-alt { display:initial; }
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue