farzinmonsef / tk1

0 stars 0 forks source link

spinner #18

Open farzinmonsef opened 2 months ago

farzinmonsef commented 2 months ago

spinner

farzinmonsef commented 2 months ago

spinner

/====================================== Spinner =======================================================/

btnSpinnerOpenGlobal {

display: block;
margin: 20px auto;
padding: 10px 30px;
background-color: #eee;
border: solid #ccc 1px;
cursor: pointer;

}

btnSpinnerCloseGlobal {

float: right;

}

spinnerOverlayGlobal {

position: fixed;
left: 0;
top: 0;
z-index: 2000000;
width: 100%;
height: 100%;
display: none;
background: rgba(0,0,0,0.6);

}

.spinnerDivGlobal { height: 100%; display: flex; justify-content: center; align-items: center; }

.spinnerGlobal { width: 80px; height: 80px; border: 8px #ddd solid; border-top: 8px #007DB9 solid; border-radius: 50%; animation: sp-anime 0.9s infinite linear; }

@keyframes sp-anime { 100% { transform: rotate(360deg); } } /---------------------------------------------------------------------------------------------------/

@*
*@

//Spinner ====================================================================== function spinnerCloseGlobal() { $("#spinnerOverlayGlobal").fadeOut(300); } function spinnerOpenGlobal() { $("#spinnerOverlayGlobal").fadeIn(300); } //==============================================================================

farzinmonsef commented 1 month ago

Timeout

var idleTime = 0; var idleInterval = null; // #region LOGOUT INACTIVITY function timerIncrement() { idleTime = idleTime + 1; if (idleTime > 14) { // 15 minutes setSession('Authenticated', "false"); if (window.location.href.toLowerCase().indexOf('home') == -1) { setTimeout(window.location.href = "home", 2000); } else { setTimeout(loginmodalstart(), 2000); } } } // #end region LOGOUT INACTIVITY // #region LOGOUT INACTIVITY idleInterval = setInterval(timerIncrement, 60000); // 1 minute $(this).mousemove(function (e) { idleTime = 0; }); $(this).keypress(function (e) { idleTime = 0; }); // #end region LOGOUT INACTIVITY

farzinmonsef commented 1 month ago

Check File Content for File Extension

private void btnCheckFileClick(object sender, EventArgs e) { string dir = txtDir.Text; string fileRead_ = txtStartFileRead.Text; string fileName = txtDir.Text + "\" + txtStartFileRead.Text; string lastFileName = ""; string checkString = "@#$==============================="; string outputpath = txtDir.Text + "\" + "Check_Other_001.txt"; StreamWriter sw = File.AppendText(outputpath); bool findNewFile = true; using (StreamReader sr = File.OpenText(fileName)) { string s = String.Empty; while ((s = sr.ReadLine()) != null) { if(s.IndexOf(checkString) != -1) { lastFileName = s; findNewFile = false; } if (!findNewFile) { for (int i = 0; i < s.Length; i++) { int c = (int)s[i]; if ((c < 32) && (c != 9) && (c != 11) && (c != 13)) { sw.WriteLine(lastFileName); findNewFile = true; i = s.Length; } } } } } sw.Close(); }

string[] exceptionFiles = { ".dll", ".exe", ".pdb", ".suo", ".cache", ".idx", ".pack", ".wsuo", ".dtbcache", ".vsidx", ".lock",
    ".futdcache", ".bin", ".metadata", ".projects", ".dbmdl", ".database", ".nupkg",
    ".signature", "Thumbs.db", ".so", ".lib", ".dylib", ".zip",
    ".bmp", ".gif", ".png", ".ico", ".jpg", ".pfx", ".snk", ".ttf", ".woff2", ".pdf", ".ctf", ".db", ".swf", ".otf"   };
farzinmonsef commented 3 weeks ago

Good Spinner Samples

https://designmodo.com/css3-jquery-loading-animations/ https://projects.lukehaas.me/css-loaders/ https://www.jqueryscript.net/tags.php?/loading%20spinner/ https://www.jqueryscript.net/loading/circle-indicator-spinner.html https://hugeicons.com/icons https://dev.to/peboy/creating-an-animated-loading-spinner-with-pure-css-24h0 https://www.orioniconlibrary.com/all-icons https://codepen.io/Keyon/pen/PjEqgL https://cssloaders.github.io/ https://loading.io/css/ https://css-loaders.com/spinner/ https://flowbite.com/docs/components/spinner/ https://loading.io/ https://www.figma.com/community/file/1041612950980412711/loader-spinner-animation https://getbootstrap.com/docs/5.0/components/spinners/ https://blog.hubspot.com/website/css-loading-animation https://lottiefiles.com/free-animations/loading https://lottiefiles.com/free-animations/spinner https://stephanwagner.me/only-css-loading-spinner https://www.figma.com/community/file/1183111865001388870/loading-spinner-bars-animated https://10015.io/tools/css-loader-generator https://ionicframework.com/docs/api/spinner https://tobiasahlin.com/spinkit/ https://icons8.com/preloaders/ https://codepen.io/tag/spinner https://iconscout.com/lottie-animations/spinner-loading https://speckyboy.com/css-loading-spinner-snippets/ https://digitalsynopsis.com/design/loading-animations-preloader-gifs-ui-ux-effects/ https://www.svgator.com/css-loader https://kintone.dev/en/tutorials/miscellaneous/display-an-animated-loading-spinner/ https://dribbble.com/tags/loading-spinner# https://designmodo.com/free-preloaders-spinners/ https://spin.js.org/#! https://www.svgbackgrounds.com/elements/animated-svg-preloaders/ https://github.com/daattali/shinycssloaders https://mobiforge.com/design-development/how-to-build-an-animated-loading-spinner https://codemyui.com/tag/loading-animation/ https://pub.dev/packages/loading_animation_widget https://codeburst.io/how-to-create-a-simple-css-loading-spinner-make-it-accessible-e5c83c2e464c https://discuss.wxpython.org/t/loading-spinner-animation/35657/2 https://docs.fontawesome.com/web/style/animate https://codepen.io/ruffiem/pen/kabxMg
https://tailwindflex.com/tag/loading https://www.pinterest.com/pin/loading-animation--500321839865239529/ https://iconscout.com/lottie-animations/loading-circle https://medium.muz.li/top-30-most-captivating-preloaders-for-your-website-95ed1beff99d https://ilovepreloaders.tumblr.com/ https://codeburst.io/how-to-create-a-beautiful-animated-loader-with-nothing-but-css-d1962fc5a66c https://www.toptal.com/designers/product-design/how-to-create-custom-loading-animations-to-decrease-bounce-rates https://icons8.com/preloaders/ https://naldzgraphics.net/free-preloaders-and-spinners/ https://codepen.io/vineethtrv/pen/GJpxoQ https://www.shutterstock.com/video/search/spinner-loading?page=1

https://www.google.com/search?spinner+animation

https://docs.telerik.com/blazor-ui/components/grid/loading-animation