#446 removing w3tooltips
This commit is contained in:
parent
2b853509a5
commit
446ed3013c
@ -39,16 +39,16 @@ else
|
||||
<p>
|
||||
@if (Model.Comment.MyComment)
|
||||
{
|
||||
<a role="button" onclick="deleteMyComment(@Model.Comment.Id, '@Model.Comment.CoupletIndex')" class="w3tooltip"><i class="notranslate pageicons">delete</i><span class="w3tooltiptext">حذف حاشیه</span></a>
|
||||
<a role="button" onclick="editMyComment(@Model.Comment.Id, '@Model.Comment.CoupletIndex')" class="w3tooltip"><i class="notranslate pageicons">edit</i><span class="w3tooltiptext">ویرایش حاشیه</span></a>
|
||||
<a role="button" title="حذف حاشیه" onclick="deleteMyComment(@Model.Comment.Id, '@Model.Comment.CoupletIndex')"><i class="notranslate pageicons">delete</i></a>
|
||||
<a role="button" title="ویرایش حاشیه" onclick="editMyComment(@Model.Comment.Id, '@Model.Comment.CoupletIndex')"><i class="notranslate pageicons">edit</i></a>
|
||||
}
|
||||
|
||||
<a role="button" onclick="replyComment(@Model.Comment.Id, @(Model.LoggedIn ? "true" : "false"), '@Model.DivSuffix')" class="w3tooltip"><i class="notranslate pageicons">reply</i><span class="w3tooltiptext">پاسخگویی به این حاشیه</span></a>
|
||||
<a href="/ReportComment/?CommentId=@Model.Comment.Id" onclick="wpopen(this.href); return false" class="w3tooltip"><i class="notranslate pageicons">flag</i><span class="w3tooltiptext">گزارش حاشیهٔ نامناسب</span></a>
|
||||
<a role="button" onclick="copyCommentUrl(@Model.Comment.Id, '@Model.DivSuffix')" class="w3tooltip"><i class="notranslate pageicons">link</i><span class="w3tooltiptext" id="copycommentlink-tooltip-@Model.Comment.Id@Model.DivSuffix">رونوشت نشانی حاشیه</span></a>
|
||||
<a role="button" title="پاسخگویی به این حاشیه" onclick="replyComment(@Model.Comment.Id, @(Model.LoggedIn ? "true" : "false"), '@Model.DivSuffix')"><i class="notranslate pageicons">reply</i></a>
|
||||
<a href="/ReportComment/?CommentId=@Model.Comment.Id" title="گزارش حاشیهٔ نامناسب" onclick="wpopen(this.href); return false"><i class="notranslate pageicons">flag</i></a>
|
||||
<a role="button" href="رونوشت نشانی حاشیه" onclick="copyCommentUrl(@Model.Comment.Id, '@Model.DivSuffix')"><i class="notranslate pageicons">link</i></a>
|
||||
@if (Model.LoggedIn)
|
||||
{
|
||||
<a role="button" id="bookmark-comment-@Model.Comment.Id@Model.DivSuffix" class="w3tooltip cursor-pointer" onclick="switchBookmark(@Model.PoemId, -@Model.Comment.Id, '@Model.DivSuffix')"><i class="notranslate pageicons" id="bookmark-icon-comment-@Model.Comment.Id@Model.DivSuffix">@(@Model.Comment.IsBookmarked ? "star" : "star_border")</i><span class="w3tooltiptext">نشان کردن / حذف نشان</span></a>
|
||||
<a role="button" href="نشان کردن / حذف نشان" id="bookmark-comment-@Model.Comment.Id@Model.DivSuffix" class="cursor-pointer" onclick="switchBookmark(@Model.PoemId, -@Model.Comment.Id, '@Model.DivSuffix')"><i class="notranslate pageicons" id="bookmark-icon-comment-@Model.Comment.Id@Model.DivSuffix">@(@Model.Comment.IsBookmarked ? "star" : "star_border")</i></a>
|
||||
}
|
||||
</p>
|
||||
<div class='spacer'> </div>
|
||||
|
||||
@ -252,7 +252,7 @@
|
||||
برای بارگذاری خوانشها کلیک کنید.
|
||||
</div>
|
||||
<div class="century" style="display:none" id="recitations-section-controller">
|
||||
خوانشها <a role="button" class="w3tooltip cursor-pointer" onclick="switch_section('recitations-section', 'recitations-section-collapse-button')"><i class="notranslate info-buttons expand_circle_down" id="recitations-section-collapse-button"></i><span class="w3tooltiptext">جمع شود / باز شود</span></a>
|
||||
خوانشها <a role="button" title="جمع شود / باز شود" class="cursor-pointer" onclick="switch_section('recitations-section', 'recitations-section-collapse-button')"><i class="notranslate info-buttons expand_circle_down" id="recitations-section-collapse-button"></i></a>
|
||||
</div>
|
||||
<div id="recitations-section">
|
||||
</div>
|
||||
@ -264,7 +264,7 @@
|
||||
<div class="related-images-frame" id="photos-section">
|
||||
|
||||
<div class="century">
|
||||
تصویر چهره <a role="button" class="w3tooltip cursor-pointer" onclick="switch_section('face-photo', 'face-photo-collapse-button')"><i class="notranslate info-buttons expand_circle_down" id="face-photo-collapse-button"></i><span class="w3tooltiptext">جمع شود / باز شود</span></a>
|
||||
تصویر چهره <a role="button" title="جمع شود / باز شود" class="cursor-pointer" onclick="switch_section('face-photo', 'face-photo-collapse-button')"><i class="notranslate info-buttons expand_circle_down" id="face-photo-collapse-button"></i></a>
|
||||
</div>
|
||||
|
||||
<div id="face-photo">
|
||||
@ -307,7 +307,7 @@
|
||||
<div class="related-images-frame" id="papersources-section">
|
||||
|
||||
<div class="century">
|
||||
منابع کاغذی <a role="button" class="w3tooltip cursor-pointer" onclick="switch_section('papersources', 'papersources-collapse-button')"><i class="notranslate info-buttons expand_circle_down" id="papersources-collapse-button"></i><span class="w3tooltiptext">جمع شود / باز شود</span></a>
|
||||
منابع کاغذی <a role="button" title="جمع شود / باز شود" class="cursor-pointer" onclick="switch_section('papersources', 'papersources-collapse-button')"><i class="notranslate info-buttons expand_circle_down" id="papersources-collapse-button"></i></a>
|
||||
</div>
|
||||
|
||||
<div id="papersources">
|
||||
@ -380,7 +380,7 @@
|
||||
|
||||
<div class="related-images-frame" id="tools">
|
||||
<div class="century">
|
||||
اطلاعات <a role="button" class="w3tooltip cursor-pointer" onclick="switch_section('tools-section', 'tools-collapse-button')"><i class="notranslate info-buttons expand_circle_down" id="tools-collapse-button"></i><span class="w3tooltiptext">جمع شود / باز شود</span></a>
|
||||
اطلاعات <a role="button" title="جمع شود / باز شود" class="cursor-pointer" onclick="switch_section('tools-section', 'tools-collapse-button')"><i class="notranslate info-buttons expand_circle_down" id="tools-collapse-button"></i></a>
|
||||
</div>
|
||||
<div id="tools-section">
|
||||
<p>
|
||||
@ -459,11 +459,10 @@
|
||||
</p>
|
||||
@if (Model.LoggedIn)
|
||||
{
|
||||
<a href="/User/Editor?id=@Model.GanjoorPage.Id#summaries" role="button" class="w3tooltip cursor-pointer">
|
||||
<a href="/User/Editor?id=@Model.GanjoorPage.Id#summaries" role="button" class="cursor-pointer" title="ویرایش">
|
||||
<div class="circled-number">
|
||||
<i class="notranslate noindent-info-button edit-poem-button"></i>
|
||||
</div>
|
||||
<span class="w3tooltiptext">ویرایش</span>
|
||||
</a>
|
||||
}
|
||||
</div>
|
||||
@ -517,11 +516,10 @@
|
||||
<p>@Model.GanjoorPage.Poem.Verses[verseIndex].CoupletSummary</p>
|
||||
@if (Model.LoggedIn)
|
||||
{
|
||||
<a href="@($"/User/Editor?id={Model.GanjoorPage.Id}#summary-{Model.GanjoorPage.Poem.Verses[verseIndex].VOrder}")" role="button" class="w3tooltip cursor-pointer">
|
||||
<a href="@($"/User/Editor?id={Model.GanjoorPage.Id}#summary-{Model.GanjoorPage.Poem.Verses[verseIndex].VOrder}")" role="button" class="cursor-pointer" title="ویرایش">
|
||||
<div class="circled-number">
|
||||
<i class="notranslate noindent-info-button edit-poem-button"></i>
|
||||
</div>
|
||||
<span class="w3tooltiptext">ویرایش</span>
|
||||
</a>
|
||||
}
|
||||
</div>
|
||||
@ -538,13 +536,13 @@
|
||||
@if (!string.IsNullOrEmpty(Model.GanjoorPage.PoetOrCat.Cat.MapName))
|
||||
{
|
||||
<div class="century">
|
||||
@Model.GanjoorPage.PoetOrCat.Cat.MapName <a role="button" class="w3tooltip cursor-pointer" onclick="switch_section('catmap', 'catmap-collapse-button')"><i class="notranslate info-buttons expand_circle_down" id="catmap-collapse-button"></i><span class="w3tooltiptext">جمع شود / باز شود</span></a>
|
||||
@Model.GanjoorPage.PoetOrCat.Cat.MapName <a role="button" title="جمع شود / باز شود" class="cursor-pointer" onclick="switch_section('catmap', 'catmap-collapse-button')"><i class="notranslate info-buttons expand_circle_down" id="catmap-collapse-button"></i></a>
|
||||
</div>
|
||||
}
|
||||
else
|
||||
{
|
||||
<div class="century">
|
||||
جایها <a role="button" class="w3tooltip cursor-pointer" onclick="switch_section('catmap', 'catmap-collapse-button')"><i class="notranslate info-buttons expand_circle_down" id="catmap-collapse-button"></i><span class="w3tooltiptext">جمع شود / باز شود</span></a>
|
||||
جایها <a role="button" title="جمع شود / باز شود" class="cursor-pointer" onclick="switch_section('catmap', 'catmap-collapse-button')"><i class="notranslate info-buttons expand_circle_down" id="catmap-collapse-button"></i></a>
|
||||
</div>
|
||||
}
|
||||
|
||||
@ -557,7 +555,7 @@
|
||||
@if (Model.GanjoorPage.Poem.Images.Length > 0)
|
||||
{
|
||||
<div class="century">
|
||||
تصاویر مرتبط در <a href="https://museum.ganjoor.net">گنجینهٔ گنجور</a> و <a href="https://naskban.ir">نسکبان</a> <a role="button" class="w3tooltip cursor-pointer" onclick="switch_section('images-section', 'images-collapse-button')"><i class="notranslate info-buttons expand_circle_down" id="images-collapse-button"></i><span class="w3tooltiptext">جمع شود / باز شود</span></a>
|
||||
تصاویر مرتبط در <a href="https://museum.ganjoor.net">گنجینهٔ گنجور</a> و <a href="https://naskban.ir">نسکبان</a> <a role="button" class="cursor-pointer" title="جمع شود / باز شود" onclick="switch_section('images-section', 'images-collapse-button')"><i class="notranslate info-buttons expand_circle_down" id="images-collapse-button"></i></a>
|
||||
</div>
|
||||
<div id="images-section">
|
||||
<div class="related-images">
|
||||
@ -618,7 +616,7 @@
|
||||
{
|
||||
<div class="related-images-frame" id="recitations">
|
||||
<div class="century">
|
||||
@(Model.GanjoorPage.Poem.Recitations.Where(a => a.RecitationType == RMuseum.Models.GanjoorAudio.RecitationType.Normal).Count() > 1 ? "خوانشها" : "خوانش") <a role="button" class="w3tooltip cursor-pointer" onclick="switch_section('recitations-section', 'recitations-collapse-button')"><i class="notranslate info-buttons expand_circle_down" id="recitations-collapse-button"></i><span class="w3tooltiptext">جمع شود / باز شود</span></a>
|
||||
@(Model.GanjoorPage.Poem.Recitations.Where(a => a.RecitationType == RMuseum.Models.GanjoorAudio.RecitationType.Normal).Count() > 1 ? "خوانشها" : "خوانش") <a role="button" title="جمع شود / باز شود" class="cursor-pointer" onclick="switch_section('recitations-section', 'recitations-collapse-button')"><i class="notranslate info-buttons expand_circle_down" id="recitations-collapse-button"></i></a>
|
||||
</div>
|
||||
<div id="recitations-section">
|
||||
<partial name="_AudioPlayerPartial" model=@Model.GetRecitationsModel(Model.GanjoorPage.Poem.Recitations, false, RMuseum.Models.GanjoorAudio.RecitationType.Normal, Model.CanEdit) />
|
||||
@ -630,7 +628,7 @@
|
||||
{
|
||||
<div class="related-images-frame" id="commentaries">
|
||||
<div class="century">
|
||||
@(Model.GanjoorPage.Poem.Recitations.Where(a => a.RecitationType == RMuseum.Models.GanjoorAudio.RecitationType.Commentary).Count() > 1 ? "شرحهای صوتی" : "شرح صوتی") <a role="button" class="w3tooltip cursor-pointer" onclick="switch_section('commentaries-section', 'commentaries-collapse-button')"><i class="notranslate info-buttons expand_circle_down" id="commentaries-collapse-button"></i><span class="w3tooltiptext">جمع شود / باز شود</span></a>
|
||||
@(Model.GanjoorPage.Poem.Recitations.Where(a => a.RecitationType == RMuseum.Models.GanjoorAudio.RecitationType.Commentary).Count() > 1 ? "شرحهای صوتی" : "شرح صوتی") <a role="button" title="جمع شود / باز شود" class="cursor-pointer" onclick="switch_section('commentaries-section', 'commentaries-collapse-button')"><i class="notranslate info-buttons expand_circle_down" id="commentaries-collapse-button"></i></a>
|
||||
</div>
|
||||
<div id="commentaries-section">
|
||||
<partial name="_AudioPlayerPartial" model=@Model.GetRecitationsModel(Model.GanjoorPage.Poem.Recitations, false, RMuseum.Models.GanjoorAudio.RecitationType.Commentary, Model.CanEdit) />
|
||||
@ -642,7 +640,7 @@
|
||||
{
|
||||
<div class="related-images-frame" id="qpoems">
|
||||
<div class="century">
|
||||
مشق شعر <a role="button" class="w3tooltip cursor-pointer" onclick="switch_section('qpoems-section', 'qpoems-collapse-button')"><i class="notranslate info-buttons expand_circle_down" id="qpoems-collapse-button"></i><span class="w3tooltiptext">جمع شود / باز شود</span></a>
|
||||
مشق شعر <a role="button" title="جمع شود / باز شود" class="cursor-pointer" onclick="switch_section('qpoems-section', 'qpoems-collapse-button')"><i class="notranslate info-buttons expand_circle_down" id="qpoems-collapse-button"></i></a>
|
||||
</div>
|
||||
<div id="qpoems-section">
|
||||
@for (int i = 0; i < Math.Min(5, Model.GanjoorPage.Poem.Top6QuotedPoems.Length); i++)
|
||||
@ -673,7 +671,7 @@
|
||||
{
|
||||
<div class="related-images-frame" id="rpoems">
|
||||
<div class="century">
|
||||
موارد هم آهنگ <a role="button" class="w3tooltip cursor-pointer" onclick="switch_section('rpoems-section', 'rpoems-collapse-button')"><i class="notranslate info-buttons expand_circle_down" id="rpoems-collapse-button"></i><span class="w3tooltiptext">جمع شود / باز شود</span></a>
|
||||
موارد هم آهنگ <a role="button" title="جمع شود / باز شود" class="cursor-pointer" onclick="switch_section('rpoems-section', 'rpoems-collapse-button')"><i class="notranslate info-buttons expand_circle_down" id="rpoems-collapse-button"></i></a>
|
||||
</div>
|
||||
<div id="rpoems-section">
|
||||
@foreach (var s in Model.SectionsWithRelated)
|
||||
@ -736,7 +734,7 @@
|
||||
{
|
||||
<div class="related-songs" id="songs">
|
||||
<div class="century">
|
||||
این شعر را چه کسی در کدام آهنگ خوانده است؟ <a role="button" class="w3tooltip cursor-pointer" onclick="switch_section('songs-section', 'songs-collapse-button')"><i class="notranslate info-buttons expand_circle_down" id="songs-collapse-button"></i><span class="w3tooltiptext">جمع شود / باز شود</span></a>
|
||||
این شعر را چه کسی در کدام آهنگ خوانده است؟ <a role="button" title="جمع شود / باز شود" class="cursor-pointer" onclick="switch_section('songs-section', 'songs-collapse-button')"><i class="notranslate info-buttons expand_circle_down" id="songs-collapse-button"></i></a>
|
||||
</div>
|
||||
<div id="songs-section">
|
||||
@foreach (var song in Model.GanjoorPage.Poem.Songs)
|
||||
@ -767,7 +765,7 @@
|
||||
<div class="related-images-frame" id="discussions">
|
||||
|
||||
<div class="century">
|
||||
حاشیهها <a role="button" class="w3tooltip cursor-pointer" onclick="switch_section('comments-section', 'comments-collapse-button')"><i class="notranslate info-buttons expand_circle_down" id="comments-collapse-button"></i><span class="w3tooltiptext">جمع شود / باز شود</span></a>
|
||||
حاشیهها <a role="button" title="جمع شود / باز شود" class="cursor-pointer" onclick="switch_section('comments-section', 'comments-collapse-button')"><i class="notranslate info-buttons expand_circle_down" id="comments-collapse-button"></i></a>
|
||||
</div>
|
||||
|
||||
<div id="comments-section">
|
||||
@ -921,13 +919,13 @@
|
||||
@if (!string.IsNullOrEmpty(Model.GanjoorPage.PoetOrCat.Cat.MapName))
|
||||
{
|
||||
<div class="century">
|
||||
@Model.GanjoorPage.PoetOrCat.Cat.MapName <a role="button" class="w3tooltip cursor-pointer" onclick="switch_section('catmap', 'catmap-collapse-button')"><i class="notranslate info-buttons expand_circle_down" id="catmap-collapse-button"></i><span class="w3tooltiptext">جمع شود / باز شود</span></a>
|
||||
@Model.GanjoorPage.PoetOrCat.Cat.MapName <a role="button" title="جمع شود / باز شود" class="cursor-pointer" onclick="switch_section('catmap', 'catmap-collapse-button')"><i class="notranslate info-buttons expand_circle_down" id="catmap-collapse-button"></i></a>
|
||||
</div>
|
||||
}
|
||||
else
|
||||
{
|
||||
<div class="century">
|
||||
جایها <a role="button" class="w3tooltip cursor-pointer" onclick="switch_section('catmap', 'catmap-collapse-button')"><i class="notranslate info-buttons expand_circle_down" id="catmap-collapse-button"></i><span class="w3tooltiptext">جمع شود / باز شود</span></a>
|
||||
جایها <a role="button" title="جمع شود / باز شود" class="cursor-pointer" onclick="switch_section('catmap', 'catmap-collapse-button')"><i class="notranslate info-buttons expand_circle_down" id="catmap-collapse-button"></i></a>
|
||||
</div>
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user