mirror of
https://gitlab.com/buildfeed/BuildFeed.git
synced 2024-03-22 21:10:34 +08:00
HTML Source Details; Package Updates
This commit is contained in:
parent
b573550660
commit
2528ee2441
|
@ -1,5 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="..\packages\Microsoft.Diagnostics.Instrumentation.Extensions.Intercept.0.12.0-build02810\build\Microsoft.Diagnostics.Instrumentation.Extensions.Intercept.props" Condition="Exists('..\packages\Microsoft.Diagnostics.Instrumentation.Extensions.Intercept.0.12.0-build02810\build\Microsoft.Diagnostics.Instrumentation.Extensions.Intercept.props')" />
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
|
@ -21,6 +22,7 @@
|
|||
<IISExpressWindowsAuthentication />
|
||||
<IISExpressUseClassicPipelineMode />
|
||||
<ApplicationInsightsResourceId>/subscriptions/4af45631-0e5c-4253-9e38-d0c47f9c5b32/resourcegroups/Default-ApplicationInsights-CentralUS/providers/microsoft.insights/components/BuildFeed</ApplicationInsightsResourceId>
|
||||
<NuGetPackageImportStamp>a0e53051</NuGetPackageImportStamp>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
|
@ -45,18 +47,28 @@
|
|||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\packages\Antlr.3.5.0.2\lib\Antlr3.Runtime.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.ApplicationInsights">
|
||||
<HintPath>..\packages\Microsoft.ApplicationInsights.0.11.1-build00694\lib\net40\Microsoft.ApplicationInsights.dll</HintPath>
|
||||
<Reference Include="Microsoft.ApplicationInsights, Version=0.12.0.17386, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\packages\Microsoft.ApplicationInsights.0.12.0-build17386\lib\net40\Microsoft.ApplicationInsights.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.ApplicationInsights.Extensibility.RuntimeTelemetry">
|
||||
<HintPath>..\packages\Microsoft.ApplicationInsights.RuntimeTelemetry.0.11.1-build00694\lib\net45\Microsoft.ApplicationInsights.Extensibility.RuntimeTelemetry.dll</HintPath>
|
||||
<Reference Include="Microsoft.ApplicationInsights.Extensibility.PerfCollector">
|
||||
<HintPath>..\packages\Microsoft.ApplicationInsights.PerformanceCollector.0.12.0-build17386\lib\net40\Microsoft.ApplicationInsights.Extensibility.PerfCollector.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.ApplicationInsights.Extensibility.Web">
|
||||
<HintPath>..\packages\Microsoft.ApplicationInsights.Web.0.11.1-build00694\lib\net45\Microsoft.ApplicationInsights.Extensibility.Web.dll</HintPath>
|
||||
<Reference Include="Microsoft.ApplicationInsights.Extensibility.RuntimeTelemetry, Version=0.12.0.17386, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\packages\Microsoft.ApplicationInsights.RuntimeTelemetry.0.12.0-build17386\lib\net45\Microsoft.ApplicationInsights.Extensibility.RuntimeTelemetry.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.ApplicationInsights.Extensibility.Web, Version=0.12.0.17386, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\packages\Microsoft.ApplicationInsights.Web.0.12.0-build17386\lib\net45\Microsoft.ApplicationInsights.Extensibility.Web.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="Microsoft.Diagnostics.Tracing.EventSource">
|
||||
<HintPath>..\packages\Microsoft.Diagnostics.Tracing.EventSource.Redist.1.0.24\lib\net40\Microsoft.Diagnostics.Tracing.EventSource.dll</HintPath>
|
||||
<Reference Include="Microsoft.Diagnostics.Instrumentation.Extensions.Intercept">
|
||||
<HintPath>..\packages\Microsoft.Diagnostics.Instrumentation.Extensions.Intercept.0.12.0-build02810\lib\net40\Microsoft.Diagnostics.Instrumentation.Extensions.Intercept.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Diagnostics.Tracing.EventSource, Version=1.1.13.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\packages\Microsoft.Diagnostics.Tracing.EventSource.Redist.1.1.13-beta\lib\net40\Microsoft.Diagnostics.Tracing.EventSource.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Threading.Tasks">
|
||||
<HintPath>..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.dll</HintPath>
|
||||
|
@ -213,6 +225,40 @@
|
|||
<Content Include="Scripts\jquery.validate.unobtrusive.min.js" />
|
||||
<Content Include="Scripts\jsrender.js" />
|
||||
<Content Include="Scripts\jsrender.min.js" />
|
||||
<Content Include="Scripts\trumbowyg\langs\ca.min.js" />
|
||||
<Content Include="Scripts\trumbowyg\langs\da.min.js" />
|
||||
<Content Include="Scripts\trumbowyg\langs\de.min.js" />
|
||||
<Content Include="Scripts\trumbowyg\langs\es.min.js" />
|
||||
<Content Include="Scripts\trumbowyg\langs\es_ar.min.js" />
|
||||
<Content Include="Scripts\trumbowyg\langs\fa.min.js" />
|
||||
<Content Include="Scripts\trumbowyg\langs\fi.min.js" />
|
||||
<Content Include="Scripts\trumbowyg\langs\fr.min.js" />
|
||||
<Content Include="Scripts\trumbowyg\langs\he.min.js" />
|
||||
<Content Include="Scripts\trumbowyg\langs\id.min.js" />
|
||||
<Content Include="Scripts\trumbowyg\langs\it.min.js" />
|
||||
<Content Include="Scripts\trumbowyg\langs\ko.min.js" />
|
||||
<Content Include="Scripts\trumbowyg\langs\pl.min.js" />
|
||||
<Content Include="Scripts\trumbowyg\langs\pt.min.js" />
|
||||
<Content Include="Scripts\trumbowyg\langs\ro.min.js" />
|
||||
<Content Include="Scripts\trumbowyg\langs\ru.min.js" />
|
||||
<Content Include="Scripts\trumbowyg\langs\tr.min.js" />
|
||||
<Content Include="Scripts\trumbowyg\langs\zh_cn.min.js" />
|
||||
<Content Include="Scripts\trumbowyg\plugins\base64\trumbowyg.base64.js" />
|
||||
<Content Include="Scripts\trumbowyg\plugins\base64\trumbowyg.base64.min.js" />
|
||||
<Content Include="Scripts\trumbowyg\plugins\colors\trumbowyg.colors.js" />
|
||||
<Content Include="Scripts\trumbowyg\plugins\colors\trumbowyg.colors.min.js" />
|
||||
<Content Include="Scripts\trumbowyg\plugins\colors\ui\images\icons-2x.png" />
|
||||
<Content Include="Scripts\trumbowyg\plugins\colors\ui\images\icons.png" />
|
||||
<Content Include="Scripts\trumbowyg\plugins\colors\ui\trumbowyg.colors.css" />
|
||||
<Content Include="Scripts\trumbowyg\plugins\colors\ui\trumbowyg.colors.min.css" />
|
||||
<Content Include="Scripts\trumbowyg\plugins\upload\trumbowyg.upload.js" />
|
||||
<Content Include="Scripts\trumbowyg\plugins\upload\trumbowyg.upload.min.js" />
|
||||
<Content Include="Scripts\trumbowyg\trumbowyg.js" />
|
||||
<Content Include="Scripts\trumbowyg\trumbowyg.min.js" />
|
||||
<Content Include="Scripts\trumbowyg\ui\images\icons-2x.png" />
|
||||
<Content Include="Scripts\trumbowyg\ui\images\icons.png" />
|
||||
<Content Include="Scripts\trumbowyg\ui\trumbowyg.css" />
|
||||
<Content Include="Scripts\trumbowyg\ui\trumbowyg.min.css" />
|
||||
<Content Include="Scripts\_references.js" />
|
||||
<Content Include="content\tile\square.png" />
|
||||
<Content Include="content\tile\tiny.png" />
|
||||
|
@ -278,16 +324,19 @@
|
|||
</FlavorProperties>
|
||||
</VisualStudio>
|
||||
</ProjectExtensions>
|
||||
<Import Project="..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets" Condition="Exists('..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets')" />
|
||||
<Target Name="EnsureBclBuildImported" BeforeTargets="BeforeBuild" Condition="'$(BclBuildImported)' == ''">
|
||||
<Error Condition="!Exists('..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets')" Text="This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=317567." HelpKeyword="BCLBUILD2001" />
|
||||
<Error Condition="Exists('..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets')" Text="The build restored NuGet packages. Build the project again to include these packages in the build. For more information, see http://go.microsoft.com/fwlink/?LinkID=317568." HelpKeyword="BCLBUILD2002" />
|
||||
</Target>
|
||||
<Import Project="..\packages\Microsoft.ApplicationInsights.0.11.1-build00694\tools\net40\Microsoft.ApplicationInsights.targets" Condition="Exists('..\packages\Microsoft.ApplicationInsights.0.11.1-build00694\tools\net40\Microsoft.ApplicationInsights.targets')" />
|
||||
<Import Project="..\packages\Microsoft.ApplicationInsights.0.12.0-build17386\tools\net40\Microsoft.ApplicationInsights.targets" Condition="Exists('..\packages\Microsoft.ApplicationInsights.0.12.0-build17386\tools\net40\Microsoft.ApplicationInsights.targets')" />
|
||||
<Target Name="EnsureApplicationInsightsImported" BeforeTargets="BeforeBuild" Condition="'$(ApplicationInsightsImported)' == ''">
|
||||
<Error Condition="!Exists('..\packages\Microsoft.ApplicationInsights.0.11.1-build00694\tools\net40\Microsoft.ApplicationInsights.targets')" Text="This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=317567." />
|
||||
<Error Condition="Exists('..\packages\Microsoft.ApplicationInsights.0.11.1-build00694\tools\net40\Microsoft.ApplicationInsights.targets')" Text="The build restored NuGet packages. Build the project again to include these packages in the build. For more information, see http://go.microsoft.com/fwlink/?LinkID=317567." />
|
||||
<Error Condition="!Exists('..\packages\Microsoft.ApplicationInsights.0.12.0-build17386\tools\net40\Microsoft.ApplicationInsights.targets')" Text="This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=317567." />
|
||||
<Error Condition="Exists('..\packages\Microsoft.ApplicationInsights.0.12.0-build17386\tools\net40\Microsoft.ApplicationInsights.targets')" Text="The build restored NuGet packages. Build the project again to include these packages in the build. For more information, see http://go.microsoft.com/fwlink/?LinkID=317567." />
|
||||
</Target>
|
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||
<PropertyGroup>
|
||||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
||||
</PropertyGroup>
|
||||
<Error Condition="!Exists('..\packages\Microsoft.Diagnostics.Instrumentation.Extensions.Intercept.0.12.0-build02810\build\Microsoft.Diagnostics.Instrumentation.Extensions.Intercept.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.Diagnostics.Instrumentation.Extensions.Intercept.0.12.0-build02810\build\Microsoft.Diagnostics.Instrumentation.Extensions.Intercept.props'))" />
|
||||
<Error Condition="!Exists('..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets'))" />
|
||||
</Target>
|
||||
<Import Project="..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets" Condition="Exists('..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets')" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
using NServiceKit.Redis;
|
||||
|
||||
using Required = System.ComponentModel.DataAnnotations.RequiredAttribute;
|
||||
using System.Web.Mvc;
|
||||
|
||||
namespace BuildFeed.Models
|
||||
{
|
||||
|
@ -58,6 +59,7 @@ public class Build : IHasId<long>
|
|||
public TypeOfSource SourceType { get; set; }
|
||||
|
||||
[DisplayName("Source Details")]
|
||||
[AllowHtml]
|
||||
public string SourceDetails { get; set; }
|
||||
|
||||
|
||||
|
|
|
@ -4,3 +4,25 @@
|
|||
/// <reference path="jquery.validate.js" />
|
||||
/// <reference path="bfs.js" />
|
||||
/// <reference path="jsrender.min.js" />
|
||||
/// <reference path="trumbowyg/trumbowyg.js" />
|
||||
/// <reference path="trumbowyg/langs/ca.min.js" />
|
||||
/// <reference path="trumbowyg/langs/da.min.js" />
|
||||
/// <reference path="trumbowyg/langs/de.min.js" />
|
||||
/// <reference path="trumbowyg/langs/es.min.js" />
|
||||
/// <reference path="trumbowyg/langs/es_ar.min.js" />
|
||||
/// <reference path="trumbowyg/langs/fa.min.js" />
|
||||
/// <reference path="trumbowyg/langs/fi.min.js" />
|
||||
/// <reference path="trumbowyg/langs/fr.min.js" />
|
||||
/// <reference path="trumbowyg/langs/he.min.js" />
|
||||
/// <reference path="trumbowyg/langs/id.min.js" />
|
||||
/// <reference path="trumbowyg/langs/it.min.js" />
|
||||
/// <reference path="trumbowyg/langs/ko.min.js" />
|
||||
/// <reference path="trumbowyg/langs/pl.min.js" />
|
||||
/// <reference path="trumbowyg/langs/pt.min.js" />
|
||||
/// <reference path="trumbowyg/langs/ro.min.js" />
|
||||
/// <reference path="trumbowyg/langs/ru.min.js" />
|
||||
/// <reference path="trumbowyg/langs/tr.min.js" />
|
||||
/// <reference path="trumbowyg/langs/zh_cn.min.js" />
|
||||
/// <reference path="trumbowyg/plugins/base64/trumbowyg.base64.js" />
|
||||
/// <reference path="trumbowyg/plugins/colors/trumbowyg.colors.js" />
|
||||
/// <reference path="trumbowyg/plugins/upload/trumbowyg.upload.js" />
|
||||
|
|
11
Scripts/trumbowyg/langs/ca.min.js
vendored
Normal file
11
Scripts/trumbowyg/langs/ca.min.js
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
/* ===========================================================
|
||||
* ca.js
|
||||
* Catalan translation for Trumbowyg
|
||||
* http://alex-d.github.com/Trumbowyg
|
||||
* ===========================================================
|
||||
* Author : Àlfons Sánchez (alsanan)
|
||||
* Twitter : @alsanan
|
||||
* Website : about.me/alsanan
|
||||
* Github : https://github.com/alsanan
|
||||
*/
|
||||
jQuery.trumbowyg.langs.ca={viewHTML:"Veure HTML",formatting:"Formatar",p:"Paragraf",blockquote:"Citació",code:"Codi",header:"Títol",bold:"Negreta",italic:"Itàlica",strikethrough:"Suprimir",underline:"Subratllat",strong:"Forta",em:"Èmfasi",del:"Apagar",unorderedList:"Lista desordenada",orderedList:"Lista ordenada",insertImage:"Inserir imatge",insertVideo:"Inserir vídeo",link:"Enllaç",createLink:"Crear un enllaç",unlink:"Eliminar enllaç",justifyLeft:"Alinear a esquerra",justifyCenter:"Centrar",justifyRight:"Alinear a dreta",justifyFull:"Justificar",horizontalRule:"Inserir separador horitzontal",fullscreen:"Pantalla completa",close:"Tancar",submit:"Enviar",reset:"Reiniciar",invalidUrl:"URL invàlida",required:"Obligatori",description:"Descripció",title:"Títol",text:"Text"};
|
9
Scripts/trumbowyg/langs/da.min.js
vendored
Normal file
9
Scripts/trumbowyg/langs/da.min.js
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
/* ===========================================================
|
||||
* da.js
|
||||
* Danish translation for Trumbowyg
|
||||
* http://alex-d.github.com/Trumbowyg
|
||||
* ===========================================================
|
||||
* Author : Christian Pedersen
|
||||
* Github : https://github.com/chripede
|
||||
*/
|
||||
jQuery.trumbowyg.langs.da={viewHTML:"Vis HTML",formatting:"Formatter",p:"Afsnit",blockquote:"Citat",code:"Kode",header:"Overskrift",bold:"Fed",italic:"Kursiv",strikethrough:"Gennemstreg",underline:"Understreg",strong:"Vigtig",em:"Fremhæv",del:"Slettet",unorderedList:"Uordnet liste",orderedList:"Ordnet liste",insertImage:"Indsæt billede",insertVideo:"Indsæt video",link:"Link",createLink:"Indsæt link",unlink:"Fjern link",justifyLeft:"Venstrestil",justifyCenter:"Centrer",justifyRight:"Højrestil",justifyFull:"Lige margener",horizontalRule:"Horisontal linie",fullscreen:"Fuld skærm",close:"Luk",submit:"Bekræft",reset:"Annuller",invalidUrl:"Ugyldig URL",required:"Påkrævet",description:"Beskrivelse",title:"Titel",text:"Tekst"};
|
9
Scripts/trumbowyg/langs/de.min.js
vendored
Normal file
9
Scripts/trumbowyg/langs/de.min.js
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
/* ===========================================================
|
||||
* de.js
|
||||
* German translation for Trumbowyg
|
||||
* http://alex-d.github.com/Trumbowyg
|
||||
* ===========================================================
|
||||
* Author : Manfred Timm
|
||||
* Github : https://github.com/Manfred62
|
||||
*/
|
||||
jQuery.trumbowyg.langs.de={viewHTML:"HTML anzeigen",formatting:"Formatieren",p:"Absatz",blockquote:"Zitat",code:"Code",header:"Überschrift",bold:"Fett",italic:"Kursiv",strikethrough:"Durchgestrichen",underline:"Unterstrichen",strong:"Wichtig",em:"Betont",del:"Gelöscht",unorderedList:"Ungeordnete Liste",orderedList:"Geordnete Liste",insertImage:"Bild einfügen",insertVideo:"Video einfügen",link:"Link",createLink:"Link einfügen",unlink:"Link entfernen",justifyLeft:"Links ausrichten",justifyCenter:"Zentrieren",justifyRight:"Rechts ausrichten",justifyFull:"Blocksatz",horizontalRule:"Horizontale Linie einfügen",fullscreen:"Vollbild",close:"Schliessen",submit:"Bestätigen",reset:"Rücksetzen",invalidUrl:"Ungültige URL",required:"Erforderlich",description:"Beschreibung",title:"Titel",text:"Text"};
|
9
Scripts/trumbowyg/langs/es.min.js
vendored
Normal file
9
Scripts/trumbowyg/langs/es.min.js
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
/* ===========================================================
|
||||
* es.js
|
||||
* Spanish translation for Trumbowyg
|
||||
* http://alex-d.github.com/Trumbowyg
|
||||
* ===========================================================
|
||||
* Author : Moisés Márquez
|
||||
* Email : moises.marquez.g@gmail.com
|
||||
*/
|
||||
jQuery.trumbowyg.langs.es={viewHTML:"Ver HTML",formatting:"Formato",p:"Párrafo",blockquote:"Cita",code:"Código",header:"Título",bold:"Negrita",italic:"Cursiva",strikethrough:"Tachado",underline:"Subrayado",strong:"Negrita",em:"Énfasis",del:"Borrar",unorderedList:"Lista Desordenada",orderedList:"Lista Ordenada",insertImage:"Insertar una imagen",insertVideo:"Insertar un vídeo",link:"Enlace",createLink:"Insertar un enlace",unlink:"Suprimir un enlace",justifyLeft:"Izquierda",justifyCenter:"Centrar",justifyRight:"Derecha",justifyFull:"Justificado",horizontalRule:"Insertar separador horizontal",fullscreen:"Pantalla completa",close:"Cerrar",submit:"Enviar",reset:"Cancelar",invalidUrl:"URL no válida",required:"Obligatorio",description:"Descripción",title:"Título",text:"Texto"};
|
9
Scripts/trumbowyg/langs/es_ar.min.js
vendored
Normal file
9
Scripts/trumbowyg/langs/es_ar.min.js
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
/* ===========================================================
|
||||
* es_ar.js
|
||||
* Spanish (Argentina) translation for Trumbowyg
|
||||
* http://alex-d.github.com/Trumbowyg
|
||||
* ===========================================================
|
||||
* Author : Félix Vera
|
||||
* Email : felix.vera@gmail.com
|
||||
*/
|
||||
jQuery.trumbowyg.langs.es_ar={viewHTML:"Ver HTML",formatting:"Formato",p:"Párrafo",blockquote:"Cita",code:"Código",header:"Título",bold:"Negrita",italic:"Itálica",strikethrough:"Tachado",underline:"Subrayado",strong:"Fuere",em:"Énfasis",del:"Borrar",unorderedList:"Lista Desordenada",orderedList:"Lista Ordenada",insertImage:"Insertar una imagen",insertVideo:"Insertar un video",link:"Vínculo",createLink:"Insertar un vínculo",unlink:"Suprimir un vínculo",justifyLeft:"Alinear a la Izquierda",justifyCenter:"Centrar",justifyRight:"Alinear a la Derecha",justifyFull:"Justificado",horizontalRule:"Insertar separado Horizontal",fullscreen:"Pantalla Completa",close:"Cerrar",submit:"Enviar",reset:"Cancelar",invalidUrl:"URL inválida",required:"Obligatorio",description:"Descripción",title:"Título",text:"Texto"};
|
10
Scripts/trumbowyg/langs/fa.min.js
vendored
Normal file
10
Scripts/trumbowyg/langs/fa.min.js
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
/* ===========================================================
|
||||
* fa.js
|
||||
* Persian translation for Trumbowyg
|
||||
* http://alex-d.github.com/Trumbowyg
|
||||
* ===========================================================
|
||||
* Author : Kiarash Soleimanzadeh
|
||||
* Github : https://github.com/kiyarash
|
||||
* Email : kiarash.s@hotmail.com
|
||||
*/
|
||||
jQuery.trumbowyg.langs.fa={viewHTML:"نمایش کد اچ تی ام ال",formatting:"قالب بندی",p:"پاراگراف",blockquote:"نقل قول",code:"کد",header:"سر تیتر",bold:"ضخیم",italic:"مورب",strikethrough:"میان خط دار",underline:"زیر خط دار",strong:"برجسته",em:"مورب",del:"حذف شده",unorderedList:"لیست نامرتب",orderedList:"لیست مرتب",insertImage:"درج تصویر",insertVideo:"درج ویدئو",link:"لینک",createLink:"درج لینک",unlink:"حذف لینک",justifyLeft:"تراز به چپ",justifyCenter:"تراز به وسط",justifyRight:"تراز به راست",justifyFull:"تراز به چپ و راست",horizontalRule:"درج خط افقی",fullscreen:"تمام صفحه",close:"بستن",submit:"تائید",reset:"انصراف",invalidUrl:"لینک نامعتبر",required:"اجباری",description:"توضیحات",title:"عنوان",text:"متن"};
|
9
Scripts/trumbowyg/langs/fi.min.js
vendored
Normal file
9
Scripts/trumbowyg/langs/fi.min.js
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
/* ===========================================================
|
||||
* fi.js
|
||||
* Finnish translation for Trumbowyg
|
||||
* http://alex-d.github.com/Trumbowyg
|
||||
* ===========================================================
|
||||
* Author : Teppo Koivula (teppokoivula)
|
||||
* Github : https://github.com/teppokoivula
|
||||
*/
|
||||
jQuery.trumbowyg.langs.fi={viewHTML:"Näytä HTML",formatting:"Muotoilu",p:"Kappale",blockquote:"Lainaus",code:"Koodi",header:"Otsikko",bold:"Lihavointi",italic:"Kursivointi",strikethrough:"Yliviivaus",underline:"Allevivaus",strong:"Vahvennus",em:"Painotus",del:"Poistettu",unorderedList:"Numeroimaton lista",orderedList:"Numeroitu lista",insertImage:"Lisää kuva",insertVideo:"Lisää video",link:"Linkki",createLink:"Luo linkki",unlink:"Poista linkki",justifyLeft:"Asemoi vasemmalle",justifyCenter:"Keskitä",justifyRight:"Asemoi oikealle",justifyFull:"Tasaa",horizontalRule:"Vaakaviiva",fullscreen:"Kokoruutu",close:"Sulje",submit:"Lähetä",reset:"Palauta",invalidUrl:"Viallinen URL-osoite",required:"Pakollinen",description:"Kuvaus",title:"Otsikko",text:"Teksti"};
|
10
Scripts/trumbowyg/langs/fr.min.js
vendored
Normal file
10
Scripts/trumbowyg/langs/fr.min.js
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
/* ===========================================================
|
||||
* fr.js
|
||||
* French translation for Trumbowyg
|
||||
* http://alex-d.github.com/Trumbowyg
|
||||
* ===========================================================
|
||||
* Author : Alexandre Demode (Alex-D)
|
||||
* Twitter : @AlexandreDemode
|
||||
* Website : alex-d.fr
|
||||
*/
|
||||
jQuery.trumbowyg.langs.fr={viewHTML:"Voir le HTML",formatting:"Format",p:"Paragraphe",blockquote:"Citation",code:"Code",header:"Titre",bold:"Gras",italic:"Italique",strikethrough:"Rayé",underline:"Souligné",strong:"Fort",em:"Emphase",del:"Supprimé",unorderedList:"Liste à puces",orderedList:"Liste ordonnée",insertImage:"Insérer une image",insertVideo:"Insérer une video",link:"Lien",createLink:"Insérer un lien",unlink:"Supprimer le lien",justifyLeft:"Aligner à gauche",justifyCenter:"Centrer",justifyRight:"Aligner à droite",justifyFull:"Justifier",horizontalRule:"Insérer un séparateur horizontal",fullscreen:"Plein écran",close:"Fermer",submit:"Valider",reset:"Annuler",invalidUrl:"URL invalide",required:"Obligatoire",description:"Description",title:"Titre",text:"Texte"};
|
9
Scripts/trumbowyg/langs/he.min.js
vendored
Normal file
9
Scripts/trumbowyg/langs/he.min.js
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
/* ===========================================================
|
||||
* he.js
|
||||
* Hebrew translation for Trumbowyg
|
||||
* http://alex-d.github.com/Trumbowyg
|
||||
* ===========================================================
|
||||
* Author : Udi Doron (udidoron)
|
||||
* Github : https://github.com/udidoron
|
||||
*/
|
||||
jQuery.trumbowyg.langs.he={_dir:"rtl",viewHTML:"צפה ב-HTML",formatting:"פורמט",p:"פסקה",blockquote:"ציטוט",code:"קוד",header:"ראשית",bold:"מודגש",italic:"נטוי",strikethrough:"קו חוצה",underline:"קו תחתון",strong:"בולט",em:"הדגשה",del:"נמחק",unorderedList:"רשימה ללא סדר",orderedList:"רשימה מסודרת",insertImage:"הכנס תמונה",insertVideo:"הכנס סרטון",link:"קישור",createLink:"צור קישור",unlink:"הסר קישור",justifyLeft:"ישר לשמאל",justifyCenter:"מרכז",justifyRight:"ישר לימין",justifyFull:"ישר לשני הצדדים",horizontalRule:"הכנס קו אופקי",fullscreen:"מסך מלא",close:"סגור",submit:"שלח",reset:"אתחל מחדש",invalidUrl:"כתובת אתר לא תקינה",required:"נחוץ",description:"תיאור",title:"כותרת",text:"טקסט"};
|
11
Scripts/trumbowyg/langs/id.min.js
vendored
Normal file
11
Scripts/trumbowyg/langs/id.min.js
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
/* ===========================================================
|
||||
* id.js
|
||||
* Indonesian translation for Trumbowyg
|
||||
* http://alex-d.github.com/Trumbowyg
|
||||
* ===========================================================
|
||||
* Author : Rezha Julio (kimiamania)
|
||||
* Twitter : @kimiamania
|
||||
* Website : http://rezhajulio.web.id
|
||||
* Github : https://github.com/kimiamania
|
||||
*/
|
||||
jQuery.trumbowyg.langs.id={viewHTML:"Lihat HTML",formatting:"Penyusunan",p:"Paragraf",blockquote:"Kutipan",code:"Kode",header:"Kepala",bold:"Tebal",italic:"Miring",strikethrough:"Coret",underline:"Garis bawah",strong:"Tebal",em:"Miring",del:"Dicoret",unorderedList:"Daftar tak teratur",orderedList:"Daftar teratur",insertImage:"Sisipkan gambar",insertVideo:"Sisipkan video",link:"Tautan",createLink:"Sisipkan Tautan",unlink:"Singkirkan tautan",justifyLeft:"Rata kiri",justifyCenter:"Rata Tengah",justifyRight:"Rata kanan",justifyFull:"Rata kiri dan kanan",horizontalRule:"Sisipkan garis mendatar",fullscreen:"Layar penuh",close:"Tutup",submit:"Setuju",reset:"Batal",invalidUrl:"Tautan salah",required:"Diperlukan",description:"Deskripsi",title:"Judul",text:"Teks"};
|
8
Scripts/trumbowyg/langs/it.min.js
vendored
Normal file
8
Scripts/trumbowyg/langs/it.min.js
vendored
Normal file
|
@ -0,0 +1,8 @@
|
|||
/* ===========================================================
|
||||
* it.js
|
||||
* Italian translation for Trumbowyg
|
||||
* http://alex-d.github.com/Trumbowyg
|
||||
* ===========================================================
|
||||
* Author : Mirko Buffoni
|
||||
*/
|
||||
jQuery.trumbowyg.langs.it={viewHTML:"Mostra HTML",formatting:"Formattazione",p:"Paragrafo",blockquote:"Citazione",code:"Codice",header:"Intestazione",bold:"Grassetto",italic:"Italico",strikethrough:"Barrato",underline:"Sottolineato",strong:"Rafforza",em:"Enfatizza",del:"Cancella",unorderedList:"Elenco puntato",orderedList:"Elenco numerato",insertImage:"Inserisci immagine",insertVideo:"Inserisci video",link:"Collegamento",createLink:"Crea un collegamento",unlink:"Elimina collegamento",justifyLeft:"Allinea a sinistra",justifyCenter:"Centra",justifyRight:"Allinea a destra",justifyFull:"Giustifica",horizontalRule:"Inserisci un separatore orizzontale",fullscreen:"Schermo intero",close:"Chiudi",submit:"Invia",reset:"Annulla",invalidUrl:"URL invalido",required:"Obbligatorio",description:"Descrizione",title:"Titolo",text:"Testo"};
|
10
Scripts/trumbowyg/langs/ko.min.js
vendored
Normal file
10
Scripts/trumbowyg/langs/ko.min.js
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
/* ===========================================================
|
||||
* ko.js
|
||||
* Korean translation for Trumbowyg
|
||||
* http://alex-d.github.com/Trumbowyg
|
||||
* ===========================================================
|
||||
* Author : JoongSeob Vito Kim (dorajistyle)
|
||||
* Blog : http://dorajistyle.pe.kr
|
||||
* Github : https://github.com/dorajistyle
|
||||
*/
|
||||
jQuery.trumbowyg.langs.ko={viewHTML:"HTML로 보기",formatting:"양식",p:"문단",blockquote:"인용부호",code:"코드",header:"머릿말",bold:"진하게",italic:"기울임",strikethrough:"취소선",underline:"밑줄",strong:"굵게",em:"강조",del:"취소",unorderedList:"순차 목록",orderedList:"비순차 목록",insertImage:"이미지 넣기",insertVideo:"비디오 넣기",link:"링크",createLink:"링크 넣기",unlink:"링크 없애기",justifyLeft:"왼쪽 정렬",justifyCenter:"가운데 정렬",justifyRight:"오른쪽 정렬",justifyFull:"혼합 정렬",horizontalRule:"가로줄 넣기",fullscreen:"전체 화면",close:"닫기",submit:"전송",reset:"초기화",invalidUrl:"올바르지 않은 URL입니다.",required:"꼭 입력해야 합니다.",description:"설명",title:"제목",text:"본문 내용"};
|
9
Scripts/trumbowyg/langs/pl.min.js
vendored
Normal file
9
Scripts/trumbowyg/langs/pl.min.js
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
/* ===========================================================
|
||||
* pl.js
|
||||
* Polish translation for Trumbowyg
|
||||
* http://alex-d.github.com/Trumbowyg
|
||||
* ===========================================================
|
||||
* Author : Paweł Abramowicz
|
||||
* Github : https://github.com/pawelabrams
|
||||
*/
|
||||
jQuery.trumbowyg.langs.pl={viewHTML:"Pokaż HTML",formatting:"Format",p:"Akapit",blockquote:"Cytat",code:"Kod",header:"Nagłówek",bold:"Pogrubienie",italic:"Pochylenie",strikethrough:"Przekreślenie",underline:"Podkreślenie",strong:"Wytłuszczenie",em:"Uwydatnienie",del:"Usunięte",unorderedList:"Lista nieuporządkowana",orderedList:"Lista uporządkowana",insertImage:"Wstaw obraz",insertVideo:"Wstaw film",link:"Link",createLink:"Wstaw link",unlink:"Usuń link",justifyLeft:"Wyrównaj do lewej",justifyCenter:"Wyśrodkuj",justifyRight:"Wyrównaj do prawej",justifyFull:"Wyjustuj",horizontalRule:"Odkreśl linią",fullscreen:"Pełny ekran",close:"Zamknij",submit:"Zastosuj",reset:"Przywróć",invalidUrl:"Nieprawidłowy URL",required:"Wymagane",description:"Opis",title:"Tytuł",text:"Tekst"};
|
11
Scripts/trumbowyg/langs/pt.min.js
vendored
Normal file
11
Scripts/trumbowyg/langs/pt.min.js
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
/* ===========================================================
|
||||
* pt.js
|
||||
* Portuguese translation for Trumbowyg
|
||||
* http://alex-d.github.com/Trumbowyg
|
||||
* ===========================================================
|
||||
* Author : Ramiro Varandas Jr (ramirovjr)
|
||||
* Twitter : @ramirovjnr
|
||||
* Website : about.me/ramirovjnr
|
||||
* Github : https://github.com/ramirovjr
|
||||
*/
|
||||
jQuery.trumbowyg.langs.pt={viewHTML:"Ver HTML",formatting:"Formatar",p:"Paragráfo",blockquote:"Citação",code:"Código",header:"Título",bold:"Negrito",italic:"Itálico",strikethrough:"Suprimir",underline:"Sublinhado",strong:"Forte",em:"Ênfase",del:"Apagar",unorderedList:"Lista não ordenada",orderedList:"Liste ordenada",insertImage:"Inserir imagem",insertVideo:"Inserir vídeo",link:"Link",createLink:"Criar um link",unlink:"Remover link",justifyLeft:"Alinhar a esquerda",justifyCenter:"Centralizar",justifyRight:"Alinhar a direita",justifyFull:"Justificar",horizontalRule:"Inserir separador horizontal",fullscreen:"Tela cheia",close:"Fechar",submit:"Enviar",reset:"Limpar",invalidUrl:"URL inválida",required:"Obrigatório",description:"Descrição",title:"Título",text:"Texto"};
|
13
Scripts/trumbowyg/langs/ro.min.js
vendored
Normal file
13
Scripts/trumbowyg/langs/ro.min.js
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
/* ===========================================================
|
||||
* ro.js
|
||||
* Romanian translation for Trumbowyg
|
||||
* http://alex-d.github.com/Trumbowyg
|
||||
* ===========================================================
|
||||
* Author : Vladut Radulescu (pacMakaveli)
|
||||
*
|
||||
* Email: pacMakaveli90@gmail.com
|
||||
* Twitter : @pacMakaveli90
|
||||
* Website : creative-studio51.co.uk
|
||||
* Github : https://github.com/pacMakaveli
|
||||
*/
|
||||
jQuery.trumbowyg.langs.pt={viewHTML:"Vizualizare HTML",formatting:"Format",p:"Paragraf",blockquote:"Citație",code:"Cod",header:"Titlu",bold:"Bold",italic:"Italic",strikethrough:"Tăiat",underline:"Subliniat",strong:"Puternic",em:"Accentuat",del:"Sterge",unorderedList:"Lista dezordonată",orderedList:"Liste ordonată",insertImage:"Adăugare Imagine",insertVideo:"Adăugare Video",link:"Link",createLink:"Crează link",unlink:"Remover link",justifyLeft:"Aliniază stânga",justifyCenter:"Aliniază centru",justifyRight:"Aliniază dreapta",justifyFull:"Justificare",horizontalRule:"Linie orizontală",fullscreen:"Tot ecranul",close:"Închide",submit:"Procesează",reset:"Resetează",invalidUrl:"URL invalid",required:"Obligatoriu",description:"Descriere",title:"Titlu",text:"Text"};
|
8
Scripts/trumbowyg/langs/ru.min.js
vendored
Normal file
8
Scripts/trumbowyg/langs/ru.min.js
vendored
Normal file
|
@ -0,0 +1,8 @@
|
|||
/* ===========================================================
|
||||
* ru.js
|
||||
* Russion translation for Trumbowyg
|
||||
* http://alex-d.github.com/Trumbowyg
|
||||
* ===========================================================
|
||||
* Author : Yuri Lya
|
||||
*/
|
||||
jQuery.trumbowyg.langs.ru={viewHTML:"Посмотреть HTML",formatting:"Форматирование",p:"Обычный",blockquote:"Цитата",code:"Код",header:"Заголовок",bold:"Полужирный",italic:"Курсив",strikethrough:"Зачеркнутый",underline:"Подчеркнутый",strong:"Полужирный",em:"Курсив",del:"Зачеркнутый",unorderedList:"Обычный список",orderedList:"Нумерованный список",insertImage:"Вставить изображение",insertVideo:"Вставить видео",link:"Ссылка",createLink:"Вставить ссылку",unlink:"Удалить ссылку",justifyLeft:"По левому краю",justifyCenter:"По центру",justifyRight:"По правому краю",justifyFull:"По ширине",horizontalRule:"Горизонтальная линия",fullscreen:"Во весь экран",close:"Закрыть",submit:"Вставить",reset:"Отменить",invalidUrl:"Неверный URL",required:"Обязательное",description:"Описание",title:"Подсказка",text:"Текст"};
|
10
Scripts/trumbowyg/langs/tr.min.js
vendored
Normal file
10
Scripts/trumbowyg/langs/tr.min.js
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
/* ===========================================================
|
||||
* tr.js
|
||||
* Turkish translation for Trumbowyg
|
||||
* http://alex-d.github.com/Trumbowyg
|
||||
* ===========================================================
|
||||
* Author : Emrah Bilbay (munzur)
|
||||
* Github : https://github.com/munzur
|
||||
* Website: http://kafe.in/
|
||||
*/
|
||||
jQuery.trumbowyg.langs.tr={viewHTML:"HTML Kodu",formatting:"Biçimlendirme",p:"Paragraf",blockquote:"Alıntı",code:"Kod",header:"Başlık",bold:"Kalın",italic:"İtalik",strikethrough:"Orta çizgi",underline:"Alt çigzi",strong:"Koyu",em:"Vurgulu",del:"Üstü çizilmiş",unorderedList:"Numarasız liste",orderedList:"Numaralı liste",insertImage:"Resim yerleştir",insertVideo:"Video yerleştir",link:"Link",createLink:"Link yerleştir",unlink:"Linki sil",justifyLeft:"Sola hizala",justifyCenter:"Ortaya hizala",justifyRight:"Sağa hizala",justifyFull:"Yasla",horizontalRule:"Yatay çizgi ekle",fullscreen:"Tam ekran",close:"Kapat",submit:"Onayla",reset:"Sıfırla",invalidUrl:"Hatalı URL",required:"Gerekli",description:"Açıklama",title:"Başlık",text:"Metin"};
|
10
Scripts/trumbowyg/langs/zh_cn.min.js
vendored
Normal file
10
Scripts/trumbowyg/langs/zh_cn.min.js
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
/* ===========================================================
|
||||
* zh_cn.js
|
||||
* Simplified Chinese translation for Trumbowyg
|
||||
* http://alex-d.github.com/Trumbowyg
|
||||
* ===========================================================
|
||||
* Author : Liu Kai (akai)
|
||||
* Twitter : @akai404
|
||||
* Github : https://github.com/akai
|
||||
*/
|
||||
jQuery.trumbowyg.langs.zh_cn={viewHTML:"源代码",formatting:"格式",p:"段落",blockquote:"引用",code:"代码",header:"标题",bold:"加粗",italic:"斜体",strikethrough:"删除线",underline:"下划线",strong:"加粗",em:"斜体",del:"删除线",unorderedList:"无序列表",orderedList:"有序列表",insertImage:"插入图片",insertVideo:"插入视频",link:"超链接",createLink:"插入链接",unlink:"取消链接",justifyLeft:"居左对齐",justifyCenter:"居中对齐",justifyRight:"居右对齐",justifyFull:"两端对齐",horizontalRule:"插入分隔线",fullscreen:"全屏",close:"关闭",submit:"确定",reset:"取消",invalidUrl:"无效的 URL",required:"必需的",description:"描述",title:"标题",text:"文字"};
|
74
Scripts/trumbowyg/plugins/base64/trumbowyg.base64.js
Normal file
74
Scripts/trumbowyg/plugins/base64/trumbowyg.base64.js
Normal file
|
@ -0,0 +1,74 @@
|
|||
/* ===========================================================
|
||||
* trumbowyg.base64.js v1.0
|
||||
* Base64 plugin for Trumbowyg
|
||||
* http://alex-d.github.com/Trumbowyg
|
||||
* ===========================================================
|
||||
* Author : Cyril Biencourt (lizardK)
|
||||
*/
|
||||
|
||||
(function($){
|
||||
'use strict';
|
||||
|
||||
$.extend(true, $.trumbowyg, {
|
||||
langs: {
|
||||
en: {
|
||||
base64: "Image as base64",
|
||||
file: "File",
|
||||
errFileReaderNotSupported: "FileReader is not supported by your browser."
|
||||
},
|
||||
fr: {
|
||||
base64: "Image en base64",
|
||||
file: "Fichier"
|
||||
}
|
||||
},
|
||||
|
||||
opts: {
|
||||
btnsDef: {
|
||||
base64: {
|
||||
isSupported: function(){
|
||||
if(typeof FileReader === "undefined"){
|
||||
console.err('[Trumbowyg - Plugin base64] FileReader is not supported by your browser.');
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
},
|
||||
func: function(params, tbw){
|
||||
var file;
|
||||
tbw.openModalInsert(
|
||||
// Title
|
||||
tbw.lang.base64,
|
||||
|
||||
// Fields
|
||||
{
|
||||
file: {
|
||||
type: 'file',
|
||||
required: true
|
||||
},
|
||||
alt: {
|
||||
label: 'description'
|
||||
}
|
||||
},
|
||||
|
||||
// Callback
|
||||
function(values){
|
||||
var fReader = new FileReader();
|
||||
|
||||
fReader.onloadend = function(){
|
||||
tbw.execCmd('insertImage', fReader.result);
|
||||
$(['img[src="', fReader.result, '"]:not([alt])'].join(''), tbw.$box).attr('alt', values.alt);
|
||||
tbw.closeModal();
|
||||
};
|
||||
|
||||
fReader.readAsDataURL(file);
|
||||
}
|
||||
);
|
||||
|
||||
$('input[type=file]').on('change', function(e){
|
||||
file = e.target.files[0];
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
})(jQuery);
|
1
Scripts/trumbowyg/plugins/base64/trumbowyg.base64.min.js
vendored
Normal file
1
Scripts/trumbowyg/plugins/base64/trumbowyg.base64.min.js
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
!function(e){"use strict";e.extend(!0,e.trumbowyg,{langs:{en:{base64:"Image as base64",file:"File",errFileReaderNotSupported:"FileReader is not supported by your browser."},fr:{base64:"Image en base64",file:"Fichier"}},opts:{btnsDef:{base64:{isSupported:function(){return"undefined"==typeof FileReader?(console.err("[Trumbowyg - Plugin base64] FileReader is not supported by your browser."),!1):!0},func:function(r,t){var n;t.openModalInsert(t.lang.base64,{file:{type:"file",required:!0},alt:{label:"description"}},function(r){var a=new FileReader;a.onloadend=function(){t.execCmd("insertImage",a.result),e(['img[src="',a.result,'"]:not([alt])'].join(""),t.$box).attr("alt",r.alt),t.closeModal()},a.readAsDataURL(n)}),e("input[type=file]").on("change",function(e){n=e.target.files[0]})}}}}})}(jQuery);
|
69
Scripts/trumbowyg/plugins/colors/trumbowyg.colors.js
Normal file
69
Scripts/trumbowyg/plugins/colors/trumbowyg.colors.js
Normal file
|
@ -0,0 +1,69 @@
|
|||
/* ===========================================================
|
||||
* trumbowyg.colors.js v1.0
|
||||
* Colors picker plugin for Trumbowyg
|
||||
* http://alex-d.github.com/Trumbowyg
|
||||
* ===========================================================
|
||||
* Author : Alexandre Demode (Alex-D)
|
||||
* Twitter : @AlexandreDemode
|
||||
* Website : alex-d.fr
|
||||
*/
|
||||
|
||||
(function($){
|
||||
'use strict';
|
||||
|
||||
$.extend(true, $.trumbowyg, {
|
||||
langs: {
|
||||
en: {
|
||||
foreColor: "Text color",
|
||||
backColor: "Background color"
|
||||
},
|
||||
fr: {
|
||||
foreColor: "Couleur du text",
|
||||
backColor: "Couleur de fond"
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
// Create btnsDef entry
|
||||
$.extend(true, $.trumbowyg, {
|
||||
opts: {
|
||||
btnsDef: {}
|
||||
}
|
||||
});
|
||||
|
||||
// Set default colors
|
||||
if(!$.trumbowyg.opts.colors)
|
||||
$.trumbowyg.opts.colors = ['ffffff', '000000', 'eeece1', '1f497d', '4f81bd', 'c0504d', '9bbb59', '8064a2', '4bacc6', 'f79646', 'ffff00', 'f2f2f2', '7f7f7f', 'ddd9c3', 'c6d9f0', 'dbe5f1', 'f2dcdb', 'ebf1dd', 'e5e0ec', 'dbeef3', 'fdeada', 'fff2ca', 'd8d8d8', '595959', 'c4bd97', '8db3e2', 'b8cce4', 'e5b9b7', 'd7e3bc', 'ccc1d9', 'b7dde8', 'fbd5b5', 'ffe694', 'bfbfbf', '3f3f3f', '938953', '548dd4', '95b3d7', 'd99694', 'c3d69b', 'b2a2c7', 'b7dde8', 'fac08f', 'f2c314', 'a5a5a5', '262626', '494429', '17365d', '366092', '953734', '76923c', '5f497a', '92cddc', 'e36c09', 'c09100', '7f7f7f', '0c0c0c', '1d1b10', '0f243e', '244061', '632423', '4f6128', '3f3151', '31859b', '974806', '7f6000'];
|
||||
|
||||
// Add all colors in two dropdowns
|
||||
$.extend(true, $.trumbowyg, {
|
||||
opts: {
|
||||
btnsDef: {
|
||||
foreColor: {
|
||||
dropdown: buildDropdown('foreColor')
|
||||
},
|
||||
backColor: {
|
||||
dropdown: buildDropdown('backColor')
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
||||
function buildDropdown(func){
|
||||
var dropdown = [];
|
||||
|
||||
$.each($.trumbowyg.opts.colors, function(i, color){
|
||||
var btn = '_' + func + color;
|
||||
$.trumbowyg.opts.btnsDef[btn] = {
|
||||
func: func,
|
||||
param: '#' + color,
|
||||
style: 'background-color: #' + color + ';'
|
||||
};
|
||||
dropdown.push(btn);
|
||||
});
|
||||
|
||||
return dropdown;
|
||||
}
|
||||
})(jQuery);
|
1
Scripts/trumbowyg/plugins/colors/trumbowyg.colors.min.js
vendored
Normal file
1
Scripts/trumbowyg/plugins/colors/trumbowyg.colors.min.js
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
!function(f){"use strict";function o(o){var d=[];return f.each(f.trumbowyg.opts.colors,function(c,e){var b="_"+o+e;f.trumbowyg.opts.btnsDef[b]={func:o,param:"#"+e,style:"background-color: #"+e+";"},d.push(b)}),d}f.extend(!0,f.trumbowyg,{langs:{en:{foreColor:"Text color",backColor:"Background color"},fr:{foreColor:"Couleur du text",backColor:"Couleur de fond"}}}),f.extend(!0,f.trumbowyg,{opts:{btnsDef:{}}}),f.trumbowyg.opts.colors||(f.trumbowyg.opts.colors=["ffffff","000000","eeece1","1f497d","4f81bd","c0504d","9bbb59","8064a2","4bacc6","f79646","ffff00","f2f2f2","7f7f7f","ddd9c3","c6d9f0","dbe5f1","f2dcdb","ebf1dd","e5e0ec","dbeef3","fdeada","fff2ca","d8d8d8","595959","c4bd97","8db3e2","b8cce4","e5b9b7","d7e3bc","ccc1d9","b7dde8","fbd5b5","ffe694","bfbfbf","3f3f3f","938953","548dd4","95b3d7","d99694","c3d69b","b2a2c7","b7dde8","fac08f","f2c314","a5a5a5","262626","494429","17365d","366092","953734","76923c","5f497a","92cddc","e36c09","c09100","7f7f7f","0c0c0c","1d1b10","0f243e","244061","632423","4f6128","3f3151","31859b","974806","7f6000"]),f.extend(!0,f.trumbowyg,{opts:{btnsDef:{foreColor:{dropdown:o("foreColor")},backColor:{dropdown:o("backColor")}}}})}(jQuery);
|
BIN
Scripts/trumbowyg/plugins/colors/ui/images/icons-2x.png
Normal file
BIN
Scripts/trumbowyg/plugins/colors/ui/images/icons-2x.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.3 KiB |
BIN
Scripts/trumbowyg/plugins/colors/ui/images/icons.png
Normal file
BIN
Scripts/trumbowyg/plugins/colors/ui/images/icons.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 995 B |
55
Scripts/trumbowyg/plugins/colors/ui/trumbowyg.colors.css
Normal file
55
Scripts/trumbowyg/plugins/colors/ui/trumbowyg.colors.css
Normal file
|
@ -0,0 +1,55 @@
|
|||
/**
|
||||
* Trumbowyg v1.1.7 - A lightweight WYSIWYG editor
|
||||
* Colors plugin stylesheet for Trumbowyg editor
|
||||
* ------------------------
|
||||
* @link http://alex-d.github.io/Trumbowyg
|
||||
* @license MIT
|
||||
* @author Alexandre Demode (Alex-D)
|
||||
* Twitter : @AlexandreDemode
|
||||
* Website : alex-d.fr
|
||||
*/
|
||||
|
||||
.foreColor-trumbowyg-dropdown, .backColor-trumbowyg-dropdown {
|
||||
width: 264px;
|
||||
padding: 7px 5px; }
|
||||
.foreColor-trumbowyg-dropdown button, .backColor-trumbowyg-dropdown button {
|
||||
display: block;
|
||||
position: relative;
|
||||
float: left;
|
||||
text-indent: -9999px;
|
||||
height: 20px;
|
||||
width: 20px;
|
||||
border: 1px solid #333;
|
||||
padding: 0;
|
||||
margin: 2px; }
|
||||
.foreColor-trumbowyg-dropdown button:hover::after, .foreColor-trumbowyg-dropdown button:focus::after, .backColor-trumbowyg-dropdown button:hover::after, .backColor-trumbowyg-dropdown button:focus::after {
|
||||
content: " ";
|
||||
display: block;
|
||||
height: 27px;
|
||||
width: 27px;
|
||||
background: inherit;
|
||||
position: absolute;
|
||||
top: -5px;
|
||||
left: -5px;
|
||||
border: 1px solid #FFF;
|
||||
-webkit-box-shadow: #000 0 0 2px;
|
||||
box-shadow: #000 0 0 2px;
|
||||
z-index: 10; }
|
||||
|
||||
/*
|
||||
* Buttons icons
|
||||
*/
|
||||
.trumbowyg-button-pane li button.trumbowyg-foreColor-button, .trumbowyg-button-pane li button.trumbowyg-backColor-button {
|
||||
background-image: url("./images/icons.png"); }
|
||||
.trumbowyg-button-pane li button.trumbowyg-foreColor-button {
|
||||
background-position: 5px -20px; }
|
||||
.trumbowyg-button-pane li button.trumbowyg-backColor-button {
|
||||
background-position: 5px 5px; }
|
||||
|
||||
@media only screen and (-webkit-min-device-pixel-ratio: 1.3), only screen and (min--moz-device-pixel-ratio: 1.3), only screen and (-o-min-device-pixel-ratio: 4/3), only screen and (min-device-pixel-ratio: 1.3), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx) {
|
||||
.trumbowyg-button-pane li button.trumbowyg-foreColor-button, .trumbowyg-button-pane li button.trumbowyg-backColor-button {
|
||||
background-image: url("./images/icons-2x.png") !important; }
|
||||
.trumbowyg-button-pane li button.trumbowyg-foreColor-button {
|
||||
background-position: 5px -20px; }
|
||||
.trumbowyg-button-pane li button.trumbowyg-backColor-button {
|
||||
background-position: 5px 5px; } }
|
2
Scripts/trumbowyg/plugins/colors/ui/trumbowyg.colors.min.css
vendored
Normal file
2
Scripts/trumbowyg/plugins/colors/ui/trumbowyg.colors.min.css
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
/** Trumbowyg v1.1.7 - A lightweight WYSIWYG editor - alex-d.github.io/Trumbowyg - License MIT - Author : Alexandre Demode (Alex-D) / alex-d.fr */
|
||||
.backColor-trumbowyg-dropdown,.foreColor-trumbowyg-dropdown{width:264px;padding:7px 5px}.backColor-trumbowyg-dropdown button,.foreColor-trumbowyg-dropdown button{display:block;position:relative;float:left;text-indent:-9999px;height:20px;width:20px;border:1px solid #333;padding:0;margin:2px}.backColor-trumbowyg-dropdown button:focus::after,.backColor-trumbowyg-dropdown button:hover::after,.foreColor-trumbowyg-dropdown button:focus::after,.foreColor-trumbowyg-dropdown button:hover::after{content:" ";display:block;height:27px;width:27px;background:inherit;position:absolute;top:-5px;left:-5px;border:1px solid #FFF;-webkit-box-shadow:#000 0 0 2px;box-shadow:#000 0 0 2px;z-index:10}.trumbowyg-button-pane li button.trumbowyg-backColor-button,.trumbowyg-button-pane li button.trumbowyg-foreColor-button{background-image:url(./images/icons.png)}.trumbowyg-button-pane li button.trumbowyg-foreColor-button{background-position:5px -20px}.trumbowyg-button-pane li button.trumbowyg-backColor-button{background-position:5px 5px}@media only screen and (-webkit-min-device-pixel-ratio:1.3),only screen and (min--moz-device-pixel-ratio:1.3),only screen and (-o-min-device-pixel-ratio:4/3),only screen and (min-device-pixel-ratio:1.3),only screen and (min-resolution:192dpi),only screen and (min-resolution:2dppx){.trumbowyg-button-pane li button.trumbowyg-backColor-button,.trumbowyg-button-pane li button.trumbowyg-foreColor-button{background-image:url(./images/icons-2x.png)!important}.trumbowyg-button-pane li button.trumbowyg-foreColor-button{background-position:5px -20px}.trumbowyg-button-pane li button.trumbowyg-backColor-button{background-position:5px 5px}}
|
140
Scripts/trumbowyg/plugins/upload/trumbowyg.upload.js
Normal file
140
Scripts/trumbowyg/plugins/upload/trumbowyg.upload.js
Normal file
|
@ -0,0 +1,140 @@
|
|||
/* ===========================================================
|
||||
* trumbowyg.upload.js v1.0
|
||||
* Upload plugin for Trumbowyg
|
||||
* http://alex-d.github.com/Trumbowyg
|
||||
* ===========================================================
|
||||
* Author : Alexandre Demode (Alex-D)
|
||||
* Twitter : @AlexandreDemode
|
||||
* Website : alex-d.fr
|
||||
*/
|
||||
|
||||
(function($){
|
||||
'use strict';
|
||||
|
||||
addXhrProgressEvent();
|
||||
|
||||
$.extend(true, $.trumbowyg, {
|
||||
langs: {
|
||||
en: {
|
||||
upload: "Upload",
|
||||
file: "File",
|
||||
uploadError: "Error"
|
||||
},
|
||||
fr: {
|
||||
upload: "Envoi",
|
||||
file: "Fichier",
|
||||
uploadError: "Erreur"
|
||||
}
|
||||
},
|
||||
|
||||
upload: {
|
||||
serverPath: './src/plugins/upload/trumbowyg.upload.php'
|
||||
},
|
||||
|
||||
opts: {
|
||||
btnsDef: {
|
||||
upload: {
|
||||
func: function(params, tbw){
|
||||
var file,
|
||||
pfx = tbw.o.prefix;
|
||||
|
||||
var $modal = tbw.openModalInsert(
|
||||
// Title
|
||||
tbw.lang.upload,
|
||||
|
||||
// Fields
|
||||
{
|
||||
file: {
|
||||
type: 'file',
|
||||
required: true
|
||||
},
|
||||
alt: {
|
||||
label: 'description'
|
||||
}
|
||||
},
|
||||
|
||||
// Callback
|
||||
function(){
|
||||
var data = new FormData();
|
||||
data.append('fileToUpload', file);
|
||||
|
||||
if($('.' + pfx +'progress', $modal).length === 0)
|
||||
$('.' + pfx + 'modal-title', $modal)
|
||||
.after(
|
||||
$('<div/>', {
|
||||
'class': pfx +'progress'
|
||||
})
|
||||
.append(
|
||||
$('<div/>', {
|
||||
'class': pfx +'progress-bar'
|
||||
})
|
||||
)
|
||||
);
|
||||
|
||||
$.ajax({
|
||||
url: $.trumbowyg.upload.serverPath,
|
||||
type: 'POST',
|
||||
data: data,
|
||||
cache: false,
|
||||
dataType: 'json',
|
||||
processData: false,
|
||||
contentType: false,
|
||||
|
||||
progressUpload: function(e){
|
||||
$('.' + pfx + 'progress-bar').stop().animate({
|
||||
width: Math.round(e.loaded * 100 / e.total) + '%'
|
||||
}, 200);
|
||||
},
|
||||
|
||||
success: function(data){
|
||||
if(data.message == "uploadSuccess") {
|
||||
tbw.execCmd('insertImage', data.file);
|
||||
setTimeout(function(){
|
||||
tbw.closeModal();
|
||||
}, 250);
|
||||
} else {
|
||||
tbw.addErrorOnModalField(
|
||||
$('input[type=file]', $modal),
|
||||
tbw.lang[data.message]
|
||||
);
|
||||
}
|
||||
},
|
||||
error: function(){
|
||||
tbw.addErrorOnModalField(
|
||||
$('input[type=file]', $modal),
|
||||
tbw.lang.uploadError
|
||||
);
|
||||
}
|
||||
});
|
||||
}
|
||||
);
|
||||
|
||||
$('input[type=file]').on('change', function(e){
|
||||
file = e.target.files[0];
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
function addXhrProgressEvent(){
|
||||
if (!$.trumbowyg && !$.trumbowyg.addedXhrProgressEvent) { // Avoid adding progress event multiple times
|
||||
var originalXhr = $.ajaxSettings.xhr;
|
||||
$.ajaxSetup({
|
||||
xhr: function() {
|
||||
var req = originalXhr(),
|
||||
that = this;
|
||||
if(req && typeof req.upload == "object" && that.progressUpload !== undefined)
|
||||
req.upload.addEventListener("progress", function(e){
|
||||
that.progressUpload(e);
|
||||
}, false);
|
||||
|
||||
return req;
|
||||
}
|
||||
});
|
||||
$.trumbowyg.addedXhrProgressEvent = true;
|
||||
}
|
||||
}
|
||||
})(jQuery);
|
1
Scripts/trumbowyg/plugins/upload/trumbowyg.upload.min.js
vendored
Normal file
1
Scripts/trumbowyg/plugins/upload/trumbowyg.upload.min.js
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
!function(e){"use strict";function r(){if(!e.trumbowyg&&!e.trumbowyg.addedXhrProgressEvent){var r=e.ajaxSettings.xhr;e.ajaxSetup({xhr:function(){var e=r(),o=this;return e&&"object"==typeof e.upload&&void 0!==o.progressUpload&&e.upload.addEventListener("progress",function(e){o.progressUpload(e)},!1),e}}),e.trumbowyg.addedXhrProgressEvent=!0}}r(),e.extend(!0,e.trumbowyg,{langs:{en:{upload:"Upload",file:"File",uploadError:"Error"},fr:{upload:"Envoi",file:"Fichier",uploadError:"Erreur"}},upload:{serverPath:"./src/plugins/upload/trumbowyg.upload.php"},opts:{btnsDef:{upload:{func:function(r,o){var a,t=o.o.prefix,n=o.openModalInsert(o.lang.upload,{file:{type:"file",required:!0},alt:{label:"description"}},function(){var r=new FormData;r.append("fileToUpload",a),0===e("."+t+"progress",n).length&&e("."+t+"modal-title",n).after(e("<div/>",{"class":t+"progress"}).append(e("<div/>",{"class":t+"progress-bar"}))),e.ajax({url:e.trumbowyg.upload.serverPath,type:"POST",data:r,cache:!1,dataType:"json",processData:!1,contentType:!1,progressUpload:function(r){e("."+t+"progress-bar").stop().animate({width:Math.round(100*r.loaded/r.total)+"%"},200)},success:function(r){"uploadSuccess"==r.message?(o.execCmd("insertImage",r.file),setTimeout(function(){o.closeModal()},250)):o.addErrorOnModalField(e("input[type=file]",n),o.lang[r.message])},error:function(){o.addErrorOnModalField(e("input[type=file]",n),o.lang.uploadError)}})});e("input[type=file]").on("change",function(e){a=e.target.files[0]})}}}}})}(jQuery);
|
1124
Scripts/trumbowyg/trumbowyg.js
Normal file
1124
Scripts/trumbowyg/trumbowyg.js
Normal file
File diff suppressed because it is too large
Load Diff
2
Scripts/trumbowyg/trumbowyg.min.js
vendored
Normal file
2
Scripts/trumbowyg/trumbowyg.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
BIN
Scripts/trumbowyg/ui/images/icons-2x.png
Normal file
BIN
Scripts/trumbowyg/ui/images/icons-2x.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 13 KiB |
BIN
Scripts/trumbowyg/ui/images/icons.png
Normal file
BIN
Scripts/trumbowyg/ui/images/icons.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.4 KiB |
471
Scripts/trumbowyg/ui/trumbowyg.css
Normal file
471
Scripts/trumbowyg/ui/trumbowyg.css
Normal file
|
@ -0,0 +1,471 @@
|
|||
/**
|
||||
* Trumbowyg v1.1.7 - A lightweight WYSIWYG editor
|
||||
* Default stylesheet for Trumbowyg editor
|
||||
* ------------------------
|
||||
* @link http://alex-d.github.io/Trumbowyg
|
||||
* @license MIT
|
||||
* @author Alexandre Demode (Alex-D)
|
||||
* Twitter : @AlexandreDemode
|
||||
* Website : alex-d.fr
|
||||
*/
|
||||
|
||||
.trumbowyg-box, .trumbowyg-editor {
|
||||
display: block;
|
||||
position: relative;
|
||||
border: 1px solid #DDD;
|
||||
width: 96%;
|
||||
min-height: 300px;
|
||||
margin: 17px auto; }
|
||||
|
||||
.trumbowyg-box .trumbowyg-editor {
|
||||
margin: 0 auto; }
|
||||
|
||||
.trumbowyg-box.trumbowyg-fullscreen {
|
||||
background: #FEFEFE; }
|
||||
|
||||
.trumbowyg-editor, .trumbowyg-textarea {
|
||||
position: relative;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
padding: 1% 2%;
|
||||
min-height: 300px;
|
||||
width: 100%;
|
||||
border-style: none;
|
||||
resize: none;
|
||||
outline: none; }
|
||||
|
||||
.trumbowyg-box-blur .trumbowyg-editor * {
|
||||
color: transparent !important;
|
||||
text-shadow: 0 0 7px #333; }
|
||||
.trumbowyg-box-blur .trumbowyg-editor img {
|
||||
opacity: 0.2; }
|
||||
|
||||
.trumbowyg-textarea {
|
||||
position: relative;
|
||||
display: block;
|
||||
overflow: auto;
|
||||
border: none;
|
||||
white-space: normal; }
|
||||
|
||||
.trumbowyg-editor[contenteditable=true]:empty:before {
|
||||
content: attr(placeholder);
|
||||
color: #999; }
|
||||
|
||||
.trumbowyg-button-pane {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
background: #ecf0f1;
|
||||
border-bottom: 1px solid #d7e0e2;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style-type: none;
|
||||
line-height: 10px;
|
||||
-webkit-backface-visibility: hidden;
|
||||
backface-visibility: hidden; }
|
||||
.trumbowyg-button-pane li {
|
||||
display: inline-block;
|
||||
text-align: center;
|
||||
overflow: hidden; }
|
||||
.trumbowyg-button-pane li.trumbowyg-separator {
|
||||
width: 1px;
|
||||
background: #d7e0e2;
|
||||
margin: 0 5px;
|
||||
height: 35px; }
|
||||
.trumbowyg-button-pane.trumbowyg-disable li:not(.trumbowyg-not-disable) button:not(.trumbowyg-active) {
|
||||
opacity: 0.2;
|
||||
cursor: default; }
|
||||
.trumbowyg-button-pane.trumbowyg-disable li.trumbowyg-separator {
|
||||
background: #e3e9eb; }
|
||||
.trumbowyg-button-pane:not(.trumbowyg-disable) li button:hover, .trumbowyg-button-pane:not(.trumbowyg-disable) li button:focus, .trumbowyg-button-pane li button.trumbowyg-active, .trumbowyg-button-pane li.trumbowyg-not-disable button:hover, .trumbowyg-button-pane li.trumbowyg-not-disable button:focus {
|
||||
background-color: #FFF;
|
||||
outline: none; }
|
||||
.trumbowyg-button-pane li .trumbowyg-open-dropdown:after {
|
||||
display: block;
|
||||
content: " ";
|
||||
position: absolute;
|
||||
top: 25px;
|
||||
right: 3px;
|
||||
height: 0;
|
||||
width: 0;
|
||||
border: 3px solid transparent;
|
||||
border-top-color: #555; }
|
||||
.trumbowyg-button-pane .trumbowyg-buttons-right {
|
||||
float: right;
|
||||
width: auto; }
|
||||
.trumbowyg-button-pane .trumbowyg-buttons-right button {
|
||||
float: left; }
|
||||
|
||||
.trumbowyg-dropdown {
|
||||
width: 200px;
|
||||
border: 1px solid #ecf0f1;
|
||||
padding: 5px 0;
|
||||
border-top: none;
|
||||
background: #FFF;
|
||||
margin-left: -1px;
|
||||
-webkit-box-shadow: rgba(0, 0, 0, 0.1) 0 2px 3px;
|
||||
box-shadow: rgba(0, 0, 0, 0.1) 0 2px 3px; }
|
||||
.trumbowyg-dropdown button {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 35px;
|
||||
line-height: 35px;
|
||||
text-decoration: none;
|
||||
background: #FFF;
|
||||
padding: 0 14px;
|
||||
color: #333;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
text-align: left;
|
||||
font-size: 15px;
|
||||
-webkit-transition: all 0.15s;
|
||||
-o-transition: all 0.15s;
|
||||
transition: all 0.15s; }
|
||||
.trumbowyg-dropdown button:hover, .trumbowyg-dropdown button:focus {
|
||||
background: #ecf0f1; }
|
||||
|
||||
/* Modal box */
|
||||
.trumbowyg-modal {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 50%;
|
||||
margin-left: -260px;
|
||||
width: 520px;
|
||||
height: 290px;
|
||||
overflow: hidden; }
|
||||
|
||||
.trumbowyg-modal-box {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 50%;
|
||||
margin-left: -250px;
|
||||
width: 500px;
|
||||
height: 275px;
|
||||
z-index: 1;
|
||||
background-color: #FFF;
|
||||
text-align: center;
|
||||
-webkit-box-shadow: rgba(0, 0, 0, 0.2) 0 2px 3px;
|
||||
box-shadow: rgba(0, 0, 0, 0.2) 0 2px 3px;
|
||||
-webkit-backface-visibility: hidden;
|
||||
backface-visibility: hidden; }
|
||||
.trumbowyg-modal-box .trumbowyg-modal-title {
|
||||
font-size: 24px;
|
||||
font-weight: bold;
|
||||
margin: 0 0 20px;
|
||||
padding: 15px 0 13px;
|
||||
display: block;
|
||||
border-bottom: 1px solid #EEE;
|
||||
color: #333;
|
||||
background: #fbfcfc; }
|
||||
.trumbowyg-modal-box .trumbowyg-progress {
|
||||
width: 100%;
|
||||
background: #F00;
|
||||
height: 3px;
|
||||
position: absolute;
|
||||
top: 58px; }
|
||||
.trumbowyg-modal-box .trumbowyg-progress .trumbowyg-progress-bar {
|
||||
background: #2BC06A;
|
||||
height: 100%;
|
||||
-webkit-transition: width 0.15s linear;
|
||||
-o-transition: width 0.15s linear;
|
||||
transition: width 0.15s linear; }
|
||||
.trumbowyg-modal-box label {
|
||||
display: block;
|
||||
position: relative;
|
||||
margin: 15px 12px;
|
||||
height: 27px;
|
||||
line-height: 27px;
|
||||
overflow: hidden; }
|
||||
.trumbowyg-modal-box label .trumbowyg-input-infos {
|
||||
display: block;
|
||||
text-align: left;
|
||||
height: 25px;
|
||||
line-height: 25px;
|
||||
-webkit-transition: all 0.15;
|
||||
-o-transition: all 0.15;
|
||||
transition: all 0.15; }
|
||||
.trumbowyg-modal-box label .trumbowyg-input-infos span {
|
||||
display: block;
|
||||
color: #859fa5;
|
||||
background-color: #fbfcfc;
|
||||
border: 1px solid #DEDEDE;
|
||||
padding: 0 2%;
|
||||
width: 19.5%; }
|
||||
.trumbowyg-modal-box label .trumbowyg-input-infos span.trumbowyg-msg-error {
|
||||
color: #e74c3c; }
|
||||
.trumbowyg-modal-box label.trumbowyg-input-error input, .trumbowyg-modal-box label.trumbowyg-input-error textarea {
|
||||
border: 1px solid #e74c3c; }
|
||||
.trumbowyg-modal-box label.trumbowyg-input-error .trumbowyg-input-infos {
|
||||
margin-top: -27px; }
|
||||
.trumbowyg-modal-box label input {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
height: 25px;
|
||||
line-height: 25px;
|
||||
border: 1px solid #DEDEDE;
|
||||
background: transparent;
|
||||
width: 72%;
|
||||
padding: 0 2%;
|
||||
margin: 0 0 0 23%;
|
||||
-webkit-transition: all 0.15s;
|
||||
-o-transition: all 0.15s;
|
||||
transition: all 0.15s; }
|
||||
.trumbowyg-modal-box label input:hover, .trumbowyg-modal-box label input:focus {
|
||||
outline: none;
|
||||
border: 1px solid #95a5a6; }
|
||||
.trumbowyg-modal-box label input:focus {
|
||||
background: rgba(230, 230, 255, 0.1); }
|
||||
.trumbowyg-modal-box .error {
|
||||
margin-top: 25px;
|
||||
display: block;
|
||||
color: red; }
|
||||
.trumbowyg-modal-box .trumbowyg-modal-button {
|
||||
position: absolute;
|
||||
bottom: 10px;
|
||||
right: 0;
|
||||
text-decoration: none;
|
||||
color: #FFF;
|
||||
display: block;
|
||||
width: 100px;
|
||||
height: 35px;
|
||||
line-height: 33px;
|
||||
margin: 0 10px;
|
||||
background-color: #333;
|
||||
border: none;
|
||||
border-top: none;
|
||||
cursor: pointer;
|
||||
font-family: "Trebuchet MS", Helvetica, Verdana, sans-serif;
|
||||
font-size: 16px;
|
||||
-webkit-transition: all 0.15s;
|
||||
-o-transition: all 0.15s;
|
||||
transition: all 0.15s; }
|
||||
.trumbowyg-modal-box .trumbowyg-modal-button.trumbowyg-modal-submit {
|
||||
right: 110px;
|
||||
background: #2bc069; }
|
||||
.trumbowyg-modal-box .trumbowyg-modal-button.trumbowyg-modal-submit:hover, .trumbowyg-modal-box .trumbowyg-modal-button.trumbowyg-modal-submit:focus {
|
||||
background: #40d47d;
|
||||
outline: none; }
|
||||
.trumbowyg-modal-box .trumbowyg-modal-button.trumbowyg-modal-submit:active {
|
||||
background: #25a259; }
|
||||
.trumbowyg-modal-box .trumbowyg-modal-button.trumbowyg-modal-reset {
|
||||
color: #555;
|
||||
background: #e6e6e6; }
|
||||
.trumbowyg-modal-box .trumbowyg-modal-button.trumbowyg-modal-reset:hover, .trumbowyg-modal-box .trumbowyg-modal-button.trumbowyg-modal-reset:focus {
|
||||
background: #fbfbfb;
|
||||
outline: none; }
|
||||
.trumbowyg-modal-box .trumbowyg-modal-button.trumbowyg-modal-reset:active {
|
||||
background: #d4d4d4; }
|
||||
|
||||
.trumbowyg-overlay {
|
||||
position: absolute;
|
||||
background-color: rgba(255, 255, 255, 0.5);
|
||||
width: 100%;
|
||||
left: 0;
|
||||
display: none; }
|
||||
|
||||
/**
|
||||
* Fullscreen
|
||||
*/
|
||||
.trumbowyg-fullscreen {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
z-index: 99999; }
|
||||
.trumbowyg-fullscreen.trumbowyg-box, .trumbowyg-fullscreen .trumbowyg-editor {
|
||||
border: none; }
|
||||
.trumbowyg-fullscreen .trumbowyg-overlay {
|
||||
height: 100% !important; }
|
||||
|
||||
/*
|
||||
* Reset for resetCss option
|
||||
*/
|
||||
.trumbowyg-editor object, .trumbowyg-editor embed, .trumbowyg-editor video, .trumbowyg-editor img {
|
||||
width: auto;
|
||||
max-width: 100%; }
|
||||
.trumbowyg-editor video, .trumbowyg-editor img {
|
||||
height: auto; }
|
||||
.trumbowyg-editor img {
|
||||
cursor: move; }
|
||||
.trumbowyg-editor.trumbowyg-reset-css {
|
||||
background: #FEFEFE !important;
|
||||
font-family: "Trebuchet MS", Helvetica, Verdana, sans-serif !important;
|
||||
font-size: 14px !important;
|
||||
line-height: 1.45em !important;
|
||||
white-space: normal !important;
|
||||
color: #333; }
|
||||
.trumbowyg-editor.trumbowyg-reset-css a {
|
||||
color: #15c !important;
|
||||
text-decoration: underline !important; }
|
||||
.trumbowyg-editor.trumbowyg-reset-css div, .trumbowyg-editor.trumbowyg-reset-css p, .trumbowyg-editor.trumbowyg-reset-css ul, .trumbowyg-editor.trumbowyg-reset-css ol, .trumbowyg-editor.trumbowyg-reset-css blockquote {
|
||||
-webkit-box-shadow: none !important;
|
||||
box-shadow: none !important;
|
||||
background: none !important;
|
||||
margin: 0 !important;
|
||||
margin-bottom: 15px !important;
|
||||
line-height: 1.4em !important;
|
||||
font-family: "Trebuchet MS", Helvetica, Verdana, sans-serif !important;
|
||||
font-size: 14px !important;
|
||||
border: none; }
|
||||
.trumbowyg-editor.trumbowyg-reset-css iframe, .trumbowyg-editor.trumbowyg-reset-css object, .trumbowyg-editor.trumbowyg-reset-css hr {
|
||||
margin-bottom: 15px !important; }
|
||||
.trumbowyg-editor.trumbowyg-reset-css blockquote {
|
||||
margin-left: 32px !important;
|
||||
font-style: italic !important;
|
||||
color: #555; }
|
||||
.trumbowyg-editor.trumbowyg-reset-css ul, .trumbowyg-editor.trumbowyg-reset-css ol {
|
||||
padding-left: 20px !important; }
|
||||
.trumbowyg-editor.trumbowyg-reset-css ul ul, .trumbowyg-editor.trumbowyg-reset-css ol ol, .trumbowyg-editor.trumbowyg-reset-css ul ol, .trumbowyg-editor.trumbowyg-reset-css ol ul {
|
||||
border: none;
|
||||
margin: 2px !important;
|
||||
padding: 0 !important;
|
||||
padding-left: 24px !important; }
|
||||
.trumbowyg-editor.trumbowyg-reset-css hr {
|
||||
display: block;
|
||||
height: 1px;
|
||||
border: none;
|
||||
border-top: 1px solid #CCC; }
|
||||
.trumbowyg-editor.trumbowyg-reset-css h1, .trumbowyg-editor.trumbowyg-reset-css h2, .trumbowyg-editor.trumbowyg-reset-css h3, .trumbowyg-editor.trumbowyg-reset-css h4 {
|
||||
color: #111;
|
||||
background: none;
|
||||
margin: 0 !important;
|
||||
padding: 0 !important;
|
||||
font-weight: bold; }
|
||||
.trumbowyg-editor.trumbowyg-reset-css h1 {
|
||||
font-size: 32px !important;
|
||||
line-height: 38px !important;
|
||||
margin-bottom: 20px !important; }
|
||||
.trumbowyg-editor.trumbowyg-reset-css h2 {
|
||||
font-size: 26px !important;
|
||||
line-height: 34px !important;
|
||||
margin-bottom: 15px !important; }
|
||||
.trumbowyg-editor.trumbowyg-reset-css h3 {
|
||||
font-size: 22px !important;
|
||||
line-height: 28px !important;
|
||||
margin-bottom: 7px !important; }
|
||||
.trumbowyg-editor.trumbowyg-reset-css h4 {
|
||||
font-size: 16px !important;
|
||||
line-height: 22px !important;
|
||||
margin-bottom: 7px !important; }
|
||||
|
||||
/*
|
||||
* Buttons icons
|
||||
*/
|
||||
.trumbowyg-button-pane li button {
|
||||
display: block;
|
||||
position: relative;
|
||||
text-indent: -9999px;
|
||||
width: 35px;
|
||||
height: 35px;
|
||||
overflow: hidden;
|
||||
background: transparent url("./images/icons.png") no-repeat;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
-webkit-transition: background-color 0.15s, background-image 0.15s, opacity 0.15s;
|
||||
-o-transition: background-color 0.15s, background-image 0.15s, opacity 0.15s;
|
||||
transition: background-color 0.15s, background-image 0.15s, opacity 0.15s;
|
||||
/* English and others */ }
|
||||
.trumbowyg-button-pane li button.trumbowyg-viewHTML-button {
|
||||
background-position: 5px -545px; }
|
||||
.trumbowyg-button-pane li button.trumbowyg-formatting-button {
|
||||
background-position: 5px -120px; }
|
||||
.trumbowyg-button-pane li button.trumbowyg-bold-button, .trumbowyg-button-pane li button.trumbowyg-strong-button {
|
||||
background-position: 5px -45px; }
|
||||
.trumbowyg-button-pane li button.trumbowyg-italic-button, .trumbowyg-button-pane li button.trumbowyg-em-button {
|
||||
background-position: 5px 5px; }
|
||||
.trumbowyg-button-pane li button.trumbowyg-underline-button {
|
||||
background-position: 5px -470px; }
|
||||
.trumbowyg-button-pane li button.trumbowyg-strikethrough-button, .trumbowyg-button-pane li button.trumbowyg-del-button {
|
||||
background-position: 5px -445px; }
|
||||
.trumbowyg-button-pane li button.trumbowyg-link-button {
|
||||
background-position: 5px -345px; }
|
||||
.trumbowyg-button-pane li button.trumbowyg-insertImage-button {
|
||||
background-position: 5px -245px; }
|
||||
.trumbowyg-button-pane li button.trumbowyg-justifyLeft-button {
|
||||
background-position: 5px -320px; }
|
||||
.trumbowyg-button-pane li button.trumbowyg-justifyCenter-button {
|
||||
background-position: 5px -70px; }
|
||||
.trumbowyg-button-pane li button.trumbowyg-justifyRight-button {
|
||||
background-position: 5px -395px; }
|
||||
.trumbowyg-button-pane li button.trumbowyg-justifyFull-button {
|
||||
background-position: 5px -295px; }
|
||||
.trumbowyg-button-pane li button.trumbowyg-unorderedList-button {
|
||||
background-position: 5px -495px; }
|
||||
.trumbowyg-button-pane li button.trumbowyg-orderedList-button {
|
||||
background-position: 5px -370px; }
|
||||
.trumbowyg-button-pane li button.trumbowyg-horizontalRule-button {
|
||||
background-position: 5px -220px; }
|
||||
.trumbowyg-button-pane li button.trumbowyg-fullscreen-button {
|
||||
background-position: 5px -170px; }
|
||||
.trumbowyg-button-pane li button.trumbowyg-close-button {
|
||||
background-position: 5px -95px; }
|
||||
|
||||
.trumbowyg-fullscreen .trumbowyg-button-pane li button.trumbowyg-fullscreen-button {
|
||||
background-position: 5px -145px; }
|
||||
|
||||
.trumbowyg-button-pane li:first-child button {
|
||||
margin-left: 6px; }
|
||||
.trumbowyg-button-pane li:last-child button {
|
||||
margin-right: 6px; }
|
||||
|
||||
/* French */
|
||||
.trumbowyg-fr .trumbowyg-button-pane li button.trumbowyg-bold-button, .trumbowyg-fr .trumbowyg-button-pane li button.trumbowyg-strong-button {
|
||||
background-position: 5px -195px; }
|
||||
.trumbowyg-fr .trumbowyg-button-pane li button.trumbowyg-underline-button {
|
||||
background-position: 5px -420px; }
|
||||
.trumbowyg-fr .trumbowyg-button-pane li button.trumbowyg-strikethrough-button, .trumbowyg-fr .trumbowyg-button-pane li button.trumbowyg-del-button {
|
||||
background-position: 5px -270px; }
|
||||
|
||||
@media only screen and (-webkit-min-device-pixel-ratio: 1.3), only screen and (min--moz-device-pixel-ratio: 1.3), only screen and (-o-min-device-pixel-ratio: 4/3), only screen and (min-device-pixel-ratio: 1.3), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx) {
|
||||
/* French */
|
||||
.trumbowyg-button-pane li button {
|
||||
-webkit-background-size: 25px 575px !important;
|
||||
background-size: 25px 575px !important;
|
||||
background-image: url("./images/icons-2x.png") !important;
|
||||
/* English and others */ }
|
||||
.trumbowyg-button-pane li button.trumbowyg-viewHTML-button {
|
||||
background-position: 5px -545px; }
|
||||
.trumbowyg-button-pane li button.trumbowyg-formatting-button {
|
||||
background-position: 5px -120px; }
|
||||
.trumbowyg-button-pane li button.trumbowyg-bold-button, .trumbowyg-button-pane li button.trumbowyg-strong-button {
|
||||
background-position: 5px -45px; }
|
||||
.trumbowyg-button-pane li button.trumbowyg-italic-button, .trumbowyg-button-pane li button.trumbowyg-em-button {
|
||||
background-position: 5px 5px; }
|
||||
.trumbowyg-button-pane li button.trumbowyg-underline-button {
|
||||
background-position: 5px -470px; }
|
||||
.trumbowyg-button-pane li button.trumbowyg-strikethrough-button, .trumbowyg-button-pane li button.trumbowyg-del-button {
|
||||
background-position: 5px -445px; }
|
||||
.trumbowyg-button-pane li button.trumbowyg-link-button {
|
||||
background-position: 5px -345px; }
|
||||
.trumbowyg-button-pane li button.trumbowyg-insertImage-button {
|
||||
background-position: 5px -245px; }
|
||||
.trumbowyg-button-pane li button.trumbowyg-justifyLeft-button {
|
||||
background-position: 5px -320px; }
|
||||
.trumbowyg-button-pane li button.trumbowyg-justifyCenter-button {
|
||||
background-position: 5px -70px; }
|
||||
.trumbowyg-button-pane li button.trumbowyg-justifyRight-button {
|
||||
background-position: 5px -395px; }
|
||||
.trumbowyg-button-pane li button.trumbowyg-justifyFull-button {
|
||||
background-position: 5px -295px; }
|
||||
.trumbowyg-button-pane li button.trumbowyg-unorderedList-button {
|
||||
background-position: 5px -495px; }
|
||||
.trumbowyg-button-pane li button.trumbowyg-orderedList-button {
|
||||
background-position: 5px -370px; }
|
||||
.trumbowyg-button-pane li button.trumbowyg-horizontalRule-button {
|
||||
background-position: 5px -220px; }
|
||||
.trumbowyg-button-pane li button.trumbowyg-fullscreen-button {
|
||||
background-position: 5px -170px; }
|
||||
.trumbowyg-button-pane li button.trumbowyg-close-button {
|
||||
background-position: 5px -95px; }
|
||||
.trumbowyg-fullscreen .trumbowyg-button-pane li a.trumbowyg-fullscreen-button {
|
||||
background-position: 5px -145px; }
|
||||
.trumbowyg-fr .trumbowyg-button-pane li button.trumbowyg-bold-button, .trumbowyg-fr .trumbowyg-button-pane li button.trumbowyg-strong-button {
|
||||
background-position: 5px -195px; }
|
||||
.trumbowyg-fr .trumbowyg-button-pane li button.trumbowyg-underline-button {
|
||||
background-position: 5px -420px; }
|
||||
.trumbowyg-fr .trumbowyg-button-pane li button.trumbowyg-strikethrough-button, .trumbowyg-fr .trumbowyg-button-pane li button.trumbowyg-del-button {
|
||||
background-position: 5px -270px; } }
|
2
Scripts/trumbowyg/ui/trumbowyg.min.css
vendored
Normal file
2
Scripts/trumbowyg/ui/trumbowyg.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
|
@ -207,7 +207,11 @@
|
|||
|
||||
@section Scripts
|
||||
{
|
||||
@Scripts.Render("~/bundles/jqueryval");
|
||||
<script src="~/Scripts/trumbowyg/trumbowyg.min.js" type="text/javascript"></script>
|
||||
<link href="~/Scripts/trumbowyg/ui/trumbowyg.min.css" rel="stylesheet" type="text/css" />
|
||||
|
||||
@Scripts.Render("~/bundles/jqueryval")
|
||||
|
||||
<script>
|
||||
jQuery(function ($) {
|
||||
$.validator.addMethod('date',
|
||||
|
@ -228,6 +232,18 @@
|
|||
});
|
||||
|
||||
$(function () {
|
||||
var btnsGrps = $.trumbowyg.btnsGrps;
|
||||
|
||||
$("#@Html.IdFor(model => model.SourceDetails)").trumbowyg({
|
||||
semantic: true,
|
||||
autogrow: true,
|
||||
btns: ['viewHTML',
|
||||
'|', 'strong', 'em',
|
||||
'|', 'link',
|
||||
'|', btnsGrps.justify,
|
||||
'|', btnsGrps.lists]
|
||||
});
|
||||
|
||||
$("#quickpaste").change(function () {
|
||||
var regex = /([\d]{1,2})\.([\d]{1,2})\.([\d]{4,5})\.([\d]{1,5})\.([a-zA-Z0-9_]+?)\.(\d\d\d\d\d\d-\d\d\d\d)/;
|
||||
var result = regex.exec($("#quickpaste").val());
|
||||
|
|
|
@ -86,7 +86,7 @@
|
|||
<div class="form-group">
|
||||
@Html.LabelFor(model => model.SourceDetails, new { @class = "control-label col-sm-2" })
|
||||
<div class="col-sm-10">
|
||||
<p class="form-control-static">@Html.Raw(Html.DisplayFor(model => model.SourceDetails).ToHtmlString().Replace("\r\n", "<br />"))</p>
|
||||
<div class="form-control-static">@Html.Raw(Model.SourceDetails)</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -64,5 +64,5 @@
|
|||
|
||||
@section Scripts
|
||||
{
|
||||
@Scripts.Render("~/bundles/jqueryval");
|
||||
@Scripts.Render("~/bundles/jqueryval")
|
||||
}
|
|
@ -66,5 +66,5 @@
|
|||
|
||||
@section Scripts
|
||||
{
|
||||
@Scripts.Render("~/bundles/jqueryval");
|
||||
@Scripts.Render("~/bundles/jqueryval")
|
||||
}
|
|
@ -78,5 +78,5 @@
|
|||
|
||||
@section Scripts
|
||||
{
|
||||
@Scripts.Render("~/bundles/jqueryval");
|
||||
@Scripts.Render("~/bundles/jqueryval")
|
||||
}
|
82
Web.config
82
Web.config
|
@ -1,77 +1,85 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
For more information on how to configure your ASP.NET application, please visit
|
||||
http://go.microsoft.com/fwlink/?LinkId=301880
|
||||
-->
|
||||
<configuration>
|
||||
<appSettings>
|
||||
<add key="webpages:Version" value="3.0.0.0" />
|
||||
<add key="webpages:Enabled" value="false" />
|
||||
<add key="PreserveLoginUrl" value="true" />
|
||||
<add key="ClientValidationEnabled" value="true" />
|
||||
<add key="UnobtrusiveJavaScriptEnabled" value="true" />
|
||||
<add key="data:ServerHost" value="localhost" />
|
||||
<add key="data:ServerPort" value="6379" />
|
||||
<add key="data:ServerDB" value="1" />
|
||||
<add key="RouteDebugger:Enabled" value="false" />
|
||||
<add key="webpages:Version" value="3.0.0.0"/>
|
||||
<add key="webpages:Enabled" value="false"/>
|
||||
<add key="PreserveLoginUrl" value="true"/>
|
||||
<add key="ClientValidationEnabled" value="true"/>
|
||||
<add key="UnobtrusiveJavaScriptEnabled" value="true"/>
|
||||
<add key="data:ServerHost" value="localhost"/>
|
||||
<add key="data:ServerPort" value="6379"/>
|
||||
<add key="data:ServerDB" value="1"/>
|
||||
<add key="RouteDebugger:Enabled" value="false"/>
|
||||
</appSettings>
|
||||
<system.web>
|
||||
<compilation debug="true" targetFramework="4.5" />
|
||||
<httpRuntime targetFramework="4.5" />
|
||||
<trace enabled="false" requestLimit="40" pageOutput="true" />
|
||||
<sessionState cookieless="UseCookies" />
|
||||
<anonymousIdentification cookieless="UseCookies" enabled="false" />
|
||||
<compilation debug="true" targetFramework="4.5"/>
|
||||
<httpRuntime targetFramework="4.5"/>
|
||||
<trace enabled="false" requestLimit="40" pageOutput="true"/>
|
||||
<sessionState cookieless="UseCookies"/>
|
||||
<anonymousIdentification cookieless="UseCookies" enabled="false"/>
|
||||
<authentication mode="Forms">
|
||||
<forms loginUrl="/support/login/" cookieless="UseCookies" name="BuildFeedAuth" />
|
||||
<forms loginUrl="/support/login/" cookieless="UseCookies" name="BuildFeedAuth"/>
|
||||
</authentication>
|
||||
<membership defaultProvider="BuildFeedMemberProvider">
|
||||
<providers>
|
||||
<clear />
|
||||
<add name="BuildFeedMemberProvider" type="BuildFeed.Auth.RedisMembershipProvider" />
|
||||
<clear/>
|
||||
<add name="BuildFeedMemberProvider" type="BuildFeed.Auth.RedisMembershipProvider"/>
|
||||
</providers>
|
||||
</membership>
|
||||
<httpModules>
|
||||
<add name="ApplicationInsightsWebTracking" type="Microsoft.ApplicationInsights.Extensibility.Web.RequestTracking.WebRequestTrackingModule, Microsoft.ApplicationInsights.Extensibility.Web"/>
|
||||
</httpModules>
|
||||
</system.web>
|
||||
<runtime>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Microsoft.Diagnostics.Tracing.EventSource" publicKeyToken="B03F5F7F11D50A3A" culture="neutral"/>
|
||||
<bindingRedirect oldVersion="0.0.0.0-1.1.13.0" newVersion="1.1.13.0"/>
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Newtonsoft.Json" culture="neutral" publicKeyToken="30ad4fe6b2a6aeed" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
|
||||
<assemblyIdentity name="Newtonsoft.Json" culture="neutral" publicKeyToken="30ad4fe6b2a6aeed"/>
|
||||
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0"/>
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Web.Optimization" publicKeyToken="31bf3856ad364e35" />
|
||||
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="1.1.0.0" />
|
||||
<assemblyIdentity name="System.Web.Optimization" publicKeyToken="31bf3856ad364e35"/>
|
||||
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="1.1.0.0"/>
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930" />
|
||||
<assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35"/>
|
||||
<bindingRedirect oldVersion="0.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930"/>
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2" />
|
||||
<assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f" culture="neutral"/>
|
||||
<bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2"/>
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
|
||||
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
|
||||
<assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35"/>
|
||||
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0"/>
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
|
||||
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
|
||||
<assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35"/>
|
||||
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0"/>
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-5.2.2.0" newVersion="5.2.2.0" />
|
||||
<assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35"/>
|
||||
<bindingRedirect oldVersion="0.0.0.0-5.2.2.0" newVersion="5.2.2.0"/>
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
<system.webServer>
|
||||
<handlers>
|
||||
<remove name="ExtensionlessUrlHandler-Integrated-4.0" />
|
||||
<remove name="OPTIONSVerbHandler" />
|
||||
<remove name="TRACEVerbHandler" />
|
||||
<add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
|
||||
<remove name="ExtensionlessUrlHandler-Integrated-4.0"/>
|
||||
<remove name="OPTIONSVerbHandler"/>
|
||||
<remove name="TRACEVerbHandler"/>
|
||||
<add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0"/>
|
||||
</handlers>
|
||||
<modules>
|
||||
</modules>
|
||||
<urlCompression doDynamicCompression="true" />
|
||||
<urlCompression doDynamicCompression="true"/>
|
||||
<validation validateIntegratedModeConfiguration="false"/>
|
||||
</system.webServer>
|
||||
</configuration>
|
||||
|
|
|
@ -146,3 +146,9 @@ label, .control-label, .help-block, .checkbox, .radio
|
|||
{
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.trumbowyg-box.trumbowyg
|
||||
{
|
||||
margin: 0;
|
||||
width: 100%;
|
||||
}
|
|
@ -3,9 +3,10 @@
|
|||
<package id="Antlr" version="3.5.0.2" targetFramework="net45" />
|
||||
<package id="jQuery" version="2.1.1" targetFramework="net45" />
|
||||
<package id="jQuery.Validation" version="1.13.1" targetFramework="net45" />
|
||||
<package id="Microsoft.ApplicationInsights" version="0.11.1-build00694" targetFramework="net45" />
|
||||
<package id="Microsoft.ApplicationInsights.RuntimeTelemetry" version="0.11.1-build00694" targetFramework="net45" />
|
||||
<package id="Microsoft.ApplicationInsights.Web" version="0.11.1-build00694" targetFramework="net45" />
|
||||
<package id="Microsoft.ApplicationInsights" version="0.12.0-build17386" targetFramework="net45" />
|
||||
<package id="Microsoft.ApplicationInsights.PerformanceCollector" version="0.12.0-build17386" targetFramework="net45" />
|
||||
<package id="Microsoft.ApplicationInsights.RuntimeTelemetry" version="0.12.0-build17386" targetFramework="net45" />
|
||||
<package id="Microsoft.ApplicationInsights.Web" version="0.12.0-build17386" targetFramework="net45" />
|
||||
<package id="Microsoft.AspNet.Mvc" version="5.2.2" targetFramework="net45" />
|
||||
<package id="Microsoft.AspNet.Razor" version="3.2.2" targetFramework="net45" />
|
||||
<package id="Microsoft.AspNet.Web.Optimization" version="1.1.3" targetFramework="net45" />
|
||||
|
@ -14,10 +15,11 @@
|
|||
<package id="Microsoft.AspNet.WebApi.Core" version="5.2.2" targetFramework="net45" />
|
||||
<package id="Microsoft.AspNet.WebApi.WebHost" version="5.2.2" targetFramework="net45" />
|
||||
<package id="Microsoft.AspNet.WebPages" version="3.2.2" targetFramework="net45" />
|
||||
<package id="Microsoft.Bcl" version="1.1.8" targetFramework="net45" />
|
||||
<package id="Microsoft.Bcl" version="1.1.9" targetFramework="net45" />
|
||||
<package id="Microsoft.Bcl.Async" version="1.0.168" targetFramework="net45" />
|
||||
<package id="Microsoft.Bcl.Build" version="1.0.14" targetFramework="net45" />
|
||||
<package id="Microsoft.Diagnostics.Tracing.EventSource.Redist" version="1.0.24" targetFramework="net45" />
|
||||
<package id="Microsoft.Bcl.Build" version="1.0.21" targetFramework="net45" />
|
||||
<package id="Microsoft.Diagnostics.Instrumentation.Extensions.Intercept" version="0.12.0-build02810" targetFramework="net45" />
|
||||
<package id="Microsoft.Diagnostics.Tracing.EventSource.Redist" version="1.1.13-beta" targetFramework="net45" />
|
||||
<package id="Microsoft.jQuery.Unobtrusive.Validation" version="3.2.2" targetFramework="net45" />
|
||||
<package id="Microsoft.Web.Infrastructure" version="1.0.0.0" targetFramework="net45" />
|
||||
<package id="Newtonsoft.Json" version="6.0.6" targetFramework="net45" />
|
||||
|
|
Loading…
Reference in New Issue
Block a user