Skip to content

Commit

Permalink
افزودن آیکون تصحیح کنار نام سرویس ها
Browse files Browse the repository at this point in the history
  • Loading branch information
amirshnll committed Jul 2, 2021
1 parent 2150d85 commit aa83c28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,6 @@ <h4>راهنمای استفاده</h4>
</footer>
<script src=https://code.jquery.com/jquery-3.6.0.min.js integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin=anonymous></script>
<script src=https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/js/bootstrap.bundle.min.js integrity=sha384-gtEjrD/SeCtmISkJkNUaaKMoLD0//ElJ19smozuHV6z3Iehds+3Ulb9Bn9Plx0x4 crossorigin=anonymous></script>
<script>function readTextFile(a,t){"use strict";var e=new XMLHttpRequest;e.overrideMimeType("application/json"),e.open("GET",a,!0),e.onreadystatechange=function(){4===e.readyState&&"200"==e.status&&t(e.responseText)},e.send(null)}document.getElementById("copyrightyear").innerHTML=(new Date).getFullYear(),readTextFile("https://rtbf.ir/assets/data/data.json",function(a){for(var t=JSON.parse(a),e=t.length-1;e>=0;e--)"#"==t[e].deleteurl?$(".myitems").append('<div class="float-right"><div class="card"><div class="card-body"><h5 class="card-title"><a target="_blank" class="text-dark" rel="nofollow" title="سایت '+t[e].name+'" href="'+t[e].website+'">'+t[e].name+'</a></h5><p class="card-text">'+t[e].info+'</p><div class="gap-card"></div><div><p class="card-opt"><a class="btn btn-'+t[e].keytype+'">'+t[e].difficulty+"</a></p></div></div></div></div>"):$(".myitems").append('<div class="float-right"><div class="card"><div class="card-body"><h5 class="card-title"><a target="_blank" class="text-dark" rel="nofollow" title="سایت '+t[e].name+'" href="'+t[e].website+'">'+t[e].name+'</a></h5><p class="card-text">'+t[e].info+'</p><div class="gap-card"></div><div><p class="card-opt card-opt90"><a class="btn btn-'+t[e].keytype+'">'+t[e].difficulty+'</a>&nbsp;<a target="_blank" rel="nofollow" href="'+t[e].deleteurl+'" class="btn btn-dark"><span class="fa fa-1x fa-trash"></span> &nbsp;حذف حساب کاربری</a></p></div></div></div></div>');$(".myitems").append('<div class="float-right"><a target="_blank" class="text-light" href="https://github.com/amirshnll/rtbf.ir/issues/new/choose" rel="nofollow" title="افزودن سایت/سرویس به لیست"><div class="card bg-success text-light text-center"><div class="card-body"><span class="display-1 plus-service">+</span></div></a></div>')});</script>
<script>function readTextFile(a,t){"use strict";var e=new XMLHttpRequest;e.overrideMimeType("application/json"),e.open("GET",a,!0),e.onreadystatechange=function(){4===e.readyState&&"200"==e.status&&t(e.responseText)},e.send(null)}document.getElementById("copyrightyear").innerHTML=(new Date).getFullYear(),readTextFile("https://rtbf.ir/assets/data/data.json",function(a){for(var t=JSON.parse(a),e=t.length-1;e>=0;e--)"#"==t[e].deleteurl?$(".myitems").append('<div class="float-right"><div class="card"><div class="card-body"><h5 class="card-title"><a target="_blank" class="text-dark" rel="nofollow" title="سایت '+t[e].name+'" href="'+t[e].website+'">'+t[e].name+'</a>&nbsp;<a href="https://github.com/amirshnll/rtbf.ir/issues/new/choose" style="font-size:12px;" class="text-warning" title="اطلاعات این بخش اشتباه است قصد اصلاح دارم"><small><span class="fas fa-1x fa-bolt"></span> تصحیح<small></a></h5><p class="card-text">'+t[e].info+'</p><div class="gap-card"></div><div><p class="card-opt"><a class="btn btn-'+t[e].keytype+'">'+t[e].difficulty+"</a></p></div></div></div></div>"):$(".myitems").append('<div class="float-right"><div class="card"><div class="card-body"><h5 class="card-title"><a target="_blank" class="text-dark" rel="nofollow" title="سایت '+t[e].name+'" href="'+t[e].website+'">'+t[e].name+'</a>&nbsp;<a href="https://github.com/amirshnll/rtbf.ir/issues/new/choose" style="font-size:12px;" class="text-warning" title="اطلاعات این بخش اشتباه است قصد اصلاح دارم"><small><span class="fas fa-1x fa-bolt"></span> تصحیح<small></a></h5><p class="card-text">'+t[e].info+'</p><div class="gap-card"></div><div><p class="card-opt card-opt90"><a class="btn btn-'+t[e].keytype+'">'+t[e].difficulty+'</a>&nbsp;<a target="_blank" rel="nofollow" href="'+t[e].deleteurl+'" class="btn btn-dark"><span class="fa fa-1x fa-trash"></span> &nbsp;حذف حساب کاربری</a></p></div></div></div></div>');$(".myitems").append('<div class="float-right"><a target="_blank" class="text-light" href="https://github.com/amirshnll/rtbf.ir/issues/new/choose" rel="nofollow" title="افزودن سایت/سرویس به لیست"><div class="card bg-success text-light text-center"><div class="card-body"><span class="display-1 plus-service">+</span></div></a></div>')});</script>
</body>
</html>

0 comments on commit aa83c28

Please sign in to comment.