Forum Home › Forums › Understanding the Software › Changing Table Colors, and event line color
Tagged: Table
- This topic has 6 replies, 2 voices, and was last updated 7 years, 11 months ago by Washu Hakubi.
-
AuthorPosts
-
May 6, 2016 at 11:26 am #1094Washu HakubiParticipant
Hi, i want to change the color of the table, with css is it?
I tried scada.css, tableView.css and evTable.css but i still can’t change the table colors.
I want to change the table header color and to make the table have only 1 background, at the moment its have alternating background color every 2 lines.
I also want to change the color of the event title line.http://i.imgur.com/1qPGA8C.png
What is the .css or the .asp file for that?
May 6, 2016 at 3:47 pm #1097MikhailModeratorHi,
You can easily the find the answer with help of Chrome. Press F12 and find the element by a mouse. Chrome displays the css file and line number.
I recommend not to waste much time, because the web app will be totally redesigned.
May 6, 2016 at 3:49 pm #1098MikhailModeratorI you don’t find the answer with Chrome, I’ll help you, OK?
May 8, 2016 at 11:37 am #1104Washu HakubiParticipantOh, thank you i forgot i could do that.
May 11, 2016 at 11:34 am #1123Washu HakubiParticipantOk i found out out that i was changing the right thing, but the file is not been updated on the IIS server.
How do i force it to update?Images below to illustrate.
File on the computer directory
The file onpened on Visual Studio
The file on IIS directory.
The file when you click browseThe same thing on other files, for instance i gotta delete the “tr.alt td” on both curVal.css and tableView.css to make the table don’t have the yellow-ish line every third line. But i delete and its not updating automatically, even tho the file say, it has been updated at 6:20am today.
The event line that i want to change color is the same thing i have changed the right line to change its color but the IIS server is not been updated.
I already rebooted the computer twice, and clicked on refresh in IIS in lots of places a lot of times, and i waited almost 2 hours for it to updated automatically.
Do i need to delete the IIS virtual path thing and reinstall it manually, or is there a less radical way to do it?
Windows 8.1, 64 bits.
May 11, 2016 at 2:09 pm #1124MikhailModeratorIt’s weird.
I usually do the following:
1. Copy *.css to C:\SCADA\ScadaWeb\css overwriting the existing file.
2. Open the web application in a browser and press Ctrl + F5If you think that a file is not updated, delete it first, press Ctrl+F5 to make sure that styles disappear, then copy the new file and press Ctrl+F5 again.
May 12, 2016 at 7:33 pm #1134Washu HakubiParticipantWell idk why for me the normal easy way is not working.
Had to use the radical way but manage to find the solution.The IIS server is keeping a very persistent cache of itself so to make the files be updated in the server i have to make it in 3 steps.
Step 1: Go to IIS manager and stop the server.
Step 2: Delete all the temporary files that the server is using, at “C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files”
Step 3: Go to IIS manager and turn on the server.If someone else happens to get the same problem and can’t make it work with this steps it’s because there is another temporary file.
Sometimes IIS saves temporary files on the appdata too.
Go to “C:\Users\[your user name here]\AppData\Local\Temp”.I just delete everything but there is a folder there for the Temporary ASP.NET files sometimes. If you don’t like deleting all the temp files look for the right folder and delete just it.
Edit: I’m using windows 8 64 bit windows, the patch will be different for a 32 bits
- This reply was modified 7 years, 11 months ago by Washu Hakubi.
-
AuthorPosts
- You must be logged in to reply to this topic.