Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
uBus
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chiara Veronica Señires
uBus
Commits
7d5b052d
Commit
7d5b052d
authored
Oct 28, 2015
by
Ian De La Cruz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added creation of admin user.
parent
00f131d3
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
80 additions
and
1 deletion
+80
-1
adminAccount.html
web-app/adminAccount.html
+58
-0
style.css
web-app/css/style.css
+17
-0
index.html
web-app/index.html
+4
-0
app.js
web-app/js/app.js
+1
-1
No files found.
web-app/adminAccount.html
0 → 100644
View file @
7d5b052d
<!DOCTYPE html>
<html>
<head>
<title>
uBus | Bus Schedules
</title>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"css/font-awesome.min.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"css/style.css"
>
<script
type=
"text/javascript"
src=
"https://code.jquery.com/jquery-2.1.4.js"
></script>
<script
src=
"http://www.parsecdn.com/js/parse-1.6.6.min.js"
></script>
</head>
<body>
<header>
<nav>
<a
href=
"index.html"
><img
src=
"img/logo.png"
width=
"40px"
></a>
<a
href=
"javascript:void(0);"
><img
src=
"img/add.png"
width=
"40px"
></a>
<a
href=
"javascript:void(0);"
><img
src=
"img/search.png"
width=
"40px"
></a>
</nav>
</header>
<div
class=
"wrapper"
>
<div
class=
"title"
>
<img
src=
"img/scheduling.png"
width=
"40px"
>
<h1>
Create Admin Account
</h1>
</div>
<div
class=
"card"
>
<div
class=
"row"
>
<form
method=
"post"
class=
"card_adminAccount"
id=
"create_adminAccount"
style=
"display:block; margin:0 auto;"
>
<fieldset>
<label
for=
"addUname"
><i
class=
"fa fa-2x fa-user"
></i>
<input
type=
"text"
id=
"addUname"
placeholder=
"Username"
></label>
</fieldset>
<fieldset>
<label
for=
"addPassword"
><i
class=
"fa fa-2x fa-key"
></i>
<input
type=
"password"
id=
"addPassword"
placeholder=
"Password"
>
</label>
</fieldset>
<fieldset>
<label
for=
"addEmail"
><i
class=
"fa fa-2x fa-envelope"
></i>
<input
type=
"text"
id=
"addEmail"
placeholder=
"admin@example.com"
>
</label>
</fieldset>
<fieldset>
<label
for=
"addBusCompany"
><i
class=
"fa fa-2x fa-bus"
></i>
<input
type=
"text"
id=
"addBusCompany"
placeholder=
"Example Lines"
>
</label>
</fieldset>
<fieldset
style=
"margin-top: 40px;"
>
<input
type=
"submit"
>
</fieldset>
</form>
</div>
</div>
<div
class=
"schedules"
></div>
</div>
<script
type=
"text/javascript"
src=
"js/app.js"
></script>
</body>
</html>
web-app/css/style.css
View file @
7d5b052d
...
@@ -113,6 +113,23 @@ nav a:first-child {
...
@@ -113,6 +113,23 @@ nav a:first-child {
border-right
:
0
;
border-right
:
0
;
}
}
.card_adminAccount
fieldset
{
display
:
inline-block
;
width
:
40%
;
border
:
none
;
margin-bottom
:
20px
;
}
.card_adminAccount
input
[
type
=
"text"
],
.card_adminAccount
input
[
type
=
"password"
]
{
position
:
relative
;
top
:
50%
;
transform
:
translateY
(
-50%
);
margin-left
:
15px
;
border-top
:
0
;
border-left
:
0
;
border-right
:
0
;
}
input
[
type
=
"text"
]
{
input
[
type
=
"text"
]
{
}
}
...
...
web-app/index.html
View file @
7d5b052d
...
@@ -4,13 +4,17 @@
...
@@ -4,13 +4,17 @@
<title>
uBus | Admin System
</title>
<title>
uBus | Admin System
</title>
<meta
name=
"description"
content=
"uBus Ticket Reservation System administrator tools."
>
<meta
name=
"description"
content=
"uBus Ticket Reservation System administrator tools."
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"css/font-awesome.min.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"css/style.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"css/style.css"
>
<script
type=
"text/javascript"
src=
"https://code.jquery.com/jquery-2.1.4.js"
></script>
<script
src=
"http://www.parsecdn.com/js/parse-1.6.6.min.js"
></script>
</head>
</head>
<body>
<body>
<header>
<header>
<nav>
<nav>
<a
href=
"index.html"
><img
src=
"img/logo.png"
width=
"40px"
></a>
<a
href=
"index.html"
><img
src=
"img/logo.png"
width=
"40px"
></a>
<h1
style=
"display:inline-block; margin:0; padding-top:10px; padding-left:15px;"
>
Bus Ticket Reservation System
</h1>
<h1
style=
"display:inline-block; margin:0; padding-top:10px; padding-left:15px;"
>
Bus Ticket Reservation System
</h1>
<a
href=
"adminAccount.html"
style=
"color:white;padding:15px 20px;"
><i
class=
"fa fa-plus fa-2x"
></i></a>
</nav>
</nav>
</header>
</header>
...
...
web-app/js/app.js
View file @
7d5b052d
...
@@ -2,7 +2,7 @@ Parse.initialize("waBL5APV9kwdeqnm1kQ34BivGHQjjHQr1I58ubmJ", "01foVLqzLntdIIplsO
...
@@ -2,7 +2,7 @@ Parse.initialize("waBL5APV9kwdeqnm1kQ34BivGHQjjHQr1I58ubmJ", "01foVLqzLntdIIplsO
var
Schedule
=
Parse
.
Object
.
extend
(
"Schedule"
);
var
Schedule
=
Parse
.
Object
.
extend
(
"Schedule"
);
$
(
'#reload'
).
submit
(
function
(){
$
(
'#reload'
).
submit
(
function
(
event
){
event
.
preventDefault
();
event
.
preventDefault
();
var
cell
=
document
.
getElementById
(
"cellphone_number"
).
value
,
var
cell
=
document
.
getElementById
(
"cellphone_number"
).
value
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment