Make sure the new board fits since it is longer. you do have the extra room at the front of the case right?
F_line_in may be 2 things. It is either a Blue plug on the front for plugging in an MP3 Player or similar to record or listen or on some media center PCs sold my HP it may be 2 rca plugs for left and right audio for the same reason, but unlikely in your case because that tends to plug into a TV card.
Its the blue one. The green and Pink are for the HD audio(or AC97) Don't mind the hp graveyard dust.
There is a F_panel, it just has a different setup.
Working on a pic of how you can make it work.
Ok.
You will need some kind of connectors(Like those on Audio CD cables or even from old computer cases). You can get these at many local computer shops(May have them in a pile if scrap they never intend to use). Also you may have some if you have every picked up a DVD/CD drive. Someone has to have some for you.
If having boxes of random cables is wrong, i don't want to be right....
A pile of connectors that will be able to donate there plugs for you
Each connector can have the wires removed then you can insert your HP wires once removed.
Remove wires by using a small screw driver or exacto knife to gently lift each tab and remove the wire. Do not lift too far or you may damage the plastic housing.
This is the tab you have to lift
Yay, done
So go ahead and get some tape and label each set(+ and -, take note of the - color as it needs to be in the right place for the leds to light, on the switches it does not matter, just keep the wires together so they do not get mixed up) of HP wires. Power LED(called message/sleep on my image)|Reset|Power|HDD LED(Called IDE LED sometimes). Make sure you do not get them mixed up, if you do, the wires can be followed to the front of the case.
Now you can insert the HP cables into the empty plastics and connect them to the board(or its Q-connector, you will see that when you get the board, very helpful thing)
If you are creative, you can reuse the HP connector for HDD the power LED, then the 2 ends of a CD audio cable will take care of the power and reset switches.
Once again, here is the pattern you will need to follow