mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-11-28 17:32:44 +08:00
Removing deprecated files
--HG-- branch : dev
This commit is contained in:
@@ -73,7 +73,6 @@
|
||||
<Content Include="Styles\CodeMirror\razor.css" />
|
||||
<Content Include="Styles\CodeMirror\css.css" />
|
||||
<Content Include="Styles\CodeMirror\javascript.css" />
|
||||
<Content Include="Styles\foo_orchard-designertools-shapetracing.css" />
|
||||
<Content Include="Styles\Images\collapse.png" />
|
||||
<Content Include="Styles\Images\expand.png" />
|
||||
<Content Include="Styles\Images\menu-glyph.png" />
|
||||
@@ -113,7 +112,6 @@
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="Views\ShapeTracingMeta.cshtml" />
|
||||
<Content Include="Views\_ShapeTracingMeta.cshtml" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" />
|
||||
|
||||
@@ -1,218 +0,0 @@
|
||||
#debug-control * {
|
||||
margin:0 !important;
|
||||
padding:0 !important;
|
||||
}
|
||||
#debug-control {
|
||||
background:#666;
|
||||
border:1px solid #000;
|
||||
color:#FFF;
|
||||
float:left;
|
||||
font:12px/12px Consolas,"Lucida Console",Monaco,monospace;
|
||||
left:0;
|
||||
position:fixed;
|
||||
top:0;
|
||||
}
|
||||
#debug-control .debug-active {
|
||||
color:Lime;
|
||||
}
|
||||
#debug-control ul {
|
||||
display:none;
|
||||
}
|
||||
#debug-control ul, #debug-control-toggle {
|
||||
float:left;
|
||||
padding:2px !important;
|
||||
}
|
||||
#debug-control li, #debug-control-toggle {
|
||||
cursor:pointer;
|
||||
display:inline;
|
||||
list-style-type:none;
|
||||
padding-left:2px !important;
|
||||
padding-right:2px !important;
|
||||
white-space:nowrap;
|
||||
}
|
||||
#debug-control li {
|
||||
border-right:1px solid #999;
|
||||
}
|
||||
|
||||
.debug-shapes .shape-tracing .wrapper {
|
||||
background:#FFF;
|
||||
/*border:1px dotted #CA7230;
|
||||
margin:5px;*/
|
||||
padding:0px;
|
||||
display:inline-block;
|
||||
|
||||
/* when there is nothing inside the shape, force to the size of the smart tag */
|
||||
min-width:20px;
|
||||
min-height:20px;
|
||||
}
|
||||
|
||||
.debug-shapes body {
|
||||
margin-top:25px;
|
||||
}
|
||||
|
||||
.debug-shapes div.shape-tracing.meta {
|
||||
clear:both;
|
||||
display:block;
|
||||
background:#ccc;
|
||||
font-size:9pt;
|
||||
font-family:Segoe;
|
||||
color:black;
|
||||
margin-top:5px;
|
||||
left: 0px;
|
||||
bottom: 0px;
|
||||
position:fixed;
|
||||
z-index:999;
|
||||
width:100%;
|
||||
}
|
||||
|
||||
.debug-zones .shapeType-Zone {
|
||||
border:1px dashed grey;
|
||||
margin:5px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.debug-zones .zone-name {
|
||||
position:absolute; top: 0px; left: 0px;
|
||||
display: block; background-color: #ddd; color: #434343; padding: 3px 6px;
|
||||
filter:alpha(opacity=70);
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.meta .shape {
|
||||
color:black;
|
||||
}
|
||||
|
||||
.meta .alternates {
|
||||
color:red;
|
||||
}
|
||||
|
||||
.meta .wrappers {
|
||||
color:green;
|
||||
}
|
||||
|
||||
.debug-shapes div.wrapper.selected {
|
||||
background-color:#BAFFC3;
|
||||
}
|
||||
|
||||
/* tabs */
|
||||
|
||||
ul.debuggerMenu { margin:8px 0 -8px 0; }
|
||||
|
||||
.debuggerMenu li {
|
||||
color:#4053DE;
|
||||
display: inline;
|
||||
font-size:15px;
|
||||
line-height:32px;
|
||||
}
|
||||
.debuggerMenu li {
|
||||
margin:0 2px;
|
||||
padding: 8px 18px 7px 18px;
|
||||
}
|
||||
.debuggerMenu li.middle, .debuggerMenu li.first, .debuggerMenu li.last {
|
||||
border:1px solid #E4E5E6;
|
||||
border-bottom:none;
|
||||
background-color: #F5F5F5;
|
||||
}
|
||||
.debuggerMenu li.first {
|
||||
margin-left:16px;
|
||||
}
|
||||
.debuggerMenu li.selected {
|
||||
background-color: #fff;
|
||||
}
|
||||
.debuggerMenu li.selected, .debuggerMenu li:hover {
|
||||
background-color: #fff;
|
||||
}
|
||||
.debuggerMenu li.selected a {
|
||||
color: #3A822E;
|
||||
}
|
||||
|
||||
.debug-shapes div.shape-tracing.meta .content {
|
||||
background-color: #fff;
|
||||
padding: 20px;
|
||||
margin:8px 0 0 0;
|
||||
border: 1px solid #e4e5e6;
|
||||
height:12em;
|
||||
overflow:auto;
|
||||
/*CSS3 properties*/
|
||||
border-radius: 3px;
|
||||
-webkit-border-radius: 3px;
|
||||
-moz-border-radius: 3px;
|
||||
}
|
||||
|
||||
.meta .model div.name, .meta ul.properties div.name
|
||||
{
|
||||
display:block;
|
||||
float:left;
|
||||
width:30%;
|
||||
}
|
||||
|
||||
.meta .model ul, .meta ul.properties
|
||||
{
|
||||
padding:0;
|
||||
margin-left:-15px;
|
||||
margin:0;
|
||||
list-style-type:none;
|
||||
}
|
||||
|
||||
.meta .model ul li, .meta ul.properties li
|
||||
{
|
||||
padding-left:15px;
|
||||
}
|
||||
|
||||
.meta .model h3, .meta ul.properties h3
|
||||
{
|
||||
margin:0;
|
||||
padding:0;
|
||||
}
|
||||
|
||||
h3:hover
|
||||
{
|
||||
background-color: #eee;
|
||||
}
|
||||
|
||||
.expando-glyph {
|
||||
background:transparent no-repeat 0 -19px;
|
||||
background-image:url(images/menu-glyph.png);
|
||||
|
||||
line-height:12px;
|
||||
padding-left:15px;
|
||||
margin-left:-15px;
|
||||
}
|
||||
|
||||
.expando-glyph:hover {
|
||||
background-image:url(images/menu-glyph.png);
|
||||
}
|
||||
|
||||
.expando-glyph-container.closed .expando-glyph
|
||||
{
|
||||
background-repeat:none;
|
||||
background-image:url(images/menu-glyph.png);
|
||||
background-position:0 3px;
|
||||
}
|
||||
.expando-glyph-container.closed .expando-glyph:hover {
|
||||
background-image:url(images/menu-glyph.png);
|
||||
}
|
||||
.expando-glyph-container.closing .expando-glyph
|
||||
{
|
||||
background-repeat:none;
|
||||
-webkit-transition:all .2s ease-in-out;
|
||||
-moz-transition:all .2s ease-in-out;
|
||||
transition:all .2s ease-in-out;
|
||||
-webkit-transform:rotate(-90deg) translate(3px, -3px);
|
||||
-moz-transform:rotate(-90deg) translate(3px, -3px);
|
||||
transform:rotate(-90deg) translate(3px, -3px);
|
||||
}
|
||||
.expando-glyph-container.opening .expando-glyph
|
||||
{
|
||||
background-repeat:none;
|
||||
-webkit-transition:all .2s ease-in-out;
|
||||
-moz-transition:all .2s ease-in-out;
|
||||
transition:all .2s ease-in-out;
|
||||
-webkit-transform:rotate(90deg) translate(3px, 3px);
|
||||
-moz-transform:rotate(90deg) translate(3px, 3px);
|
||||
transform:rotate(90deg) translate(3px, 3px);
|
||||
}
|
||||
|
||||
.content textarea {
|
||||
height:50%;
|
||||
}
|
||||
@@ -1,88 +0,0 @@
|
||||
@functions {
|
||||
string FormatShapeFilename(string type, string themeId) {
|
||||
return "~/Themes/" + themeId + "/Views/" + type.Replace("__", "-").Replace("_", ".") + ".cshtml";
|
||||
}
|
||||
}
|
||||
|
||||
<div class="shape-tracing meta shapeId-@Model.ShapeId" style="display:none">
|
||||
<ul class="debuggerMenu">
|
||||
<li class="shape selected first"><a href="#">Shape</a></li>
|
||||
<li class="model middle"><a href="#">Model</a></li>
|
||||
<li class="placement middle"><a href="#">Placement</a></li>
|
||||
<li class="templates middle"><a href="#">Templates</a></li>
|
||||
<li class="source middle"><a href="#">Source</a></li>
|
||||
<li class="html last"><a href="#">HTML</a></li>
|
||||
</ul>
|
||||
|
||||
<div class="content">
|
||||
<div class="shape">
|
||||
<ul class="properties">
|
||||
<li>
|
||||
<h3>
|
||||
<div class="name">Shape</div>
|
||||
<div class="value">@Model.ShapeType</div>
|
||||
</h3>
|
||||
</li>
|
||||
<li>
|
||||
<h3>
|
||||
<div class="name">Definition</div>
|
||||
<div class="value">@Model.Definition</div>
|
||||
</h3>
|
||||
</li>
|
||||
<li>
|
||||
<h3>
|
||||
<div class="name">Display Type</div>
|
||||
<div class="value">@(String.IsNullOrEmpty((string)Model.DisplayType) ? T("n/a").Text : Model.DisplayType.ToString())</div>
|
||||
</h3>
|
||||
</li>
|
||||
<li>
|
||||
<h3>
|
||||
<div class="name">Position</div>
|
||||
<div class="value">@(String.IsNullOrEmpty((string)Model.Position) ? T("n/a").Text : Model.Position.ToString())</div>
|
||||
</h3>
|
||||
</li>
|
||||
<li>
|
||||
<h3>
|
||||
<div class="name">Placement Source</div>
|
||||
<div class="value">@(String.IsNullOrEmpty((string)Model.PlacementSource) ? T("n/a").Text : Model.PlacementSource.ToString())</div>
|
||||
</h3>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="model" style="display:none">
|
||||
@(new MvcHtmlString(@Model.Dump))
|
||||
</div>
|
||||
|
||||
<div class="placement" style="display:none">
|
||||
<textarea id="placement-@Model.ShapeId" name="placement-@Model.ShapeId">@Model.PlacementContent</textarea>
|
||||
</div>
|
||||
|
||||
<div class="templates" style="display:none">
|
||||
<div class="alternates">
|
||||
<span>Alternates</span>
|
||||
@foreach(var alternate in Model.Alternates) {
|
||||
var formatted = @FormatShapeFilename(alternate, WorkContext.CurrentTheme.Id);
|
||||
<div>@formatted</div>
|
||||
}
|
||||
</div>
|
||||
<div class="wrappers">
|
||||
<span >Wrappers</span>
|
||||
@foreach(var wrapper in Model.Wrappers) {
|
||||
if(wrapper != "ShapeTracing_Wrapper") {
|
||||
var formatted = @FormatShapeFilename(wrapper, WorkContext.CurrentTheme.Id);
|
||||
<div>@formatted</div>
|
||||
}
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="source" style="display:none">
|
||||
<textarea id="source-@Model.ShapeId" name="source-@Model.ShapeId">@Model.DefinitionContent</textarea>
|
||||
</div>
|
||||
|
||||
<div class="html" style="display:none">
|
||||
<textarea id="html-@Model.ShapeId" name="html-@Model.ShapeId">@HttpUtility.HtmlEncode(Display(Model.ChildContent))</textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user