![](https://forums.phpfreaks.com/uploads/set_resources_1/84c1e40ea0e759e3f1505eb1788ddf3c_pattern.png)
mstdmstd
Members-
Posts
48 -
Joined
-
Last visited
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
mstdmstd's Achievements
![Rank: Regular Member (3/5) Regular Member](https://forums.phpfreaks.com/uploads/set_resources_1/84c1e40ea0e759e3f1505eb1788ddf3c_default_rank.png)
Regular Member (3/5)
0
Reputation
-
Hello, I make site In laravel 9 with Inertiajs/vuejs 3 based on https://github.com/ColorlibHQ/AdminLTE (dark mode). Making dashboard page I found that some items looks ugly : https://prnt.sc/UyMma70bRe3R I suppose it is so as items are below of current screen. Please try enter to login into adminarea by url : `https://bi-currencies.my-demo-apps.tk/admin/currencies` credentials are in Login form Any ideas why so and how that can be fixed? Thanks!
-
Hello, With kubuntu 20 I use Gwenview(Version 4:19.12.3-0ubuntu2) How can I in mode “Full screen” to remove menu “Images Operations” at left side? Thanks!
-
Hello, I have pages with custom html/css/jquery design and where modal forms are opened in somewhat uncommon way for me : not with JS code, but as links : <a href="#modal-signin" class="header__signIn" data-modal><span>BUTTON TO OPEN LOGIN MODAL</span></a> and login form : <div id="modal-signin" class="modal modal-signin"> <div class="modal-title"> LOGIN </div> <div class="form-signin"> <form action=""> I try to remake it and to open it JS code, as I need to read some data from db with ajax when I open modal form. I try to make the same with JS code using .show method : <a onclick="modalSigninOpen(); return false;" class="header__search"> <svg width="15" height="15"> <use xlink:href="/img/sprite.svg#search"></use> </svg> </a> ... function modalSigninOpen() { console.log('modalSigninOpen::') $('#modal-signin').show(); } modal form is opened, but looks ugly and not centered. Please open site at http://photographers.my-demo-apps.tk/ and try to click on Enter/Search buttons at right top : https://prnt.sc/26kr0wp Which methods have I to use and how that can be fixed ? Thanks!
-
How to open next/prior step block with JS code?
mstdmstd replied to mstdmstd's topic in Javascript Help
are wizard steps html/js/jquery feature ? Please links to descriptions -
I have template(HTML / jQuery v3.6) with wizard steps defined as <div id="modal-completion-registration" class="modal modal-completion-registration"> <div class="completion-registration__progress"> <div class="completion-registration__progress-item active" data-registration-step="1"> ... </div> <div class="completion-registration__progress-item" data-registration-step="2"> ... </div> <div class="completion-registration__progress-item" data-registration-step="3"> ... </div> </div> I suppose when button on any step block is clicked then next step block becomes active automatically, but in real app any step is submitted with ajax request and depending on request status(success/failure) I need to move to next step programmatically with JS code. How can I open next/prior step block with JS code? This template use jquery3.6.0 and jquery-ui-1.12.1 and no any additive jquery plugings. I googled in net and failed to find these functionality description. Please, provide a relative link... Thanks!
-
Hello, With jquery I have “Load more” link which is implemented with code like : <div id="div_nominated_photos_container" style="margin: 10px !important; WWborder: 3px dotted red !important; "> </div> <div style="margin: 10px !important; " id="div_add_new_photos"> <a onclick="javascript:loadNominatedPhotos(true)" class="nomination-new__btn-more " style="cursor: pointer;"> <svg class="nomination-new__arr-down"> <use xlink:href="/img/sprite.svg#arr-down"></use> </svg> Ещё фото </a> </div> function loadNominatedPhotos(load_next_page) { if (load_next_page) { current_page++ } var current_nomination_id = <?php echo e($currentNomination->id ?? ''); ?> $.ajax({ type: "GET", dataType: "json", url: '/get_nominated_photos/' + current_nomination_id + "/" + current_page, // public function get_nominated_photos($nomination_id, $current_page= 1) success: function (response) { if (current_page === 1) { $("#div_nominated_photos_container").html(response.html); } if (current_page > 1) { $(".main_gallery__block:last").after(response.html); } if (response.rows_uploaded_count >= response.nominated_photos_total_count) { $("#div_add_new_photos").css('display', 'none'); } else { $("#div_add_new_photos").css('display', 'block'); // $($(".para")[1]).css({"color":"yellow"}); $("#div_add_new_photos").css('margin-top', '10px !important;'); //padding-top: 10px !important; } }, error: function (error) { console.error(error) } }); } adding more content work ok. but I have a problem that clicking on “Ещё фото” link distance between this link and grid of images is decreased by any click : Printscreen Live at: Live link When 15 rows are loaded then on “Ещё фото” link is hidden at all, as all data are retrieved. I tried to set margins in content div design or programatically but failed. How that can be fixed ? Thanks!
-
New kubuntu 20 seems has no functionality "Freeze Task manager". Just exclude acassional removing of menu items in Task manager. But prior kubuntu had such functionality. Can I add such functionality in kubuntu 20 ? $ uname -a Linux master-laptop 5.11.0-37-generic #41~20.04.2-Ubuntu SMP Fri Sep 24 09:06:38 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux $ lsb_release -d; uname -r; uname -i Description: Ubuntu 20.04.3 LTS 5.11.0-37-generic x86_64 $ plasmashell -v plasmashell 5.18.5 $ kf5-config --version Qt: 5.12.8 KDE Frameworks: 5.68.0 kf5-config: 1.0 Thanks!
-
I failed to install indicator-brightness anyway. 1) How can I clear indicator-brightness from my repository, as : I tried to add docker support with command : sudo vi /etc/apt/sources.list.d/docker.list New file docker.list was created. I deleted it manually , but I still got errors : root@master-laptop:/etc/apt/sources.list.d# sudo add-apt-repository --remove ppa:indicator-brightnes Cannot add PPA: 'ppa:~indicator-brightnes/ubuntu/ppa'. ERROR: '~indicator-brightnes' user or team does not exist. root@master-laptop:/etc/apt/sources.list.d# sudo apt-get update Hit:1 http://ua.archive.ubuntu.com/ubuntu focal InRelease Hit:2 http://ua.archive.ubuntu.com/ubuntu focal-updates InRelease Hit:3 http://ua.archive.ubuntu.com/ubuntu focal-backports InRelease Hit:4 http://dl.google.com/linux/chrome/deb stable InRelease Hit:5 https://repo.skype.com/deb stable InRelease Hit:6 http://ppa.launchpad.net/giuspen/ppa/ubuntu focal InRelease Hit:7 http://ppa.launchpad.net/ondrej/php/ubuntu focal InRelease Hit:8 https://deb.nodesource.com/node_14.x focal InRelease Hit:9 http://security.ubuntu.com/ubuntu focal-security InRelease Reading package lists... Done E: The method driver /usr/lib/apt/methods/ppa could not be found. N: Is the package apt-transport-ppa installed? E: Failed to fetch ppa://indicator-brightness/ppa/dists/master/InRelease 2) I use Kubuntu 20, so I search some KDE app/plugin/tool like indicator-brightnes compatible with Kubuntu 20...
-
With command man apt-secure I got next text: Do you mean this manuals ? Could you please point to key of my problem salvation? Sorry this manuals are too vague and comlicated for me...
-
Hello, I tried to install indicator-brightness, but got errors : master@master-laptop:/mnt/_work_sdb8/wwwroot/lar/Hostels4J$ sudo add-apt-repository ppa:indicator-brightness/ppa [sudo] password for master: PPA for the indicator-brightness for the Unity panel. More info: https://launchpad.net/~indicator-brightness/+archive/ubuntu/ppa Press [ENTER] to continue or Ctrl-c to cancel adding it. Hit:1 http://ua.archive.ubuntu.com/ubuntufocal InRelease Hit:2 http://ua.archive.ubuntu.com/ubuntufocal-updates InRelease Hit:3 http://ua.archive.ubuntu.com/ubuntufocal-backports InRelease Hit:4 http://dl.google.com/linux/chrome/debstable InRelease Hit:5 http://ppa.launchpad.net/giuspen/ppa/ubuntufocal InRelease Hit:6 https://deb.nodesource.com/node_14.xfocal InRelease Ign:7 http://ppa.launchpad.net/indicator-brightness/ppa/ubuntufocal InRelease Hit:8 http://security.ubuntu.com/ubuntufocal-security InRelease Hit:9 http://ppa.launchpad.net/ondrej/php/ubuntufocal InRelease Err:10 http://ppa.launchpad.net/indicator-brightness/ppa/ubuntufocal Release 404 Not Found [IP: 91.189.95.85 80] Reading package lists... Done E: The repository 'http://ppa.launchpad.net/indicator-brightness/ppa/ubuntu focal Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. master@master-laptop:/mnt/_work_sdb8/wwwroot/lar/Hostels4J$ sudo apt-get update Hit:1 http://ua.archive.ubuntu.com/ubuntufocal InRelease Hit:2 http://ua.archive.ubuntu.com/ubuntufocal-updates InRelease Hit:3 http://ua.archive.ubuntu.com/ubuntufocal-backports InRelease Hit:4 http://dl.google.com/linux/chrome/debstable InRelease Hit:5 http://ppa.launchpad.net/giuspen/ppa/ubuntufocal InRelease Hit:6 https://deb.nodesource.com/node_14.xfocal InRelease Ign:7 http://ppa.launchpad.net/indicator-brightness/ppa/ubuntufocal InRelease Hit:8 http://security.ubuntu.com/ubuntufocal-security InRelease Hit:9 http://ppa.launchpad.net/ondrej/php/ubuntufocal InRelease Err:10 http://ppa.launchpad.net/indicator-brightness/ppa/ubuntufocal Release 404 Not Found [IP: 91.189.95.85 80] Reading package lists... Done E: The repository 'http://ppa.launchpad.net/indicator-brightness/ppa/ubuntu focal Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. master@master-laptop:/mnt/_work_sdb8/wwwroot/lar/Hostels4J$ sudo apt-get install indicator-brightness Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package indicator-brightness Searching in next I found additive option : --allow-unauthenticated but looks lokie this option does not work now ? Which is good and safe way to inmstall indicator-brightness ? Thanks!
-
Hi, I tried to show js problem at my https://streamgeeks-rebranded-dev.cloudns.cl/ site located at AWS, ubuntu, 20 Apache/2.4 But I got a feedback from one of users : After discussion I got link : https://www.virustotal.com/gui/url/f07ad9409e7b60633952021af9292753cc142f2a5675055fdbb19f8b563e0132/detection and got some errors report : Avira (no cloud) Phishing Netcraft - Malicious Which steps have I to take ? If it some bad code inside of my site ? Or something wrong in ubuntu 20/apache/mysql ? Also are there some apps/tools for my Kubuntu 18 on my laptop to see these problems working with my site ? Thanks!
-
Hello, Under free account in https://www.cloudns.net/ I created 1 dns zone (A type) which is used for our dev server, so it has very small using What is unclear for me that is “Mail forwards” parameter : https://imgur.com/a/fk7MAuR and where I can set it? Also I did not found if thiis free domain has some time expired period ?
-
Hallo, I installed ASW ec2 instance with Selected Ubuntu 20, Free tier eligible and I got instance with root like http://ec2-NN-NN-NN-NN.eu-central-1.compute.amazonaws.com/ I have installed laravel 8/vuejs app and my app using OAuth client ID For my local server (Ubuntu 18 on my laptop) I created client key with url http://127.0.0.1:8000 But I failed to make the similar for my ASW ec2 instance : https://imgur.com/a/tIQiPAe 1) If there is a way to create OAuth client ID for AWS http url,like I have by default? 2) If no, please point how can I move my app under https ? Is this function accessible for Free tier eligible instance ? 3) Actually I created this Free tier eligible instance for practice and later I will get from client other ASW ec2 instance, but I would like how can I do it. Please link to related services in AWS console, docs... Thanks!
-
Hello, Basing on tailwindcss 2 modal example https://alpinetoolbox.com/examples/modal I make modal dialog with setting max-h-screen class, like <div class="overflow-auto" role="dialog" style="background-color: rgba(0,0,0,0.5)" x-show="showModal" :class="{ 'absolute inset-0 z-50 flex items-center justify-center': showModal }" @keydown.escape.window="showModal = false" > <!--Dialog--> <div class="flex flex-col sm:h-4/5 md:h-4/6 max-h-screen justify-between rounded shadow-lg py-4 text-left px-6 modal-container" x-show="showModal" @click.away="showModal = false" x-transition:enter="ease-out duration-300" x-transition:enter-start="opacity-0 scale-90" x-transition:enter-end="opacity-100 scale-100" x-transition:leave="ease-in duration-300" x-transition:leave-start="opacity-100 scale-100" x-transition:leave-end="opacity-0 scale-90"> and it works ok, untill page has no horizontal scrolling. If page has horizontal scrolling - then only part of the page is with modal and space below is empty and this makes page I also tried to use max-h-full instead of max-h-screen, but no effect. How can I made it ? Thanks!
-
I want to make table with horizontal scrolling for its content and I try to use whitespace-nowrap class for table cells which have long content and overflow-x-auto for all the table, like: <div class="editor_listing_wrapper_bix_width"> <table class=" overflow-x-auto p-1 m-1 d2"> <thead class="bg-gray-700 border-b-2 border-t-2 border-gray-300"> <tr> <th class="w-1/12 py-2">Id</th> <th class="w-4/12 py-2">Name</th> <th class="w-4/12 py-2">Description</th> <th class="w-1/12 py-2"></th> </tr> </thead> <tbody> <tr> <td>1</td> <td class="whitespace-nowrap"> Laptops <small class="pl-2 pt-1"> ( Used in 2 ad(s) ) </small> </td> <td class="whitespace-nowrap p-1">Laptops description Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.... </td> But looks like horizontal scrolling is for all area, not for my table Pls, take look at pen: https://codepen.io/sergeynilov/pen/eYgjVgM I use tailwindcss 2.1.0. Thanks!