Notify: fixed textile

This commit is contained in:
pavelbannov 2019-09-25 17:25:28 +03:00
parent 6840945d00
commit adc6dc801e
3 changed files with 189 additions and 0 deletions

View File

@ -19,6 +19,10 @@
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<NoWarn>1701;1702;NU1701</NoWarn>
</PropertyGroup>
<ItemGroup>
<EmbeddedResource Include="Resources\master.htm" />
<EmbeddedResource Include="Resources\style.css" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\ASC.Common\ASC.Common.csproj" />
<ProjectReference Include="..\ASC.Core.Common\ASC.Core.Common.csproj" />

View File

@ -0,0 +1,57 @@
<body style="margin: 0; padding: 0; text-align: center; width: 100%; font-family: Arial, sans-serif; font-size: 14px; color: #333;">
<div id="common_style" style="background-image: url('https://static.onlyoffice.com/media/newsletters/images/header_05.jpg'); background-repeat: no-repeat; background-color: #09669C; width: 680px; margin: 20px auto; text-align: left;">
<table background="https://static.onlyoffice.com/media/newsletters/images/header_05.jpg" cellpadding="0" cellspacing="0" style="background-repeat: no-repeat; background-position: 0 0; margin: 0; border-spacing: 0; empty-cells: show;">
<tbody>
<tr style="height: 130px;">
<td style="width: 510px; height: 130px; margin: 0; padding: 0; vertical-align: top;"><a style="text-decoration: none; margin: 0; padding: 0;" href="http://www.teamlab.com/"><img style="border: 0; margin: 0; padding: 0; color: #fff; font-size: 26px; font-weight: 700; width: 510px; height: 110px; display: block;" alt="TeamLab Office" src=%LOGO% /></a></td>
<td style="width: 170px; height: 130px;"><div style="width: 170px; height: 130px;"></div></td>
</tr>
</tbody>
</table>
<div id="content">
<table cellpadding="0" cellspacing="0" style="margin: 0; border-spacing: 0; empty-cells: show; word-wrap: break-word;">
<tbody>
<tr style="height: 20px">
<td style="width: 40px" colspan="2"><div style="width: 40px; height: 20px;"></div></td>
<td style="width: 600px; background-color: #fff;"><div style="width: 600px; height: 20px;"></div></td>
<td style="width: 40px" colspan="2"><div style="width: 40px; height: 20px;"></div></td>
</tr>
<tr>
<td style="width: 33px"><div style="width: 33px;"></div></td>
<td style="width: 7px; background-color: #38A4E2"><div style="width: 7px;"></div></td>
<td style="width: 600px; background-color: #fff;">
<div style="font-family: Arial; font-size: 14px; color: #333; background-color: #fff; padding: 5px 30px 10px 30px; width: 540px; overflow: hidden; word-wrap: break-word;">
%CONTENT%
</div>
</td>
<td style="width: 7px; background-color: #38A4E2"><div style="width: 7px;"></div></td>
<td style="width: 33px"><div style="width: 33px;"></div></td>
</tr>
</tbody>
</table>
%FOOTER%
<table cellspacing="0" cellpadding="0" style="margin: 0; border-spacing: 0; empty-cells: show;">
<tbody>
<tr style="height: 10px; background-color: #004b75;">
<td colspan="2" style="width: 40px; background-color: #004b75;">
<div style="width: 40px; height: 10px;"></div>
</td>
<td colspan="3" style="width: 600px; background-color: #fff;">
<div style="width: 600px; height: 10px;"></div>
</td>
<td colspan="2" style="width: 40px; background-color: #004b75;">
<div style="width: 40px; height: 10px;"></div>
</td>
</tr>
</tbody>
</table>
<table cellpadding="0" cellspacing="0" background="https://static.onlyoffice.com/media/newsletters/images/footer1.jpg" style="background-position: 0 0; background-repeat: repeat-y; background-color: #004b75; margin: 0; padding: 0; border: 0; border-collapse: collapse; empty-cells: show; border-spacing: 0;">
<tr>
<td style="font-family: Arial; width: 680px; height: 58px; font-size: 11px; vertical-align: top; margin: 0; padding: 0;">
<p style="font-family: Arial; font-size: 11px; color: #6ea5c5; margin: 11px 40px 10px; height: 38px; text-align: center; padding: 0 30px;">%TEXTFOOTER%</p>
</td>
</tr>
</table>
</div>
</div>
</body>

View File

@ -0,0 +1,128 @@
/*
*
* (c) Copyright Ascensio System Limited 2010-2018
*
* This program is freeware. You can redistribute it and/or modify it under the terms of the GNU
* General Public License (GPL) version 3 as published by the Free Software Foundation (https://www.gnu.org/copyleft/gpl.html).
* In accordance with Section 7(a) of the GNU GPL its Section 15 shall be amended to the effect that
* Ascensio System SIA expressly excludes the warranty of non-infringement of any third-party rights.
*
* THIS PROGRAM IS DISTRIBUTED WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY OR
* FITNESS FOR A PARTICULAR PURPOSE. For more details, see GNU GPL at https://www.gnu.org/copyleft/gpl.html
*
* You can contact Ascensio System SIA by email at sales@onlyoffice.com
*
* The interactive user interfaces in modified source and object code versions of ONLYOFFICE must display
* Appropriate Legal Notices, as required under Section 5 of the GNU GPL version 3.
*
* Pursuant to Section 7 § 3(b) of the GNU GPL you must retain the original ONLYOFFICE logo which contains
* relevant author attributions when distributing the software. If the display of the logo in its graphic
* form is not reasonably feasible for technical reasons, you must include the words "Powered by ONLYOFFICE"
* in every copy of the program you distribute.
* Pursuant to Section 7 § 3(e) we decline to grant you any rights under trademark law for use of our trademarks.
*
*/
h1
{
color: #333333;
font-size: 18px;
font-weight: bold;
margin: 0;
}
h2
{
color: #333333;
font-size: 16px;
font-weight: bold;
}
h3
{
color: #333333;
font-size: 14px;
font-weight: bold;
}
h4
{
color: #83888d;
font-size: 16px;
font-weight: normal;
}
p
{
font-size: 14px;
line-height: 18px;
margin-top: 20px;
word-wrap: break-word !important;
}
ol li, ul li {
font-size: 14px;
line-height: 18px;
}
a, p a
{
color: #0078BD !important;
word-wrap: break-word !important;
}
strong
{
font-size: 14px;
font-weight: bold;
margin-top: 5px;
}
img {
max-width: 560px;
width: auto;
height: auto;
min-height: 1px;
}
.footer
{
margin-top: 40px;
color: #a3a3a3;
font-size: 11px;
}
td
{
padding: 6px;
margin: 0;
}
.edit_request
{
border-collapse: collapse;
width: 100%;
}
.edit_request_column
{
color: rgb(130, 135, 141);
font-size: 12px;
text-align: left;
}
.edit_request_title
{
text-align: right;
font-weight: bold;
}
.edit_request_data
{
border: 1px solid #D1D1D1;
}
a:-webkit-any-link {
color: #0078BD;
word-wrap: break-word !important;
}