a note on billls,
+refactoring * instdbws.sql: * BlogsController.cs: * NpgsqlBlogProvider.cs: Implements the note * robots.txt: * Web.config: * Web.csproj: * Catalog.xml: * Global.asax.cs: * pgsql.xcf: * p8-av4.png: * pgsql.jpeg: * logoDev.png: * logoDev.xcf: * debian-pb.gif: * apache_pb.gif: * theme.css: * style.css: * apache_pby.gif: * apache_pbw.gif: * Book.aspx: * jquery-ui.css: * Login.aspx: * debian-powered.png: * BlogManager.cs: * FhHRx.gif: * pgsql.png: * TagControl.ascx: * jquery-ui.min.css: * BlogProvider.cs: * theme.css: * p8-av4.s.jpg: * test-domain-TestAPI.config: * noavatar.png: * p8-av4.xxs.jpg: * apache_pbw.png: * debian-logo.png: * TestCatalogInit.cs: * Mono-powered.png: * helix-nebula-1400x1400.l.jpg: * star-939235_1280.jpg: * animated-overlay.gif: * star-939235_1280.s.jpg: * sign-in-with-google.png: * star-939235_1280.xxs.jpg: * sign-in-with-google-s.png: * helix-nebula-1400x1400.jpg: * helix-nebula-1400x1400.s.jpg: * helix-nebula-1400x1400.xxs.jpg: removes the /images folder from the app root folder, all images are moved to /App_Themes/images
@ -1,3 +1,7 @@
|
||||
2015-11-04 Paul Schneider <paul@pschneider.fr>
|
||||
|
||||
* NpgsqlBlogProvider.cs: Implements the note
|
||||
|
||||
2015-10-19 Paul Schneider <paul@pschneider.fr>
|
||||
|
||||
* NpgsqlTagInfo.cs: Fixes the photo retreival
|
||||
|
@ -21,6 +21,25 @@ namespace Npgsql.Web.Blog
|
||||
string connectionString;
|
||||
|
||||
#region implemented abstract members of BlogProvider
|
||||
|
||||
/// <summary>
|
||||
/// Note the specified postid and note.
|
||||
/// </summary>
|
||||
/// <param name="postid">Postid.</param>
|
||||
/// <param name="note">Note.</param>
|
||||
public override void Note (long postid, int note)
|
||||
{
|
||||
using (NpgsqlConnection cnx = new NpgsqlConnection (connectionString))
|
||||
using (NpgsqlCommand cmd = cnx.CreateCommand ()) {
|
||||
cmd.CommandText = "update blogs set note = :note where _id = :pid)";
|
||||
cmd.Parameters.AddWithValue ("note", note);
|
||||
cmd.Parameters.AddWithValue ("pid", postid);
|
||||
cnx.Open ();
|
||||
cmd.ExecuteNonQuery ();
|
||||
cnx.Close ();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the tag info.
|
||||
/// </summary>
|
||||
@ -147,7 +166,7 @@ namespace Npgsql.Web.Blog
|
||||
}
|
||||
cnx.Close ();
|
||||
}
|
||||
UpdatePostCircles (postid, cids);
|
||||
if (cids != null) UpdatePostCircles (postid, cids);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@ -555,7 +574,8 @@ namespace Npgsql.Web.Blog
|
||||
}
|
||||
cnx.Close ();
|
||||
}
|
||||
UpdatePostCircles (pid, circles);
|
||||
if (circles != null)
|
||||
UpdatePostCircles (pid, circles);
|
||||
return pid;
|
||||
}
|
||||
|
||||
@ -587,7 +607,6 @@ namespace Npgsql.Web.Blog
|
||||
cmd.Parameters.AddWithValue ("pid", pid);
|
||||
cmd.ExecuteNonQuery ();
|
||||
}
|
||||
if (circles != null)
|
||||
if (circles.Length > 0)
|
||||
using (NpgsqlCommand cmd = cnx.CreateCommand ()) {
|
||||
cmd.CommandText = "insert into blog_access (post_id,circle_id) values (:pid,:cid)";
|
||||
|
@ -1,3 +1,7 @@
|
||||
2015-11-04 Paul Schneider <paul@pschneider.fr>
|
||||
|
||||
* TestCatalogInit.cs:
|
||||
|
||||
2015-10-30 Paul Schneider <paul@pschneider.fr>
|
||||
|
||||
* XmlCatalog.cs:
|
||||
|
@ -19,7 +19,7 @@ namespace SalesCatalog.Tests
|
||||
Catalog cat = new XmlCatalog ();
|
||||
Brand b = new Brand ();
|
||||
b.Logo = new ProductImage ();
|
||||
b.Logo.Src = "/images/dev.png";
|
||||
b.Logo.Src = "/App_Themes/images/dev.png";
|
||||
b.Logo.Alt = "Dev";
|
||||
b.Name = "Developpement à la carte";
|
||||
b.Slogan = "Votre logiciel, efficace, sûr, et sur mesure";
|
||||
|
@ -1,3 +1,7 @@
|
||||
2015-11-04 Paul Schneider <paul@pschneider.fr>
|
||||
|
||||
* test-domain-TestAPI.config:
|
||||
|
||||
2015-11-01 Paul Schneider <paul@pschneider.fr>
|
||||
|
||||
* test-domain-TestAPI.config: profile dates must be returned
|
||||
|
@ -115,7 +115,7 @@
|
||||
<add key="OwnerEMail" value="" />
|
||||
<add key="Name" value="TOTEM PRODUCTION" />
|
||||
<add key="DefaultController" value="Home" />
|
||||
<add key="DefaultAvatar" value="/images/noavatar.png;image/png" />
|
||||
<add key="DefaultAvatar" value="/App_Themes/images/noavatar.png;image/png" />
|
||||
<add key="RegistrationMessage" value="/RegistrationMail.txt" />
|
||||
<!-- <add key="ClientValidationEnabled" value="true" /> -->
|
||||
<add key="UnobtrusiveJavaScriptEnabled" value="true" />
|
||||
|
@ -140,7 +140,23 @@ namespace Yavsc.ApiControllers
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Create the specified blog entry.
|
||||
/// </summary>
|
||||
/// <param name="bp">Bp.</param>
|
||||
[Authorize, HttpPost]
|
||||
public long Create (BasePost bp)
|
||||
{
|
||||
return BlogManager.Post (User.Identity.Name, bp.Title, "", bp.Visible, null);
|
||||
}
|
||||
|
||||
[Authorize, HttpPost]
|
||||
public void Note (long id, int note)
|
||||
{
|
||||
if (note < 0 || note > 100)
|
||||
throw new ArgumentException ("0<=note<=100");
|
||||
BlogManager.Note (id, note);
|
||||
}
|
||||
/// <summary>
|
||||
/// Searchs the file.
|
||||
/// </summary>
|
||||
@ -229,7 +245,7 @@ namespace Yavsc.ApiControllers
|
||||
fo.Delete();
|
||||
}
|
||||
|
||||
return Request.CreateResponse(HttpStatusCode.OK,string.Join("---\n",bodies),new SimpleFormatter("text/plain"));
|
||||
return Request.CreateResponse(HttpStatusCode.OK,string.Join("\n---\n",bodies),new SimpleFormatter("text/plain"));
|
||||
|
||||
}
|
||||
catch (System.Exception e)
|
||||
|
@ -175,7 +175,8 @@ CREATE TABLE blog
|
||||
bcontent text NOT NULL,
|
||||
visible boolean NOT NULL,
|
||||
_id bigserial NOT NULL,
|
||||
photo character varying(512),
|
||||
photo character varying(512), -- a photo url, supposed to be the main photo...
|
||||
note integer NOT NULL DEFAULT 50, -- a global note for this entry, between 0 and 100
|
||||
CONSTRAINT blog_pkey PRIMARY KEY (_id),
|
||||
CONSTRAINT bloguser FOREIGN KEY (applicationname, username)
|
||||
REFERENCES users (applicationname, username) MATCH SIMPLE
|
||||
@ -187,6 +188,7 @@ WITH (
|
||||
|
||||
COMMENT ON COLUMN blog.photo IS 'a photo url, supposed to be the main photo
|
||||
related to this post';
|
||||
COMMENT ON COLUMN blog.note IS 'a global note for this entry, between 0 and 100';
|
||||
|
||||
CREATE TABLE blfiles
|
||||
(
|
||||
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 4.1 KiB |
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 87 KiB After Width: | Height: | Size: 87 KiB |
Before Width: | Height: | Size: 60 KiB After Width: | Height: | Size: 60 KiB |
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 5.4 KiB After Width: | Height: | Size: 5.4 KiB |
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 39 KiB After Width: | Height: | Size: 39 KiB |
Before Width: | Height: | Size: 9.8 KiB After Width: | Height: | Size: 9.8 KiB |
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 4.0 KiB |
34
web/App_Themes/jquery-ui.css
vendored
@ -845,7 +845,7 @@ body .ui-tooltip {
|
||||
}
|
||||
.ui-widget-content {
|
||||
border: 1px solid #666666;
|
||||
background: #000000 url("images/ui-bg_inset-soft_25_000000_1x100.png") 50% bottom repeat-x;
|
||||
background: #000000 url("/App_Themes/images/ui-bg_inset-soft_25_000000_1x100.png") 50% bottom repeat-x;
|
||||
color: #ffffff;
|
||||
}
|
||||
.ui-widget-content a {
|
||||
@ -853,7 +853,7 @@ body .ui-tooltip {
|
||||
}
|
||||
.ui-widget-header {
|
||||
border: 1px solid #333333;
|
||||
background: #333333 url("images/ui-bg_gloss-wave_25_333333_500x100.png") 50% 50% repeat-x;
|
||||
background: #333333 url("/App_Themes/images/ui-bg_gloss-wave_25_333333_500x100.png") 50% 50% repeat-x;
|
||||
color: #ffffff;
|
||||
font-weight: bold;
|
||||
}
|
||||
@ -867,7 +867,7 @@ body .ui-tooltip {
|
||||
.ui-widget-content .ui-state-default,
|
||||
.ui-widget-header .ui-state-default {
|
||||
border: 1px solid #666666;
|
||||
background: #555555 url("images/ui-bg_glass_20_555555_1x400.png") 50% 50% repeat-x;
|
||||
background: #555555 url("/App_Themes/images/ui-bg_glass_20_555555_1x400.png") 50% 50% repeat-x;
|
||||
font-weight: bold;
|
||||
color: #eeeeee;
|
||||
}
|
||||
@ -884,7 +884,7 @@ body .ui-tooltip {
|
||||
.ui-widget-content .ui-state-focus,
|
||||
.ui-widget-header .ui-state-focus {
|
||||
border: 1px solid #59b4d4;
|
||||
background: #0078a3 url("images/ui-bg_glass_40_0078a3_1x400.png") 50% 50% repeat-x;
|
||||
background: #0078a3 url("/App_Themes/images/ui-bg_glass_40_0078a3_1x400.png") 50% 50% repeat-x;
|
||||
font-weight: bold;
|
||||
color: #ffffff;
|
||||
}
|
||||
@ -903,7 +903,7 @@ body .ui-tooltip {
|
||||
.ui-widget-content .ui-state-active,
|
||||
.ui-widget-header .ui-state-active {
|
||||
border: 1px solid #ffaf0f;
|
||||
background: #f58400 url("images/ui-bg_inset-soft_30_f58400_1x100.png") 50% 50% repeat-x;
|
||||
background: #f58400 url("/App_Themes/images/ui-bg_inset-soft_30_f58400_1x100.png") 50% 50% repeat-x;
|
||||
font-weight: bold;
|
||||
color: #ffffff;
|
||||
}
|
||||
@ -920,7 +920,7 @@ body .ui-tooltip {
|
||||
.ui-widget-content .ui-state-highlight,
|
||||
.ui-widget-header .ui-state-highlight {
|
||||
border: 1px solid #cccccc;
|
||||
background: #eeeeee url("images/ui-bg_highlight-soft_80_eeeeee_1x100.png") 50% top repeat-x;
|
||||
background: #eeeeee url("/App_Themes/images/ui-bg_highlight-soft_80_eeeeee_1x100.png") 50% top repeat-x;
|
||||
color: #2e7db2;
|
||||
}
|
||||
.ui-state-highlight a,
|
||||
@ -932,7 +932,7 @@ body .ui-tooltip {
|
||||
.ui-widget-content .ui-state-error,
|
||||
.ui-widget-header .ui-state-error {
|
||||
border: 1px solid #ffb73d;
|
||||
background: #ffc73d url("images/ui-bg_glass_40_ffc73d_1x400.png") 50% 50% repeat-x;
|
||||
background: #ffc73d url("/App_Themes/images/ui-bg_glass_40_ffc73d_1x400.png") 50% 50% repeat-x;
|
||||
color: #111111;
|
||||
}
|
||||
.ui-state-error a,
|
||||
@ -971,34 +971,34 @@ body .ui-tooltip {
|
||||
/* Icons
|
||||
----------------------------------*/
|
||||
|
||||
/* states and images */
|
||||
/* states and App_Themes/images */
|
||||
.ui-icon {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
.ui-icon,
|
||||
.ui-widget-content .ui-icon {
|
||||
background-image: url("images/ui-icons_cccccc_256x240.png");
|
||||
background-image: url("/App_Themes/images/ui-icons_cccccc_256x240.png");
|
||||
}
|
||||
.ui-widget-header .ui-icon {
|
||||
background-image: url("images/ui-icons_ffffff_256x240.png");
|
||||
background-image: url("/App_Themes/images/ui-icons_ffffff_256x240.png");
|
||||
}
|
||||
.ui-state-default .ui-icon {
|
||||
background-image: url("images/ui-icons_cccccc_256x240.png");
|
||||
background-image: url("/App_Themes/images/ui-icons_cccccc_256x240.png");
|
||||
}
|
||||
.ui-state-hover .ui-icon,
|
||||
.ui-state-focus .ui-icon {
|
||||
background-image: url("images/ui-icons_ffffff_256x240.png");
|
||||
background-image: url("/App_Themes/images/ui-icons_ffffff_256x240.png");
|
||||
}
|
||||
.ui-state-active .ui-icon {
|
||||
background-image: url("images/ui-icons_222222_256x240.png");
|
||||
background-image: url("/App_Themes/images/ui-icons_222222_256x240.png");
|
||||
}
|
||||
.ui-state-highlight .ui-icon {
|
||||
background-image: url("images/ui-icons_4b8e0b_256x240.png");
|
||||
background-image: url("/App_Themes/images/ui-icons_4b8e0b_256x240.png");
|
||||
}
|
||||
.ui-state-error .ui-icon,
|
||||
.ui-state-error-text .ui-icon {
|
||||
background-image: url("images/ui-icons_a83300_256x240.png");
|
||||
background-image: url("/App_Themes/images/ui-icons_a83300_256x240.png");
|
||||
}
|
||||
|
||||
/* positioning */
|
||||
@ -1211,14 +1211,14 @@ body .ui-tooltip {
|
||||
|
||||
/* Overlays */
|
||||
.ui-widget-overlay {
|
||||
background: #5c5c5c url("images/ui-bg_flat_50_5c5c5c_40x100.png") 50% 50% repeat-x;
|
||||
background: #5c5c5c url("/App_Themes/images/ui-bg_flat_50_5c5c5c_40x100.png") 50% 50% repeat-x;
|
||||
opacity: .8;
|
||||
filter: Alpha(Opacity=80); /* support: IE8 */
|
||||
}
|
||||
.ui-widget-shadow {
|
||||
margin: -7px 0 0 -7px;
|
||||
padding: 7px;
|
||||
background: #cccccc url("images/ui-bg_flat_30_cccccc_40x100.png") 50% 50% repeat-x;
|
||||
background: #cccccc url("/App_Themes/images/ui-bg_flat_30_cccccc_40x100.png") 50% 50% repeat-x;
|
||||
opacity: .6;
|
||||
filter: Alpha(Opacity=60); /* support: IE8 */
|
||||
border-radius: 8px;
|
||||
|
2
web/App_Themes/jquery-ui.min.css
vendored
@ -24,7 +24,7 @@ body {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
background: rgba( 255, 255, 255, .8 )
|
||||
url('/images/FhHRx.gif')
|
||||
url('/App_Themes/images/FhHRx.gif')
|
||||
50% 50%
|
||||
no-repeat;
|
||||
overflow: auto;
|
||||
@ -64,7 +64,7 @@ transition: margin 2s, padding 2s;
|
||||
padding-top: 2em;
|
||||
padding-bottom:2em;
|
||||
display: block;
|
||||
background: url("/images/star-939235_1280.jpg") -3em -3em no-repeat fixed;
|
||||
background: url("/App_Themes/images/star-939235_1280.jpg") -3em -3em no-repeat fixed;
|
||||
}
|
||||
header h1, header a {
|
||||
transition:padding 2s;
|
||||
@ -78,7 +78,7 @@ transition: margin 2s, padding 2s;
|
||||
padding: 2em;
|
||||
display: block;
|
||||
border-radius:1em;
|
||||
background: url("/images/helix-nebula-1400x1400.s.jpg") 50% 10% repeat fixed ;
|
||||
background: url("/App_Themes/images/helix-nebula-1400x1400.s.jpg") 50% 10% repeat fixed ;
|
||||
justify-content: space-around;
|
||||
}
|
||||
nav li { display: inline-block; }
|
||||
@ -88,12 +88,12 @@ transition: margin 2s, padding 2s;
|
||||
padding: 2em;
|
||||
display: block;
|
||||
border-radius:1em;
|
||||
background: url("/images/p8-av4.png") 50% 20em no-repeat fixed ;
|
||||
background: url("/App_Themes/images/p8-av4.png") 50% 20em no-repeat fixed ;
|
||||
}
|
||||
|
||||
footer {
|
||||
transition: margin 2s, padding 2s;
|
||||
background: url("/images/helix-nebula-1400x1400.s.jpg") 50% 90% repeat fixed ;
|
||||
background: url("/App_Themes/images/helix-nebula-1400x1400.s.jpg") 50% 90% repeat fixed ;
|
||||
margin: 0;
|
||||
margin-top: 2em;
|
||||
padding: 2em;
|
||||
@ -340,7 +340,7 @@ a:active {
|
||||
header {
|
||||
padding-top:1em;
|
||||
padding-bottom:1em;
|
||||
background: url("/images/star-939235_1280.s.jpg") 0 0 no-repeat fixed;
|
||||
background: url("/App_Themes/images/star-939235_1280.s.jpg") 0 0 no-repeat fixed;
|
||||
}
|
||||
|
||||
#avatar {
|
||||
@ -352,15 +352,15 @@ header h1, header a , .actionlink, .menuitem, a { padding:.5em;}
|
||||
nav {
|
||||
margin: 1em;
|
||||
padding: 1em;
|
||||
background: url("/images/helix-nebula-1400x1400.s.jpg") 50% 10% repeat fixed ;
|
||||
background: url("/App_Themes/images/helix-nebula-1400x1400.s.jpg") 50% 10% repeat fixed ;
|
||||
}
|
||||
main {
|
||||
margin: 1em;
|
||||
padding: 1em;
|
||||
background: url("/images/p8-av4.s.jpg") 50% 20em no-repeat fixed ;
|
||||
background: url("/App_Themes/images/p8-av4.s.jpg") 50% 20em no-repeat fixed ;
|
||||
}
|
||||
footer {
|
||||
background: url("/images/helix-nebula-1400x1400.s.jpg") 50% 90% repeat fixed ;
|
||||
background: url("/App_Themes/images/helix-nebula-1400x1400.s.jpg") 50% 90% repeat fixed ;
|
||||
}
|
||||
footer a {
|
||||
border-radius:.5em;
|
||||
@ -396,7 +396,7 @@ header h1, header a , .actionlink, .menuitem, a { padding:.5em;}
|
||||
header {
|
||||
padding-top:.5em;
|
||||
padding-bottom:.5em;
|
||||
background: url("/images/star-939235_1280.xxs.jpg") 0 0 no-repeat fixed;
|
||||
background: url("/App_Themes/images/star-939235_1280.xxs.jpg") 0 0 no-repeat fixed;
|
||||
}
|
||||
|
||||
header h1, header a { padding:.2em;}
|
||||
@ -404,15 +404,15 @@ header h1, header a { padding:.2em;}
|
||||
nav {
|
||||
margin: .5em;
|
||||
padding: .5em;
|
||||
background: url("/images/helix-nebula-1400x1400.xxs.jpg") 50% 10% repeat fixed ;
|
||||
background: url("/App_Themes/images/helix-nebula-1400x1400.xxs.jpg") 50% 10% repeat fixed ;
|
||||
}
|
||||
main {
|
||||
margin: .5em;
|
||||
padding: .5em;
|
||||
background: url("/images/p8-av4.xxs.jpg") 50% 20em repeat fixed ;
|
||||
background: url("/App_Themes/images/p8-av4.xxs.jpg") 50% 20em repeat fixed ;
|
||||
}
|
||||
footer {
|
||||
background: url("/images/helix-nebula-1400x1400.xxs.jpg") 50% 10% repeat fixed ;
|
||||
background: url("/App_Themes/images/helix-nebula-1400x1400.xxs.jpg") 50% 10% repeat fixed ;
|
||||
}
|
||||
footer a {
|
||||
border-radius:.2em;
|
||||
|
@ -30,7 +30,7 @@
|
||||
}
|
||||
.ui-widget-content {
|
||||
border: 1px solid #aaaaaa/*{borderColorContent}*/;
|
||||
background: #ffffff/*{bgColorContent}*/ url("images/ui-bg_flat_75_ffffff_40x100.png")/*{bgImgUrlContent}*/ 50%/*{bgContentXPos}*/ 50%/*{bgContentYPos}*/ repeat-x/*{bgContentRepeat}*/;
|
||||
background: #ffffff/*{bgColorContent}*/ url("/App_Themes/images/ui-bg_flat_75_ffffff_40x100.png")/*{bgImgUrlContent}*/ 50%/*{bgContentXPos}*/ 50%/*{bgContentYPos}*/ repeat-x/*{bgContentRepeat}*/;
|
||||
color: #222222/*{fcContent}*/;
|
||||
}
|
||||
.ui-widget-content a {
|
||||
@ -38,7 +38,7 @@
|
||||
}
|
||||
.ui-widget-header {
|
||||
border: 1px solid #aaaaaa/*{borderColorHeader}*/;
|
||||
background: #cccccc/*{bgColorHeader}*/ url("images/ui-bg_highlight-soft_75_cccccc_1x100.png")/*{bgImgUrlHeader}*/ 50%/*{bgHeaderXPos}*/ 50%/*{bgHeaderYPos}*/ repeat-x/*{bgHeaderRepeat}*/;
|
||||
background: #cccccc/*{bgColorHeader}*/ url("/App_Themes/images/ui-bg_highlight-soft_75_cccccc_1x100.png")/*{bgImgUrlHeader}*/ 50%/*{bgHeaderXPos}*/ 50%/*{bgHeaderYPos}*/ repeat-x/*{bgHeaderRepeat}*/;
|
||||
color: #222222/*{fcHeader}*/;
|
||||
font-weight: bold;
|
||||
}
|
||||
@ -52,7 +52,7 @@
|
||||
.ui-widget-content .ui-state-default,
|
||||
.ui-widget-header .ui-state-default {
|
||||
border: 1px solid #d3d3d3/*{borderColorDefault}*/;
|
||||
background: #e6e6e6/*{bgColorDefault}*/ url("images/ui-bg_glass_75_e6e6e6_1x400.png")/*{bgImgUrlDefault}*/ 50%/*{bgDefaultXPos}*/ 50%/*{bgDefaultYPos}*/ repeat-x/*{bgDefaultRepeat}*/;
|
||||
background: #e6e6e6/*{bgColorDefault}*/ url("/App_Themes/images/ui-bg_glass_75_e6e6e6_1x400.png")/*{bgImgUrlDefault}*/ 50%/*{bgDefaultXPos}*/ 50%/*{bgDefaultYPos}*/ repeat-x/*{bgDefaultRepeat}*/;
|
||||
font-weight: normal/*{fwDefault}*/;
|
||||
color: #555555/*{fcDefault}*/;
|
||||
}
|
||||
@ -69,7 +69,7 @@
|
||||
.ui-widget-content .ui-state-focus,
|
||||
.ui-widget-header .ui-state-focus {
|
||||
border: 1px solid #999999/*{borderColorHover}*/;
|
||||
background: #dadada/*{bgColorHover}*/ url("images/ui-bg_glass_75_dadada_1x400.png")/*{bgImgUrlHover}*/ 50%/*{bgHoverXPos}*/ 50%/*{bgHoverYPos}*/ repeat-x/*{bgHoverRepeat}*/;
|
||||
background: #dadada/*{bgColorHover}*/ url("/App_Themes/images/ui-bg_glass_75_dadada_1x400.png")/*{bgImgUrlHover}*/ 50%/*{bgHoverXPos}*/ 50%/*{bgHoverYPos}*/ repeat-x/*{bgHoverRepeat}*/;
|
||||
font-weight: normal/*{fwDefault}*/;
|
||||
color: #212121/*{fcHover}*/;
|
||||
}
|
||||
@ -88,7 +88,7 @@
|
||||
.ui-widget-content .ui-state-active,
|
||||
.ui-widget-header .ui-state-active {
|
||||
border: 1px solid #aaaaaa/*{borderColorActive}*/;
|
||||
background: #ffffff/*{bgColorActive}*/ url("images/ui-bg_glass_65_ffffff_1x400.png")/*{bgImgUrlActive}*/ 50%/*{bgActiveXPos}*/ 50%/*{bgActiveYPos}*/ repeat-x/*{bgActiveRepeat}*/;
|
||||
background: #ffffff/*{bgColorActive}*/ url("/App_Themes/images/ui-bg_glass_65_ffffff_1x400.png")/*{bgImgUrlActive}*/ 50%/*{bgActiveXPos}*/ 50%/*{bgActiveYPos}*/ repeat-x/*{bgActiveRepeat}*/;
|
||||
font-weight: normal/*{fwDefault}*/;
|
||||
color: #212121/*{fcActive}*/;
|
||||
}
|
||||
@ -105,7 +105,7 @@
|
||||
.ui-widget-content .ui-state-highlight,
|
||||
.ui-widget-header .ui-state-highlight {
|
||||
border: 1px solid #fcefa1/*{borderColorHighlight}*/;
|
||||
background: #fbf9ee/*{bgColorHighlight}*/ url("images/ui-bg_glass_55_fbf9ee_1x400.png")/*{bgImgUrlHighlight}*/ 50%/*{bgHighlightXPos}*/ 50%/*{bgHighlightYPos}*/ repeat-x/*{bgHighlightRepeat}*/;
|
||||
background: #fbf9ee/*{bgColorHighlight}*/ url("/App_Themes/images/ui-bg_glass_55_fbf9ee_1x400.png")/*{bgImgUrlHighlight}*/ 50%/*{bgHighlightXPos}*/ 50%/*{bgHighlightYPos}*/ repeat-x/*{bgHighlightRepeat}*/;
|
||||
color: #363636/*{fcHighlight}*/;
|
||||
}
|
||||
.ui-state-highlight a,
|
||||
@ -117,7 +117,7 @@
|
||||
.ui-widget-content .ui-state-error,
|
||||
.ui-widget-header .ui-state-error {
|
||||
border: 1px solid #cd0a0a/*{borderColorError}*/;
|
||||
background: #fef1ec/*{bgColorError}*/ url("images/ui-bg_glass_95_fef1ec_1x400.png")/*{bgImgUrlError}*/ 50%/*{bgErrorXPos}*/ 50%/*{bgErrorYPos}*/ repeat-x/*{bgErrorRepeat}*/;
|
||||
background: #fef1ec/*{bgColorError}*/ url("/App_Themes/images/ui-bg_glass_95_fef1ec_1x400.png")/*{bgImgUrlError}*/ 50%/*{bgErrorXPos}*/ 50%/*{bgErrorYPos}*/ repeat-x/*{bgErrorRepeat}*/;
|
||||
color: #cd0a0a/*{fcError}*/;
|
||||
}
|
||||
.ui-state-error a,
|
||||
@ -156,34 +156,34 @@
|
||||
/* Icons
|
||||
----------------------------------*/
|
||||
|
||||
/* states and images */
|
||||
/* states and /App_Themes/images */
|
||||
.ui-icon {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
.ui-icon,
|
||||
.ui-widget-content .ui-icon {
|
||||
background-image: url("images/ui-icons_222222_256x240.png")/*{iconsContent}*/;
|
||||
background-image: url("/App_Themes/images/ui-icons_222222_256x240.png")/*{iconsContent}*/;
|
||||
}
|
||||
.ui-widget-header .ui-icon {
|
||||
background-image: url("images/ui-icons_222222_256x240.png")/*{iconsHeader}*/;
|
||||
background-image: url("/App_Themes/images/ui-icons_222222_256x240.png")/*{iconsHeader}*/;
|
||||
}
|
||||
.ui-state-default .ui-icon {
|
||||
background-image: url("images/ui-icons_888888_256x240.png")/*{iconsDefault}*/;
|
||||
background-image: url("/App_Themes/images/ui-icons_888888_256x240.png")/*{iconsDefault}*/;
|
||||
}
|
||||
.ui-state-hover .ui-icon,
|
||||
.ui-state-focus .ui-icon {
|
||||
background-image: url("images/ui-icons_454545_256x240.png")/*{iconsHover}*/;
|
||||
background-image: url("/App_Themes/images/ui-icons_454545_256x240.png")/*{iconsHover}*/;
|
||||
}
|
||||
.ui-state-active .ui-icon {
|
||||
background-image: url("images/ui-icons_454545_256x240.png")/*{iconsActive}*/;
|
||||
background-image: url("/App_Themes/images/ui-icons_454545_256x240.png")/*{iconsActive}*/;
|
||||
}
|
||||
.ui-state-highlight .ui-icon {
|
||||
background-image: url("images/ui-icons_2e83ff_256x240.png")/*{iconsHighlight}*/;
|
||||
background-image: url("/App_Themes/images/ui-icons_2e83ff_256x240.png")/*{iconsHighlight}*/;
|
||||
}
|
||||
.ui-state-error .ui-icon,
|
||||
.ui-state-error-text .ui-icon {
|
||||
background-image: url("images/ui-icons_cd0a0a_256x240.png")/*{iconsError}*/;
|
||||
background-image: url("/App_Themes/images/ui-icons_cd0a0a_256x240.png")/*{iconsError}*/;
|
||||
}
|
||||
|
||||
/* positioning */
|
||||
@ -396,14 +396,14 @@
|
||||
|
||||
/* Overlays */
|
||||
.ui-widget-overlay {
|
||||
background: #aaaaaa/*{bgColorOverlay}*/ url("images/ui-bg_flat_0_aaaaaa_40x100.png")/*{bgImgUrlOverlay}*/ 50%/*{bgOverlayXPos}*/ 50%/*{bgOverlayYPos}*/ repeat-x/*{bgOverlayRepeat}*/;
|
||||
background: #aaaaaa/*{bgColorOverlay}*/ url("/App_Themes/images/ui-bg_flat_0_aaaaaa_40x100.png")/*{bgImgUrlOverlay}*/ 50%/*{bgOverlayXPos}*/ 50%/*{bgOverlayYPos}*/ repeat-x/*{bgOverlayRepeat}*/;
|
||||
opacity: .3/*{opacityOverlay}*/;
|
||||
filter: Alpha(Opacity=30)/*{opacityFilterOverlay}*/; /* support: IE8 */
|
||||
}
|
||||
.ui-widget-shadow {
|
||||
margin: -8px/*{offsetTopShadow}*/ 0 0 -8px/*{offsetLeftShadow}*/;
|
||||
padding: 8px/*{thicknessShadow}*/;
|
||||
background: #aaaaaa/*{bgColorShadow}*/ url("images/ui-bg_flat_0_aaaaaa_40x100.png")/*{bgImgUrlShadow}*/ 50%/*{bgShadowXPos}*/ 50%/*{bgShadowYPos}*/ repeat-x/*{bgShadowRepeat}*/;
|
||||
background: #aaaaaa/*{bgColorShadow}*/ url("/App_Themes/images/ui-bg_flat_0_aaaaaa_40x100.png")/*{bgImgUrlShadow}*/ 50%/*{bgShadowXPos}*/ 50%/*{bgShadowYPos}*/ repeat-x/*{bgShadowRepeat}*/;
|
||||
opacity: .3/*{opacityShadow}*/;
|
||||
filter: Alpha(Opacity=30)/*{opacityFilterShadow}*/; /* support: IE8 */
|
||||
border-radius: 8px/*{cornerRadiusShadow}*/;
|
||||
|
@ -5,7 +5,7 @@
|
||||
<Name>psc</Name>
|
||||
<Slogan>Votre logiciel, efficace, sûr, et sur mesure</Slogan>
|
||||
<Logo>
|
||||
<Src>/images/logoDev.png</Src>
|
||||
<Src>/App_Themes/images/logoDev.png</Src>
|
||||
<Alt>
|
||||
</Alt>
|
||||
</Logo>
|
||||
|
@ -1,3 +1,50 @@
|
||||
2015-11-04 Paul Schneider <paul@pschneider.fr>
|
||||
|
||||
* instdbws.sql:
|
||||
* BlogsController.cs: Implements the note
|
||||
|
||||
* robots.txt:
|
||||
* Web.csproj:
|
||||
* Web.config:
|
||||
* Catalog.xml:
|
||||
* Global.asax.cs:
|
||||
* pgsql.xcf:
|
||||
* pgsql.jpeg:
|
||||
* p8-av4.png:
|
||||
* logoDev.png:
|
||||
* logoDev.xcf:
|
||||
* apache_pb.gif:
|
||||
* style.css:
|
||||
* theme.css:
|
||||
* debian-pb.gif:
|
||||
* apache_pbw.gif:
|
||||
* apache_pby.gif:
|
||||
* Book.aspx:
|
||||
* jquery-ui.css:
|
||||
* Login.aspx:
|
||||
* debian-powered.png:
|
||||
* FhHRx.gif:
|
||||
* TagControl.ascx:
|
||||
* pgsql.png:
|
||||
* jquery-ui.min.css:
|
||||
* theme.css:
|
||||
* noavatar.png:
|
||||
* p8-av4.s.jpg:
|
||||
* p8-av4.xxs.jpg:
|
||||
* apache_pbw.png:
|
||||
* debian-logo.png:
|
||||
* Mono-powered.png:
|
||||
* helix-nebula-1400x1400.l.jpg:
|
||||
* star-939235_1280.jpg:
|
||||
* animated-overlay.gif:
|
||||
* star-939235_1280.s.jpg:
|
||||
* sign-in-with-google.png:
|
||||
* star-939235_1280.xxs.jpg:
|
||||
* sign-in-with-google-s.png:
|
||||
* helix-nebula-1400x1400.jpg:
|
||||
* helix-nebula-1400x1400.s.jpg:
|
||||
* helix-nebula-1400x1400.xxs.jpg:
|
||||
|
||||
2015-11-03 Paul Schneider <paul@pschneider.fr>
|
||||
|
||||
* YavscController.cs: TODO ...
|
||||
|
@ -30,7 +30,7 @@
|
||||
}
|
||||
.ui-widget-content {
|
||||
border: 1px solid #aaaaaa/*{borderColorContent}*/;
|
||||
background: #ffffff/*{bgColorContent}*/ url("images/ui-bg_flat_75_ffffff_40x100.png")/*{bgImgUrlContent}*/ 50%/*{bgContentXPos}*/ 50%/*{bgContentYPos}*/ repeat-x/*{bgContentRepeat}*/;
|
||||
background: #ffffff/*{bgColorContent}*/ url("/App_Themes/images/ui-bg_flat_75_ffffff_40x100.png")/*{bgImgUrlContent}*/ 50%/*{bgContentXPos}*/ 50%/*{bgContentYPos}*/ repeat-x/*{bgContentRepeat}*/;
|
||||
color: #222222/*{fcContent}*/;
|
||||
}
|
||||
.ui-widget-content a {
|
||||
@ -38,7 +38,7 @@
|
||||
}
|
||||
.ui-widget-header {
|
||||
border: 1px solid #aaaaaa/*{borderColorHeader}*/;
|
||||
background: #cccccc/*{bgColorHeader}*/ url("images/ui-bg_highlight-soft_75_cccccc_1x100.png")/*{bgImgUrlHeader}*/ 50%/*{bgHeaderXPos}*/ 50%/*{bgHeaderYPos}*/ repeat-x/*{bgHeaderRepeat}*/;
|
||||
background: #cccccc/*{bgColorHeader}*/ url("/App_Themes/images/ui-bg_highlight-soft_75_cccccc_1x100.png")/*{bgImgUrlHeader}*/ 50%/*{bgHeaderXPos}*/ 50%/*{bgHeaderYPos}*/ repeat-x/*{bgHeaderRepeat}*/;
|
||||
color: #222222/*{fcHeader}*/;
|
||||
font-weight: bold;
|
||||
}
|
||||
@ -52,7 +52,7 @@
|
||||
.ui-widget-content .ui-state-default,
|
||||
.ui-widget-header .ui-state-default {
|
||||
border: 1px solid #d3d3d3/*{borderColorDefault}*/;
|
||||
background: #e6e6e6/*{bgColorDefault}*/ url("images/ui-bg_glass_75_e6e6e6_1x400.png")/*{bgImgUrlDefault}*/ 50%/*{bgDefaultXPos}*/ 50%/*{bgDefaultYPos}*/ repeat-x/*{bgDefaultRepeat}*/;
|
||||
background: #e6e6e6/*{bgColorDefault}*/ url("/App_Themes/images/ui-bg_glass_75_e6e6e6_1x400.png")/*{bgImgUrlDefault}*/ 50%/*{bgDefaultXPos}*/ 50%/*{bgDefaultYPos}*/ repeat-x/*{bgDefaultRepeat}*/;
|
||||
font-weight: normal/*{fwDefault}*/;
|
||||
color: #555555/*{fcDefault}*/;
|
||||
}
|
||||
@ -69,7 +69,7 @@
|
||||
.ui-widget-content .ui-state-focus,
|
||||
.ui-widget-header .ui-state-focus {
|
||||
border: 1px solid #999999/*{borderColorHover}*/;
|
||||
background: #dadada/*{bgColorHover}*/ url("images/ui-bg_glass_75_dadada_1x400.png")/*{bgImgUrlHover}*/ 50%/*{bgHoverXPos}*/ 50%/*{bgHoverYPos}*/ repeat-x/*{bgHoverRepeat}*/;
|
||||
background: #dadada/*{bgColorHover}*/ url("/App_Themes/images/ui-bg_glass_75_dadada_1x400.png")/*{bgImgUrlHover}*/ 50%/*{bgHoverXPos}*/ 50%/*{bgHoverYPos}*/ repeat-x/*{bgHoverRepeat}*/;
|
||||
font-weight: normal/*{fwDefault}*/;
|
||||
color: #212121/*{fcHover}*/;
|
||||
}
|
||||
@ -88,7 +88,7 @@
|
||||
.ui-widget-content .ui-state-active,
|
||||
.ui-widget-header .ui-state-active {
|
||||
border: 1px solid #aaaaaa/*{borderColorActive}*/;
|
||||
background: #ffffff/*{bgColorActive}*/ url("images/ui-bg_glass_65_ffffff_1x400.png")/*{bgImgUrlActive}*/ 50%/*{bgActiveXPos}*/ 50%/*{bgActiveYPos}*/ repeat-x/*{bgActiveRepeat}*/;
|
||||
background: #ffffff/*{bgColorActive}*/ url("/App_Themes/images/ui-bg_glass_65_ffffff_1x400.png")/*{bgImgUrlActive}*/ 50%/*{bgActiveXPos}*/ 50%/*{bgActiveYPos}*/ repeat-x/*{bgActiveRepeat}*/;
|
||||
font-weight: normal/*{fwDefault}*/;
|
||||
color: #212121/*{fcActive}*/;
|
||||
}
|
||||
@ -105,7 +105,7 @@
|
||||
.ui-widget-content .ui-state-highlight,
|
||||
.ui-widget-header .ui-state-highlight {
|
||||
border: 1px solid #fcefa1/*{borderColorHighlight}*/;
|
||||
background: #fbf9ee/*{bgColorHighlight}*/ url("images/ui-bg_glass_55_fbf9ee_1x400.png")/*{bgImgUrlHighlight}*/ 50%/*{bgHighlightXPos}*/ 50%/*{bgHighlightYPos}*/ repeat-x/*{bgHighlightRepeat}*/;
|
||||
background: #fbf9ee/*{bgColorHighlight}*/ url("/App_Themes/images/ui-bg_glass_55_fbf9ee_1x400.png")/*{bgImgUrlHighlight}*/ 50%/*{bgHighlightXPos}*/ 50%/*{bgHighlightYPos}*/ repeat-x/*{bgHighlightRepeat}*/;
|
||||
color: #363636/*{fcHighlight}*/;
|
||||
}
|
||||
.ui-state-highlight a,
|
||||
@ -117,7 +117,7 @@
|
||||
.ui-widget-content .ui-state-error,
|
||||
.ui-widget-header .ui-state-error {
|
||||
border: 1px solid #cd0a0a/*{borderColorError}*/;
|
||||
background: #fef1ec/*{bgColorError}*/ url("images/ui-bg_glass_95_fef1ec_1x400.png")/*{bgImgUrlError}*/ 50%/*{bgErrorXPos}*/ 50%/*{bgErrorYPos}*/ repeat-x/*{bgErrorRepeat}*/;
|
||||
background: #fef1ec/*{bgColorError}*/ url("/App_Themes/images/ui-bg_glass_95_fef1ec_1x400.png")/*{bgImgUrlError}*/ 50%/*{bgErrorXPos}*/ 50%/*{bgErrorYPos}*/ repeat-x/*{bgErrorRepeat}*/;
|
||||
color: #cd0a0a/*{fcError}*/;
|
||||
}
|
||||
.ui-state-error a,
|
||||
@ -163,27 +163,27 @@
|
||||
}
|
||||
.ui-icon,
|
||||
.ui-widget-content .ui-icon {
|
||||
background-image: url("images/ui-icons_222222_256x240.png")/*{iconsContent}*/;
|
||||
background-image: url("/App_Themes/images/ui-icons_222222_256x240.png")/*{iconsContent}*/;
|
||||
}
|
||||
.ui-widget-header .ui-icon {
|
||||
background-image: url("images/ui-icons_222222_256x240.png")/*{iconsHeader}*/;
|
||||
background-image: url("/App_Themes/images/ui-icons_222222_256x240.png")/*{iconsHeader}*/;
|
||||
}
|
||||
.ui-state-default .ui-icon {
|
||||
background-image: url("images/ui-icons_888888_256x240.png")/*{iconsDefault}*/;
|
||||
background-image: url("/App_Themes/images/ui-icons_888888_256x240.png")/*{iconsDefault}*/;
|
||||
}
|
||||
.ui-state-hover .ui-icon,
|
||||
.ui-state-focus .ui-icon {
|
||||
background-image: url("images/ui-icons_454545_256x240.png")/*{iconsHover}*/;
|
||||
background-image: url("/App_Themes/images/ui-icons_454545_256x240.png")/*{iconsHover}*/;
|
||||
}
|
||||
.ui-state-active .ui-icon {
|
||||
background-image: url("images/ui-icons_454545_256x240.png")/*{iconsActive}*/;
|
||||
background-image: url("/App_Themes/images/ui-icons_454545_256x240.png")/*{iconsActive}*/;
|
||||
}
|
||||
.ui-state-highlight .ui-icon {
|
||||
background-image: url("images/ui-icons_2e83ff_256x240.png")/*{iconsHighlight}*/;
|
||||
background-image: url("/App_Themes/images/ui-icons_2e83ff_256x240.png")/*{iconsHighlight}*/;
|
||||
}
|
||||
.ui-state-error .ui-icon,
|
||||
.ui-state-error-text .ui-icon {
|
||||
background-image: url("images/ui-icons_cd0a0a_256x240.png")/*{iconsError}*/;
|
||||
background-image: url("/App_Themes/images/ui-icons_cd0a0a_256x240.png")/*{iconsError}*/;
|
||||
}
|
||||
|
||||
/* positioning */
|
||||
@ -396,14 +396,14 @@
|
||||
|
||||
/* Overlays */
|
||||
.ui-widget-overlay {
|
||||
background: #aaaaaa/*{bgColorOverlay}*/ url("images/ui-bg_flat_0_aaaaaa_40x100.png")/*{bgImgUrlOverlay}*/ 50%/*{bgOverlayXPos}*/ 50%/*{bgOverlayYPos}*/ repeat-x/*{bgOverlayRepeat}*/;
|
||||
background: #aaaaaa/*{bgColorOverlay}*/ url("/App_Themes/images/ui-bg_flat_0_aaaaaa_40x100.png")/*{bgImgUrlOverlay}*/ 50%/*{bgOverlayXPos}*/ 50%/*{bgOverlayYPos}*/ repeat-x/*{bgOverlayRepeat}*/;
|
||||
opacity: .3/*{opacityOverlay}*/;
|
||||
filter: Alpha(Opacity=30)/*{opacityFilterOverlay}*/; /* support: IE8 */
|
||||
}
|
||||
.ui-widget-shadow {
|
||||
margin: -8px/*{offsetTopShadow}*/ 0 0 -8px/*{offsetLeftShadow}*/;
|
||||
padding: 8px/*{thicknessShadow}*/;
|
||||
background: #aaaaaa/*{bgColorShadow}*/ url("images/ui-bg_flat_0_aaaaaa_40x100.png")/*{bgImgUrlShadow}*/ 50%/*{bgShadowXPos}*/ 50%/*{bgShadowYPos}*/ repeat-x/*{bgShadowRepeat}*/;
|
||||
background: #aaaaaa/*{bgColorShadow}*/ url("/App_Themes/images/ui-bg_flat_0_aaaaaa_40x100.png")/*{bgImgUrlShadow}*/ 50%/*{bgShadowXPos}*/ 50%/*{bgShadowYPos}*/ repeat-x/*{bgShadowRepeat}*/;
|
||||
opacity: .3/*{opacityShadow}*/;
|
||||
filter: Alpha(Opacity=30)/*{opacityFilterShadow}*/; /* support: IE8 */
|
||||
border-radius: 8px/*{cornerRadiusShadow}*/;
|
||||
|
@ -36,7 +36,6 @@ namespace Yavsc
|
||||
routes.IgnoreRoute ("{resource}.axd/{*pathInfo}"); // not used
|
||||
routes.IgnoreRoute ("Scripts/{*pathInfo}"); // web user side scripts
|
||||
routes.IgnoreRoute ("App_Theme/{*pathInfo}"); // sites themes
|
||||
routes.IgnoreRoute ("images/{*pathInfo}"); // site images
|
||||
routes.IgnoreRoute ("users/{*pathInfo}"); // user's files
|
||||
routes.IgnoreRoute ("avatars/{*pathInfo}"); // user's avatar
|
||||
routes.IgnoreRoute ("bfiles/{*pathInfo}"); // Blog files
|
||||
|
@ -26,7 +26,7 @@
|
||||
<div class="panel">
|
||||
<a href="<%= Url.RouteUrl ("Default", new { controller = "Google", action= "Login", returnUrl=ViewData["returnUrl"] }) %>" class="actionlink">
|
||||
Identification avec un compte Google
|
||||
<img src="/images/sign-in-with-google.png" style="max-height:1.5em; max-width:6em;" alt="Google sign in">
|
||||
<img src="/App_Themes/images/sign-in-with-google.png" style="max-height:1.5em; max-width:6em;" alt="Google sign in">
|
||||
</a>
|
||||
</div>
|
||||
</asp:Content>
|
@ -8,7 +8,6 @@ foreach ( var tagname in Model.Tags) { %>
|
||||
<% if (Membership.GetUser()!=null) { %>
|
||||
<% if (Membership.GetUser().UserName==Model.Author || Roles.IsUserInRole("Admin"))
|
||||
{ // grant all permissions: to choose a given set of tags, also create some new tags %>
|
||||
|
||||
<span id="viewtagger<%=Model.Id%>">
|
||||
<i class="fa fa-tag menuitem" id="viewtaggerbtn<%=Model.Id%>"><%=Html.Translate("DoTag")%></i></span>
|
||||
<span id="hidetagger<%=Model.Id%>" class="hidden">
|
||||
|
@ -12,12 +12,11 @@
|
||||
</asp:Content>
|
||||
|
||||
<asp:Content ContentPlaceHolderID="MainContent" ID="MainContentContent" runat="server">
|
||||
|
||||
<% using ( Html.BeginForm("Book","Google") ) { %>
|
||||
<div id="book" >Date d'intervention :
|
||||
Intervention souhaitée entre le
|
||||
<input type="text" id="StartDate" name="StartDate" class="start date" value="<%=Model.StartDate.ToString("yyyy/MM/dd")%>">
|
||||
<%= Html.ValidationMessageFor(model=>model.StartDate) %>
|
||||
<%= Html.ValidationMessageFor( model=>model.StartDate ) %>
|
||||
et le
|
||||
<input type="text" id="EndDate" name="EndDate" class="end date" value="<%=Model.StartDate.ToString("yyyy/MM/dd")%>">
|
||||
<%= Html.ValidationMessageFor(model=>model.EndDate) %>
|
||||
@ -30,7 +29,6 @@ et le
|
||||
<%= Html.LabelFor(model=>model.EndHour) %>
|
||||
<input type="text" id="EndHour" name="EndHour" class="end time" value="<%=Model.EndHour%>">
|
||||
<%= Html.ValidationMessageFor(model=>model.EndHour) %>
|
||||
|
||||
</div>
|
||||
<fieldset>
|
||||
<legend>Intervenant</legend>
|
||||
@ -64,6 +62,4 @@ et le
|
||||
|
||||
<input type="submit">
|
||||
<% } %>
|
||||
<pre><%= Html.Encode(ViewData["json"]) %></pre>
|
||||
|
||||
</asp:Content>
|
||||
|
@ -151,12 +151,12 @@ http://msdn2.microsoft.com/en-us/library/b5ysx397.aspx
|
||||
</blog>
|
||||
<thanks html_class="thanks" title_format="Voir le site ({0})">
|
||||
<to>
|
||||
<add name="Mono" url="http://www.mono-project.com/Main_Page" image="/images/Mono-powered.png" />
|
||||
<add name="Apache Fondation" url="http://httpd.apache.org/" image="/images/apache_pbw.png" />
|
||||
<add name="Debian" url="http://www.debian.org" image="/images/debian-logo.png" />
|
||||
<add name="Mono" url="http://www.mono-project.com/Main_Page" image="/App_Themes/images/Mono-powered.png" />
|
||||
<add name="Apache Fondation" url="http://httpd.apache.org/" image="/App_Themes/images/apache_pbw.png" />
|
||||
<add name="Debian" url="http://www.debian.org" image="/App_Themes/images/debian-logo.png" />
|
||||
<add name="MarkdownDeep" url="http://www.toptensoftware.com/markdowndeep/" />
|
||||
<add name="MarkdownHelper" url="http://www.nuget.org/packages/MarkdownHelper" />
|
||||
<add name="Postgresql" url="http://www.postgresql.org" image="/images/pgsql.png" />
|
||||
<add name="Postgresql" url="http://www.postgresql.org" image="/App_Themes/images/pgsql.png" />
|
||||
</to>
|
||||
</thanks>
|
||||
<circleProviders defaultProvider="NpgsqlCircleProvider">
|
||||
@ -263,7 +263,7 @@ http://msdn2.microsoft.com/en-us/library/b5ysx397.aspx
|
||||
<add key="OwnerEMail" value="paul@pschneider.fr" />
|
||||
<add key="Name" value="yavsc" />
|
||||
<add key="DefaultController" value="Blogs" />
|
||||
<add key="DefaultAvatar" value="/images/noavatar.png;image/png" />
|
||||
<add key="DefaultAvatar" value="/App_Themes/images/noavatar.png;image/png" />
|
||||
<add key="RegistrationMessage" value="/RegistrationMail.txt" />
|
||||
<add key="ClientValidationEnabled" value="true" />
|
||||
<add key="UnobtrusiveJavaScriptEnabled" value="true" />
|
||||
|
@ -110,7 +110,6 @@
|
||||
<Folder Include="Models\" />
|
||||
<Folder Include="Scripts\" />
|
||||
<Folder Include="Views\Account\" />
|
||||
<Folder Include="images\" />
|
||||
<Folder Include="Views\Blogs\" />
|
||||
<Folder Include="Helpers\" />
|
||||
<Folder Include="Views\FrontOffice\" />
|
||||
@ -220,10 +219,6 @@
|
||||
<Content Include="Views\Account\ChangePasswordSuccess.aspx" />
|
||||
<Content Include="Views\Account\Index.aspx" />
|
||||
<Content Include="Views\Account\Login.aspx" />
|
||||
<Content Include="images\noavatar.png" />
|
||||
<Content Include="images\apache_pbw.png" />
|
||||
<Content Include="images\debian-logo.png" />
|
||||
<Content Include="images\Mono-powered.png" />
|
||||
<Content Include="Views\Blogs\Index.aspx" />
|
||||
<Content Include="Views\Blogs\UserPosts.aspx" />
|
||||
<Content Include="Views\Blogs\UserPost.aspx" />
|
||||
@ -259,12 +254,10 @@
|
||||
<Content Include="Views\Admin\Restored.aspx" />
|
||||
<Content Include="Views\Admin\Index.aspx" />
|
||||
<Content Include="Views\FrontOffice\Estimates.aspx" />
|
||||
<Content Include="images\pgsql.png" />
|
||||
<Content Include="Catalog.xml" />
|
||||
<Content Include="RegistrationMail.txt" />
|
||||
<Content Include="Views\FrontOffice\Writting.ascx" />
|
||||
<Content Include="Scripts\jquery.metadata.js" />
|
||||
<Content Include="images\sign-in-with-google.png" />
|
||||
<Content Include="Views\Account\Unregister.aspx" />
|
||||
<Content Include="Scripts\jquery.timepicker.js" />
|
||||
<Content Include="Scripts\jquery.timepicker.min.js" />
|
||||
@ -272,7 +265,6 @@
|
||||
<Content Include="Views\Admin\RemoveUser.aspx" />
|
||||
<Content Include="Views\FrontOffice\Index.aspx" />
|
||||
<Content Include="Views\BackOffice\Index.aspx" />
|
||||
<Content Include="images\sign-in-with-google-s.png" />
|
||||
<Content Include="Scripts\datepicker-en-GB.js" />
|
||||
<Content Include="Scripts\datepicker-fr.js" />
|
||||
<Content Include="Views\Home\Contact.aspx" />
|
||||
@ -368,9 +360,6 @@
|
||||
<Content Include="Scripts\rangy-selectionsaverestore.js" />
|
||||
<Content Include="Scripts\jquery.htmlClean.min.js" />
|
||||
<Content Include="Views\Blogs\ChooseMedia.aspx" />
|
||||
<Content Include="images\helix-nebula-1400x1400.jpg" />
|
||||
<Content Include="images\helix-nebula-1400x1400.s.jpg" />
|
||||
<Content Include="images\star-939235_1280.jpg" />
|
||||
<Content Include="App_Themes\accordion.css" />
|
||||
<Content Include="App_Themes\all.css" />
|
||||
<Content Include="App_Themes\autocomplete.css" />
|
||||
@ -391,9 +380,6 @@
|
||||
<Content Include="App_Themes\tabs.css" />
|
||||
<Content Include="App_Themes\theme.css" />
|
||||
<Content Include="App_Themes\tooltip.css" />
|
||||
<Content Include="images\helix-nebula-1400x1400.xxs.jpg" />
|
||||
<Content Include="images\star-939235_1280.xxs.jpg" />
|
||||
<Content Include="images\p8-av4.xxs.jpg" />
|
||||
<Content Include="Views\Blogs\Title.aspx" />
|
||||
<Content Include="Views\Blogs\PostActions.ascx" />
|
||||
<Content Include="Scripts\yavsc.tags.js" />
|
||||
@ -437,8 +423,6 @@
|
||||
<Content Include="App_Themes\sons-of-obsidian.css" />
|
||||
<Content Include="App_Themes\sunburst.css" />
|
||||
<Content Include="App_Themes\prettify.css" />
|
||||
<Content Include="images\FhHRx.gif" />
|
||||
<Content Include="images\animated-overlay.gif" />
|
||||
<Content Include="App_Themes\images\ui-bg_flat_30_cccccc_40x100.png" />
|
||||
<Content Include="App_Themes\images\ui-bg_flat_50_5c5c5c_40x100.png" />
|
||||
<Content Include="App_Themes\images\ui-bg_glass_20_555555_1x400.png" />
|
||||
@ -454,8 +438,6 @@
|
||||
<Content Include="App_Themes\images\ui-icons_cccccc_256x240.png" />
|
||||
<Content Include="App_Themes\images\ui-icons_ffffff_256x240.png" />
|
||||
<Content Include="Scripts\parallax.js" />
|
||||
<Content Include="images\p8-av4.s.jpg" />
|
||||
<Content Include="images\star-939235_1280.s.jpg" />
|
||||
<Content Include="Views\Google\Auth.aspx" />
|
||||
<Content Include="Views\Google\ChooseCalendar.aspx" />
|
||||
<Content Include="Views\Google\Book.aspx" />
|
||||
@ -470,6 +452,23 @@
|
||||
<Content Include="Scripts\jquery.datepair.min.js" />
|
||||
<Content Include="Scripts\jquery-1.11.3.min.js" />
|
||||
<Content Include="Views\Google\CalAuth.aspx" />
|
||||
<Content Include="App_Themes\images\animated-overlay.gif" />
|
||||
<Content Include="App_Themes\images\apache_pbw.png" />
|
||||
<Content Include="App_Themes\images\debian-logo.png" />
|
||||
<Content Include="App_Themes\images\FhHRx.gif" />
|
||||
<Content Include="App_Themes\images\helix-nebula-1400x1400.jpg" />
|
||||
<Content Include="App_Themes\images\helix-nebula-1400x1400.s.jpg" />
|
||||
<Content Include="App_Themes\images\helix-nebula-1400x1400.xxs.jpg" />
|
||||
<Content Include="App_Themes\images\Mono-powered.png" />
|
||||
<Content Include="App_Themes\images\noavatar.png" />
|
||||
<Content Include="App_Themes\images\p8-av4.s.jpg" />
|
||||
<Content Include="App_Themes\images\p8-av4.xxs.jpg" />
|
||||
<Content Include="App_Themes\images\pgsql.png" />
|
||||
<Content Include="App_Themes\images\sign-in-with-google.png" />
|
||||
<Content Include="App_Themes\images\sign-in-with-google-s.png" />
|
||||
<Content Include="App_Themes\images\star-939235_1280.jpg" />
|
||||
<Content Include="App_Themes\images\star-939235_1280.s.jpg" />
|
||||
<Content Include="App_Themes\images\star-939235_1280.xxs.jpg" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" />
|
||||
|
Before Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 87 KiB |
Before Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 474 KiB |
Before Width: | Height: | Size: 4.8 KiB |
@ -3,3 +3,5 @@ User-agent: *
|
||||
Disallow: /Google/Login
|
||||
Disallow: /Account/Login
|
||||
Disallow: /Admin/
|
||||
Disallow: /App_Themes/
|
||||
Disallow: /Scripts/
|
||||
|
@ -191,6 +191,12 @@ namespace Yavsc.Model.Blogs
|
||||
Provider.Tag (postid, tag);
|
||||
}
|
||||
|
||||
|
||||
public static void Note (long postid, int note)
|
||||
{
|
||||
Provider.Note (postid, note);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Checks the auth can edit.
|
||||
/// </summary>
|
||||
|
@ -19,6 +19,11 @@ namespace Yavsc.Model.Blogs
|
||||
/// <param name="postid">Postid.</param>
|
||||
public abstract BlogEntry GetPost (long postid);
|
||||
|
||||
/// <summary>
|
||||
/// Gets the tag info.
|
||||
/// </summary>
|
||||
/// <returns>The tag info.</returns>
|
||||
/// <param name="tagname">Tagname.</param>
|
||||
public abstract TagInfo GetTagInfo (string tagname);
|
||||
|
||||
/// <summary>
|
||||
@ -41,6 +46,13 @@ namespace Yavsc.Model.Blogs
|
||||
/// <param name="allowedCircles">Allowed circles.</param>
|
||||
public abstract long Post (string username, string title, string content, bool visible, long[] allowedCircles);
|
||||
|
||||
/// <summary>
|
||||
/// Note the specified postid and note.
|
||||
/// </summary>
|
||||
/// <param name="postid">Postid.</param>
|
||||
/// <param name="note">Note.</param>
|
||||
public abstract void Note (long postid, int note);
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Updates the post specified by its id,
|
||||
|
@ -1,3 +1,8 @@
|
||||
2015-11-04 Paul Schneider <paul@pschneider.fr>
|
||||
|
||||
* BlogManager.cs:
|
||||
* BlogProvider.cs:
|
||||
|
||||
2015-11-03 Paul Schneider <paul@pschneider.fr>
|
||||
|
||||
* LocalizedText.resx:
|
||||
|