-
Notifications
You must be signed in to change notification settings - Fork 22
Writing templates & Button for web query #21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
3ba3afd
commit
chazuttu 4760e4f
commit
chazuttu 59afff8
Added Button for Web query
chazuttu c8e79e5
removed pyc
chazuttu 3e4b5a8
commit
chazuttu 4de5f2c
Writing templaate
chazuttu 61831e4
Writing template
chazuttu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
document.write("<html><head></head>") | ||
document.write("<body bgcolor='#ffffff'>") | ||
document.write("<head>") | ||
document.write("<title>3A Web Design</title>") | ||
document.write("<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'>") | ||
document.write("<meta name='author' content='Nongjian Zhou'>") | ||
document.write("<style type='text/css'>") | ||
document.write("<!--") | ||
document.write("h1 {color:#ee9933; font-size:24px; font-family: Verdana, Arial, Helvetica, sans-serif}") | ||
document.write("h2 {color:#ee9933; font-size:18px; font-family: Verdana, Arial, Helvetica, sans-serif}") | ||
document.write("h3 {font-size:16px; font-family: Verdana, Arial, Helvetica, sans-serif}") | ||
document.write("h4 {font-size:14px; font-family: 'New Times Roman'}") | ||
document.write("p {font-size:12px; font-family: Verdana, Arial, Helvetica, sans-serif}") | ||
document.write("pre {color:#994400; font-size:10px; font-family: Verdana, Arial, Helvetica, sans-serif}") | ||
document.write("a:link {text-decoration: none}") | ||
document.write("a:hover {text-decoration: underline; color: #FF0000}") | ||
document.write("-->") | ||
document.write("</style>") | ||
document.write("</head>") | ||
document.write("") | ||
document.write("<table width='100%' height='100%' border='0' cellspacing='0' cellpadding='0'>") | ||
document.write("<tr><td colspan='2' height='120' align='center' bgcolor='#eeeeee'>") | ||
document.write("<h1>3A Web Design</h1>") | ||
document.write("<pre><div align='right'>Updated:" +document.lastModified+" </div></pre>") | ||
document.write("</td></tr>") | ||
document.write("<tr><td rowspan='2' align='center' valign='top' width='180' bgcolor='#eeeeee'><br>") | ||
document.write("<table width='140' align='center' valign='top' cellspacing='2' cellpadding='5'>") | ||
document.write("<tr><td bgcolor='#dddddd'>") | ||
document.write("<p> <a href='aboutUs.htm'><b>About Us</b></a></p>") | ||
document.write("</td></tr>") | ||
document.write("<tr><td bgcolor='#dddddd'>") | ||
document.write("<p> <a href='services.htm'><b>Our Services</b></a></p>") | ||
document.write("</td></tr>") | ||
document.write("<tr><td bgcolor='#dddddd'>") | ||
document.write("<p> <a href='works.htm'><b>Our Works</b></a></p>") | ||
document.write("</td></tr>") | ||
document.write("<tr> <td bgcolor='#dddddd'>") | ||
document.write("<p> <a href='clients.htm'><b>Our Clients</b></a></p>") | ||
document.write("</td></tr>") | ||
document.write("<tr><td bgcolor='#dddddd'>") | ||
document.write("<p> <a href='contactUs.htm'><b>Contact Us</b></a></p>") | ||
document.write("</td></tr>") | ||
document.write("</table>") | ||
document.write("</td>") | ||
document.write("<td align='center'><table width='95%' height='100%'><tr><td>") | ||
document.write("<h3 align='center'>This is a html file created by using JavaScript</h3>") | ||
<h3 align="center"> | ||
document.write("</pre></table></td></tr><tr><td valign='bottom' height='50'>") | ||
document.write("<hr><pre>3A Web Design @ 2000, All Rights Reserved</pre>") | ||
document.write("</td></tr></table>") | ||
document.write("") | ||
document.write("") |
Binary file not shown.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
document.write("<html><head></head>") | ||
document.write("<body bgcolor='#ffffff'>") | ||
document.write("<head>") | ||
document.write("<title>3A Web Design</title>") | ||
document.write("<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'>") | ||
document.write("<meta name='author' content='Nongjian Zhou'>") | ||
document.write("<style type='text/css'>") | ||
document.write("<!--") | ||
document.write("h1 {color:#ee9933; font-size:24px; font-family: Verdana, Arial, Helvetica, sans-serif}") | ||
document.write("h2 {color:#ee9933; font-size:18px; font-family: Verdana, Arial, Helvetica, sans-serif}") | ||
document.write("h3 {font-size:16px; font-family: Verdana, Arial, Helvetica, sans-serif}") | ||
document.write("h4 {font-size:14px; font-family: 'New Times Roman'}") | ||
document.write("p {font-size:12px; font-family: Verdana, Arial, Helvetica, sans-serif}") | ||
document.write("pre {color:#994400; font-size:10px; font-family: Verdana, Arial, Helvetica, sans-serif}") | ||
document.write("a:link {text-decoration: none}") | ||
document.write("a:hover {text-decoration: underline; color: #FF0000}") | ||
document.write("-->") | ||
document.write("</style>") | ||
document.write("</head>") | ||
document.write("") | ||
document.write("<table width='100%' height='100%' border='0' cellspacing='0' cellpadding='0'>") | ||
document.write("<tr><td colspan='2' height='120' align='center' bgcolor='#eeeeee'>") | ||
document.write("<h1>3A Web Design</h1>") | ||
document.write("<pre><div align='right'>Updated:" +document.lastModified+" </div></pre>") | ||
document.write("</td></tr>") | ||
document.write("<tr><td rowspan='2' align='center' valign='top' width='180' bgcolor='#eeeeee'><br>") | ||
document.write("<table width='140' align='center' valign='top' cellspacing='2' cellpadding='5'>") | ||
document.write("<tr><td bgcolor='#dddddd'>") | ||
document.write("<p> <a href='aboutUs.htm'><b>About Us</b></a></p>") | ||
document.write("</td></tr>") | ||
document.write("<tr><td bgcolor='#dddddd'>") | ||
document.write("<p> <a href='services.htm'><b>Our Services</b></a></p>") | ||
document.write("</td></tr>") | ||
document.write("<tr><td bgcolor='#dddddd'>") | ||
document.write("<p> <a href='works.htm'><b>Our Works</b></a></p>") | ||
document.write("</td></tr>") | ||
document.write("<tr> <td bgcolor='#dddddd'>") | ||
document.write("<p> <a href='clients.htm'><b>Our Clients</b></a></p>") | ||
document.write("</td></tr>") | ||
document.write("<tr><td bgcolor='#dddddd'>") | ||
document.write("<p> <a href='contactUs.htm'><b>Contact Us</b></a></p>") | ||
document.write("</td></tr>") | ||
document.write("</table>") | ||
document.write("</td>") | ||
document.write("<td align='center'><table width='95%' height='100%'><tr><td>") | ||
document.write("<h3 align='center'>This is a html file created by using JavaScript</h3>") | ||
Copy Codedocument.write("</body></html>") | ||
Copy Code<script language="JavaScript" src="header.js"></script> | ||
<h3 align="center">This is a html file created by using JavaScript</h3> | ||
<script language="JavaScript" src="footer.js"></script> | ||
document.write("</pre></table></td></tr><tr><td valign='bottom' height='50'>") | ||
document.write("<hr><pre>3A Web Design @ 2000, All Rights Reserved</pre>") | ||
document.write("</td></tr></table>") | ||
document.write("") | ||
document.write("") | ||
<script language="JavaScript" src="header.js"></script> | ||
<h3 align="center">This is a html file created by using JavaScript</h3> | ||
<script language="JavaScript" src="footer.js"></script> |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To avoid write
document.write()
in each line, you can create a big string and just use it in adocument.write()
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
okk thanks!!