HTML pages of Jenkins - html

I'm working with jenkins for a while now and i'm thinking of building my own layout with jenkins .. I know there is a plugin that allows you to make your own css file.
But i was thinking further than that i'm more looking to change names of html attributes aswell and just use the Jenkins pages. Does anybody know where i can find the HTML pages of Jenkins to change it to my wanted code.
I already searched in the local folders of jenkins but couldn't find anything.
Kind regards
Dimitri

If your Jenkins application is deployed with Tomcat (for example), all css files are in the webapps/ROOT/css folder:
The js files are in the webapps/ROOT/scripts folder:
I hope it helps :)

Jenkins are shipped with a .war package. To change or customize jenkins html or css in order to change its looking, you need to change the source code or jenkins, that means you probably should be a jenkins developer. And a good thing for you is jenkins is a open source software, you can always get its code from Github
And I think this is what you are looking for, it includes the css/html of jenkins. Just a reminder, after you change the css/html of it, you should repackage it to the .war format before you can use it.

Related

Work with HTML coder

I am a rails backend developer and I am now working in a team with an HTML coder and I have some problems with information exchange.
I want him to generate all the HTML templates (haml, erb, whatever) and css files. But he has actually no clue on how to install ruby (and rails).
So, we are working now in this ugly workcycle when he puts all html's and css's in public, test them, and then I (myself) move them to correct place.
Is there a tool (for HTML codes) that mimics Rails rendering part so he will run this tool, which must be easy, and when the server starts, he can put all the templates to app/ and test them?
I see this as a small easy installable subset of rails, that only deal with page rendering.
If your coder still doesn't know how to install ruby or how to configure stuff for works , then I can say this is quite problematic . You either can try any cloud based IDE . Or , tools like git to get only raw stuff.
But , you also can look for someone who in minimum way will try to make the whole process possible by learning and installing ruby in their pc .
I had a similiar problem where a copywriter needed to play with the html and we ended up using Cloud9.
Cloud9 is a collaborative IDE in the cloud, IMHO It's pretty decent for small scale projects and can really get the job done.
I simply installed rails once and ran a local dev server and she did all the modifications and watced the preview.
Another option is to create a vagrant environment and preisntall rails there. This means the HTML coder would have to install a VM on his machine and run the vagrant there.

Compiling an external website to .chm using wget

There's a website, in particular http://thisquantumworld.com
It is a text-only site with inter-related links. I want to have the content on this site as reading material. I can(and I did) download the site as html using wget.
But, it would be good to have it as a .chm file. In that case, it will be easily redistributable too.
Can anyone suggest a way to download a website as .chm(maybe using wget)? I have no experience with .chm files and have no idea how do they work.
For such purpose (convert web-site to chm), I use Windows freeware tool Web2Chm.
It works perfectly, and I almost sure - it will work under the Wine in Linux too.
If you want to use only wget, I think your task can be solved using python scripts.

Spring web development advice

At the moment I'm learning spring and have the basic website running now on tomcat. Can I ask, how do you load images onto the website now and where do you store the images, css, javascript etc in your project folder?
The answer depends a lot on your development/deployment environment. If you are using Maven for example, which has a specific directory layout, you would put the files in src/main/webapp/.
If you are using Eclipse as your IDE and use Ant to build your project, you would normally use WebContent/.
In any case, I would advise to use specific folders for each type of file. You can still use Tomcat Filters, if you want to influence the headers that are sent with the files. (Important for caching, ...)

hudson: how to edit template?

I want to add my own text and change the template of the default hudson for authenticated users.
where are the html files located so I can edit them ? or is there another solution ?
Have a look at the war directory, after you started Hudson for the first time. There you should find all the components that are used (css, images, and scripts). Have fun changing them.
However, I would expect that your changes will be gone after you upgrade your Hudson server. You might be able to get around this problem by writing your own plugin.
Let us know, if you get it done and what the solution is.

Downloading .net project from link

I found this site that has a link to a .Net project.
The link is to a folder structure.
How do I down load this project without SVN??
Is it specific SVN??
http://svn2.assembla.com/svn/nbdn_web_store/
Source Code
I would say that either you install svn (which is not a huge install), or you have a lot of clicking to do when you download each file separately using your web browser. Can't see any other alternatives, really.
install subversion and check out the file with e.g. the command
svn co http://svn2.assembla.com/svn/nbdn_web_store/trunk/ ndbn_web_store
First of all, I agree that installing svn is a good option.
If you don't want to do that (and don't like clicking tons of links to download each file) you can use an offline browser such as this one recommended by CNET