Closed RevertIT closed 6 years ago
There are a lot of those buttons in Template files, if I'll find one, I'll replace it with your code :) .
They look so good!
Alright. Also, the thing is we should replace all text images with text. Like login, starting position, choose a tribe, etc etc.
With something like . trav_text { font-size: 12px; color: #79d30f; font-weight: 700; }
<p class="trav_text">Login</p>
Sure, do what you believe is better :) , I know a very little of CSS.
how to search a specific text in all files so i can replace it everywhere, where the id dynamic_btn or something similar appears?
Which client do you use for editing CSS? With "Eclipse" you can do it very easily: 1) Ctrl + H 2) File search
Im writing css directly in browser in console. What I asked was how to search a github with specific text to shoe me all templates php and such with that text
You can do that by simply writing what code you want to search, in the "Search bar":
Oh, I see, but it doesn't include templates. It's impossible that only 1PHP file is left with dynamic_btn when buttons are in templates.
There're some buttons with different classes, I found this one with the class "dynamic_img":
<input name="del" type="image" id="btn_delete" class="dynamic_img" src="img/x.gif" value="delete" alt="delete" />
(I took this example from Templates/Notice/all.tpl)
Here we are:
We have different results
You have to search "dynamic_img" and not "dynamic_btn".
Would not it be easier to leave the class name old and just replace the classes themselves?
Stupidity wrote :) I forgot that more text is added :)
@phaze1G The only thing you need to add is:
.trav_buttons {
font-weight: bold;
awesome @iopietro thanks for pointing out my blindness.
As for pulls and edit can you please explain me again how to edit files and to look like yours when you pull them. One commit for multiple files. If I edit login.php and amalden.php it will go as 2 commits. Your artefect and other commits have multiple edited files into one commit
Download this: https://git-scm.com/download/win Then this: https://tortoisegit.org/download/
Install the first one, then the second. Now, create a folder, open the context menu with a right click of the mouse, click on "Git Clone" and in the "URL" field paste this repository Git Clone Url: https://github.com/Shadowss/TravianZ.git Or your fork Url: https://github.com/phaze1G/TravianZ.git
Done, you can now commit things and push them to the master by going to "Git commit -> master".
I don't know where to find rest of the buttons, but the drill is:
<button value="something" name="s1" id="btn_id" class="trav_buttons" alt="text"/> Button name </button>