Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
craig1617
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Seniors
craig1617
Commits
09daa4fc
Commit
09daa4fc
authored
8 years ago
by
Craig Earley
Browse files
Options
Downloads
Patches
Plain Diff
have user- and author-side faces, css style template, and start for js code in user.html
parent
00fdee64
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
author.html
+9
-0
9 additions, 0 deletions
author.html
css/style.css
+5
-0
5 additions, 0 deletions
css/style.css
user.html
+62
-0
62 additions, 0 deletions
user.html
with
76 additions
and
0 deletions
input
.html
→
author
.html
+
9
−
0
View file @
09daa4fc
<!DOCTYPE html>
<html>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"css/style.css"
>
<body>
<h1>
Author-Side Interface
</h1>
<form>
<p>
Start URL's.
</p>
<textarea
name=
"paragraph_text"
cols=
"50"
rows=
"10"
></textarea>
<p>
Stop URL's.
</p>
<textarea
name=
"paragraph_text"
cols=
"50"
rows=
"10"
></textarea>
<br>
<input
type=
"submit"
value=
"Get my URL"
>
<input
type=
"reset"
>
</form>
<p>
Your URL:
</p>
</body>
</html>
This diff is collapsed.
Click to expand it.
css/style.css
0 → 100644
+
5
−
0
View file @
09daa4fc
h1
{
text-align
:
center
;
font-family
:
Arial
;
}
This diff is collapsed.
Click to expand it.
user.html
0 → 100644
+
62
−
0
View file @
09daa4fc
<!DOCTYPE html>
<html>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"css/style.css"
>
<body>
<!---
Should be some JavaScript:
- on click:
-- open url
-- note start time
-- wait
-- check url with every new url
-- when stop url: note stop time, display alert, stop tracking
--->
<h1>
User-Side Interface
</h1>
<form>
<p>
Your URL:
</p>
<input
name=
"paragraph_text"
id=
"input"
cols=
"50"
rows=
"10"
></textarea>
<br>
<button
type=
"button"
onclick=
"window.open('https://www.google.com').style.display='block'"
>
Start Test!
</button>
<input
type=
"reset"
>
</form>
</body>
</html>
<!---
Stack Overflow code for a comparable function:
<div>
<form method="get" id="go_to_url">
<input type="text" name="go_to_url" id="go_to_url_texto" placeholder="Procurar"/>
</form>
</div>
<script
$("#go_to_url").on("submit", function(event){
// prevent form from being submitted
event.preventDefault();
name = $("#go_to_url_texto").val();
// compare lower case, as you don't know what they will enter into the field
// if (name.toLowerCase() == "advogados")
// {
// // redirect the user..
// window.location.href = "http://jornalexemplo.com.br/lista%20online/advogados.html";
// }
// else
// {
// alert("no redirect..(entered: " + name + ")");
// }
window.location.href = name;
});
</script>
--->
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment