-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
194 lines (191 loc) · 10.9 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
<html>
<head>
<!-- Commonly used libraries -->
<script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css">
<!-- Christian's "Pages" repo -->
<script src="https://rawgit.com/chrisBas/pages/master/pages.js"></script>
<link rel="stylesheet" href="https://rawgit.com/chrisBas/pages/master/pages.css">
<!-- Christian's "Search" repo -->
<script src="https://rawgit.com/chrisBas/search/master/search.js"></script>
<link rel="stylesheet" href="https://rawgit.com/chrisBas/search/master/search.css">
<!-- Christian's "Jsonform" repo -->
<script src="https://rawgit.com/chrisBas/jsonform/master/jsonform.js"></script>
<link rel="stylesheet" href="https://rawgit.com/chrisBas/jsonform/master/jsonform.css">
<!-- This page's styles/scripts-->
<script src="./script.js"></script>
<link rel="stylesheet" href="./styles.css">
</head>
<body>
<div id="welcome">
<div class="row justify-content-center">
<img src="./self.jpg">
</div>
<div class="row justify-content-end">
<div class="col-lg-4">
<h3>CHRISTIAN BASILE</h3>
</div>
<div class="col-lg-4">
<a href="#" class="fa fa-facebook" title="No content yet"></a>
<a href="#" class="fa fa-youtube" title="No content yet"></a>
<a href="https://www.linkedin.com/in/christian-basile-774697110" target="void" title="Christian's LinkedIn" class="fa fa-linkedin"></a>
<a href="https://github.com/chrisBas/" target="void" title="Christian's GitHub" class="fa fa-github"></a>
<a href="https://www.instagram.com/ideas_to_code/" target="void" title="Christian's Instagram" class="fa fa-instagram"></a>
</div>
</div>
</div>
<div class="container">
<div class="description">
<button class="btn btn-danger float-right">x</button>
Check out some of my projects by navigating below. If you would like to see a more in-depth description of the projects or possibly use them, then click the repository links next to the titles.
</div>
<div class="pages">
<div class="page">
<button class="fa fa-angle-right float-right mt-5" onclick="pg.next()"></button>
<div class="row justify-content-center">
<h3 class="title">Pages<a href="https://github.com/chrisBas/pages" target="void">github-repo</a></h3>
</div>
<div class="row justify-content-center">
<div class="col-md-10 col-sm-12">
<h5>Description:</h5>
<p>Small JS/CSS library that enables one to navigate through 'pages' on a single webpage.</p>
</div>
</div>
<div class="row justify-content-center">
<div class="col-sm-12 col-md-5">
<h5>Code:</h5>
<div class="code-container">
<code>
<div class="pages"> <br />
<div class="page"> <br />
Page-1 content goes here... <br />
</div> <br />
<div class="page"> <br />
Page-2 content goes here... <br />
</div> <br />
</div> <br />
</code>
</div>
</div>
<div class="col-sm-12 col-md-5">
<h5>Demo:</h5>
<div class="pages demo" id="pages-demo">
<div class="page">
Page One<br>
<button onclick="pgDemo.next()">></button>
</div>
<div class="page">
Page Two<br>
<button onclick="pgDemo.prev()"><</button>
<button onclick="pgDemo.next()">></button>
</div>
<div class="page">
Page Three<br>
<button onclick="pgDemo.prev()"><</button>
</div>
</div>
</div>
</div>
</div> <!-- end of .page -->
<div class="page">
<button class="fa fa-angle-left float-left mt-5" onclick="pg.prev()"></button>
<button class="fa fa-angle-right float-right mt-5" onclick="pg.next()"></button>
<div class="row justify-content-center">
<h3 class="title">Jsonform<a href="https://github.com/chrisBas/jsonform" target="void">github-repo</a></h3>
</div>
<div class="row justify-content-center">
<div class="col-md-10 col-sm-12">
<h5>Description:</h5>
<p>Small JS/CSS library that simplifies the creation of formfields using JS.</p>
</div>
</div>
<div class="row justify-content-center">
<div class="col-sm-12 col-md-5">
<h5>Code:</h5>
<div class="code-container">
<code>
<form id="myform"><form id="myform"> <br />
... </br>
<script> <br />
var config = { <br />
"First Name: ": {"type": "text", <br />
"placeholder": "my name", <br />
"default": "John", <br />
"id": "myName", <br />
"required": false<br />
}, <br />
"Age: ": {"type": "number",
"placeholder": "my age", <br />
"default": "21", <br />
"id": "myAge", <br />
"required": "false"<br />
}}; <br />
var form = new JsonForm(config); <br/>
document.getElementById("myform").innerHTML <br />
+= form.innerHTML; <br />
</script> <br />
</code>
</div>
</div>
<div class="col-sm-12 col-md-5">
<h5>Demo:</h5>
<div class="demo">
<form id="jsonform-demo">
<div>
The form fields below were generated by json code like on the left.
</div>
</form>
</div>
</div>
</div>
</div> <!-- end of .page -->
<div class="page">
<button class="fa fa-angle-left float-left mt-5" onclick="pg.prev()"></button>
<div class="row justify-content-center">
<h3 class="title">Search<a href="https://github.com/chrisBas/search" target="void">github-repo</a></h3>
</div>
<div class="row justify-content-center">
<div class="col-md-10 col-sm-12">
<h5>Description:</h5>
<p>Small JS/CSS library that adds efficient and customizable search functionality to a search-field.</p>
</div>
</div>
<div class="row justify-content-center">
<div class="col-sm-12 col-md-5">
<h5>Code:</h5>
<div class="code-container">
<code>
<input type="text" id="someUniqueId" /> <br />
... </br>
<script> <br />
function callback(result) {<br />
return new Promise( <br />
function(resolve, reject) {...} <br />
)<br />
}<br />
srch.setup("#someUniqueId", callback)<br />
</script> <br />
</code>
</div>
</div>
<div class="col-sm-12 col-md-5">
<h5>Demo:</h5>
<div class="demo">
<input type="text" id="search-demo" />
<p>
start to type out a single digit <br />
* notice the intentional delay <br />
* this will limit server requests <br />
thereby saving wasteful network <br \>
usage
</p>
</div>
</div>
</div>
</div> <!-- end of .page -->
</div> <!-- endof .pages -->
</div>
</body>
</html>