Project

General

Profile

HTML changes to webpage?

Added by Pavel Yeloyev 4 months ago

If installed on a Debian system, is it possible to easily change the HTML/JavaScript of the pages? For example I want to modify the way the text boxes in the Issue Edit page works. Is it safe/simple? Where are the JS/HTML components located?


Replies (2)

RE: HTML changes to webpage? - Added by Ronny James 3 months ago

Yes, you can edit the HTML/JavaScript files for the Issue Edit page in a Debian system. The files are located in the /var/lib/jenkins/jenkinshome/war/static/ directory. You can edit the issue-edit.html file to modify the way the text boxes work, and the issue-edit.js file to modify the JavaScript code for the page.

It is safe to modify these files, but make sure you make a backup before you start, and use a text editor that can handle both HTML and JavaScript files. You can also use a debugger to help you track down any errors in your code.

RE: HTML changes to webpage? - Added by Pavel Yeloyev 3 months ago

I don't see "Jenkins."


cd /var/lib/
ls

apache2     dpkg       initramfs-tools  ntp        private      systemd
apt         fail2ban   logrotate        os-prober  python       tklbam
cron-apt    git        man-db           pam        resolvconf   ucf
dbus        grub       misc             polkit-1   shellinabox  usbutils
dehydrated  inithooks  mysql            postfix    stunnel4     vim

    (1-2/2)