From a62cff223ce2885a7267b74d4995cc2b8e4348db Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Wed, 18 Nov 2015 00:30:07 +0100 Subject: [PATCH] Fixes * style.css: * style.css: * UsersInRole.aspx: refactoring * HomeController.cs: Fixes the restricted area error page * PostActions.ascx: html structure * TagControl.ascx: Tags reside in a list here, treat it as an Html one * RestrictedArea.aspx: Shows allowed users or/and roles in the error page * Web.csproj: cleaning --- web/App_Themes/dark/style.css | 4 ---- web/App_Themes/delete.gif | Bin 752 -> 0 bytes web/App_Themes/style.css | 30 +++++++++++++++++++++++++---- web/ChangeLog | 18 +++++++++++++++++ web/Controllers/HomeController.cs | 6 ++++-- web/Views/Admin/UsersInRole.aspx | 3 +-- web/Views/Blogs/PostActions.ascx | 5 ++--- web/Views/Blogs/TagControl.ascx | 6 +++--- web/Views/Home/RestrictedArea.aspx | 8 ++++++-- web/Web.csproj | 1 - 10 files changed, 60 insertions(+), 21 deletions(-) delete mode 100644 web/App_Themes/delete.gif diff --git a/web/App_Themes/dark/style.css b/web/App_Themes/dark/style.css index 201837dc..e1a44004 100644 --- a/web/App_Themes/dark/style.css +++ b/web/App_Themes/dark/style.css @@ -6,9 +6,6 @@ body { background-color: black; color: #D0FFD0; } -.tagname { color: #D0FFD0; } -.tagname+.tagname:before { content: ', '; } -.tagname:hover { cursor:pointer; background-color: red; } .rate { @@ -101,7 +98,6 @@ main video, main img { aside { display: inline-block; float: right; - max-width: 40em; } .postpreview { diff --git a/web/App_Themes/delete.gif b/web/App_Themes/delete.gif deleted file mode 100644 index 43c6ca8763d79bde87bcf437e497af00c8be562d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 752 zcmZ?wbhEHb6kt$bc*el6GthYN-n}zt&b)vB{*)i+-#|NQy$ zABXln&Q1FL`t{#CH*SY|{oJwc*Qz;h;)0))7aYq9ewP~fc2e)_P3vAY)$9wl{IzJp zy{ydlr;a^HiGHwZ{*SH8FZkJhE{gei`OM?;ir*_{?@ji478&@mD*tSH_`A&5@6Vqe z@G<&xeCOwiq-WvY-eS5f?;vgCP8#IHGBw=+^cY}xvy zx8c*8mDl2ff1W;kCeZrNm9vlQYJg5Caki?(^G9DBs4DA0KlA4-ZT3fl8 z8F_gb*}2-1v>0WWwY1oIg_&Emc-aM+Wn|bpRc1GF^$N-etzA1qr9X*XNNWw_j-BjG zGEKc(x)1gUF{(82E@ad^eMXp9hUxg0Q)f<}lVRDncBb&%dq*yAR+(|l-D@bZwvw%g)cL7VG z)An_f*+XqOetkIP*eg{wS7K(+qJ{-x0ue3?v&y~1d1To>MqD_2keNGNE=Pc|!BJ7b fV_(F^#N=Z_Jo9)pKRPly^YODPxtBli { + display: inline; + margin:.5em; + padding:.2em; + border: solid grey 1px; + border-radius: 1em; +} + +ul.editablelist>li:hover { + background-color: rgba(128,0,0,0.5); + cursor:pointer; +} + +ul.editablelist>li:hover:after { + font-family: 'FontAwesome'; + content: "\f00d"; + } + @media print { body {background-color:white;color:black;} .control, .actionlink, .menuitem, nav { display:none;} diff --git a/web/ChangeLog b/web/ChangeLog index aa32038d..21750ca7 100644 --- a/web/ChangeLog +++ b/web/ChangeLog @@ -1,3 +1,21 @@ +2015-11-18 Paul Schneider + + * style.css: + * style.css: + * UsersInRole.aspx: refactoring + + * HomeController.cs: Fixes the restricted area error page + + * PostActions.ascx: html structure + + * TagControl.ascx: Tags reside in a list here, treat it as an + Html one + + * RestrictedArea.aspx: Shows allowed users or/and roles in the + error page + + * Web.csproj: cleaning + 2015-11-17 Paul Schneider * RateControl.ascx: A rate control for the Front Office diff --git a/web/Controllers/HomeController.cs b/web/Controllers/HomeController.cs index 9b3b5624..0a59f638 100644 --- a/web/Controllers/HomeController.cs +++ b/web/Controllers/HomeController.cs @@ -90,9 +90,7 @@ namespace Yavsc.Controllers TagInfo ti = BlogManager.GetTagInfo (tagname); // TODO specialyze BlogEntry creating a PhotoEntry ViewData [tagname] = ti; - } - return View (); } /// @@ -103,6 +101,10 @@ namespace Yavsc.Controllers return View (); } + public ActionResult RestrictedArea () + { + return View (); + } /// /// Contact the specified email, reason and body. /// diff --git a/web/Views/Admin/UsersInRole.aspx b/web/Views/Admin/UsersInRole.aspx index d2ffc7e0..7b073f84 100644 --- a/web/Views/Admin/UsersInRole.aspx +++ b/web/Views/Admin/UsersInRole.aspx @@ -11,11 +11,10 @@ -