Skip to content

Commit

Permalink
Move application files all into one folder
Browse files Browse the repository at this point in the history
  • Loading branch information
EliJDonahue committed May 2, 2019
1 parent d85eda0 commit 2078ea6
Show file tree
Hide file tree
Showing 26 changed files with 1,618 additions and 1,618 deletions.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
202 changes: 101 additions & 101 deletions index.html → ProblemReporter/index.html
Original file line number Diff line number Diff line change
@@ -1,102 +1,102 @@
<!DOCTYPE html>
<html>

<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="styles/style.css">
<link rel="manifest" href="manifest.json">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="Problem Reporter">
<link rel="apple-touch-icon" href="images/icons/icon-152x152.png">
<link rel="icon" href="favicon.ico" type="image/x-icon" />
<meta name="msapplication-TileImage" content="images/icons/icon-144x144.png">
<meta name="msapplication-TileColor" content="#2F3BA2">
<meta name="Description" content="Application to submit problem reports to innovator">
<meta name="theme-color" content="#3F51B5" />
<title>Problem Reporter</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<script src="scripts/md5.min.js"></script>
<script src="scripts/httpRequestManager.js" async></script>
<script src="scripts/oauthManager.js" async></script>
<script src="scripts/app.js" async></script>
</head>

<body onload="initialize()">

<header class="header">
<button class="navButton" id="navButton" onclick="openNav()" aria-label="Menu">
<i class="fa fa-bars" id="fa fa-bars"></i>
</button>
<h1 class=" header_title">Problem Reporter</h1>
</header>

<div id="sideNav" class="sidenav">
<a href="javascript:void(0)" class="closebtn" onclick="closeNav()">&times;</a>
<a onclick="showModule('newReportModule')" href="#">Create New Report</a>
<a onclick="showModule('allReportsModule'); showUserReports();" href="#">Show Open Reports</a>
<a onclick="signOut()" href="#">Sign Out</a>
</div>

<div id="loader" class="loader">
<svg viewBox="0 0 32 32" width="32" height="32">
<circle id="spinner" cx="16" cy="16" r="14" fill="none"></circle>
</svg>
</div>

<main class="main" id="main">
<div id="loginDialog" class="modal">
<form class="modal-content animate" onsubmit="return loginFromUI();">
<div class="imgcontainer">
<img src="images/avatar.png" alt="Avatar" class="avatar">
</div>

<div class="container">
<label for="database"><b>Database</b></label>
<select name="database" id="database" required>
<option value="" disabled selected>Database Name</option>
</select>

<label for="username"><b>Username</b></label>
<input type="text" id="username" placeholder="Enter Username" name="username"
autocomplete="username" required>

<label for="password"><b>Password</b></label>
<input type="password" id="password" placeholder="Enter Password" name="password"
autocomplete="current-password" required>

<label>
<input type="checkbox" id="rememberMe" name="rememberMe" checked="checked"> Remember me
</label>

<button type="submit">Login</button>
</div>
</form>
</div>
<div id="newReportModule" class="modules">
<form>
<label for="title"><b>Title</b></label>
<input id="title" name="title" class="inputText" type="text" placeholder="Problem Summary"></input>

<label for="problemDate"><b>Date</b></label>
<input type="date" id="problemDate" name="problemDate" value="">

<label for="description"><b>Description</b></label>
<textarea id="description" placeholder="Describe the problem"></textarea>


<input type="file" id="imageUpload" onchange="getImage();" accept="image/*"></input>
<button id="photoButton" onclick="document.getElementById('imageUpload').click(); return false;">
</button>

<button type="submit" onclick="submitReport(); return false;">Submit Problem Report</button>
</form>
</div>
<div id="allReportsModule" class="modules">
</div>
</main>
</body>

<!DOCTYPE html>
<html>

<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="styles/style.css">
<link rel="manifest" href="manifest.json">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="Problem Reporter">
<link rel="apple-touch-icon" href="images/icons/icon-152x152.png">
<link rel="icon" href="favicon.ico" type="image/x-icon" />
<meta name="msapplication-TileImage" content="images/icons/icon-144x144.png">
<meta name="msapplication-TileColor" content="#2F3BA2">
<meta name="Description" content="Application to submit problem reports to innovator">
<meta name="theme-color" content="#3F51B5" />
<title>Problem Reporter</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<script src="scripts/md5.min.js"></script>
<script src="scripts/httpRequestManager.js" async></script>
<script src="scripts/oauthManager.js" async></script>
<script src="scripts/app.js" async></script>
</head>

<body onload="initialize()">

<header class="header">
<button class="navButton" id="navButton" onclick="openNav()" aria-label="Menu">
<i class="fa fa-bars" id="fa fa-bars"></i>
</button>
<h1 class=" header_title">Problem Reporter</h1>
</header>

<div id="sideNav" class="sidenav">
<a href="javascript:void(0)" class="closebtn" onclick="closeNav()">&times;</a>
<a onclick="showModule('newReportModule')" href="#">Create New Report</a>
<a onclick="showModule('allReportsModule'); showUserReports();" href="#">Show Open Reports</a>
<a onclick="signOut()" href="#">Sign Out</a>
</div>

<div id="loader" class="loader">
<svg viewBox="0 0 32 32" width="32" height="32">
<circle id="spinner" cx="16" cy="16" r="14" fill="none"></circle>
</svg>
</div>

<main class="main" id="main">
<div id="loginDialog" class="modal">
<form class="modal-content animate" onsubmit="return loginFromUI();">
<div class="imgcontainer">
<img src="images/avatar.png" alt="Avatar" class="avatar">
</div>

<div class="container">
<label for="database"><b>Database</b></label>
<select name="database" id="database" required>
<option value="" disabled selected>Database Name</option>
</select>

<label for="username"><b>Username</b></label>
<input type="text" id="username" placeholder="Enter Username" name="username"
autocomplete="username" required>

<label for="password"><b>Password</b></label>
<input type="password" id="password" placeholder="Enter Password" name="password"
autocomplete="current-password" required>

<label>
<input type="checkbox" id="rememberMe" name="rememberMe" checked="checked"> Remember me
</label>

<button type="submit">Login</button>
</div>
</form>
</div>
<div id="newReportModule" class="modules">
<form>
<label for="title"><b>Title</b></label>
<input id="title" name="title" class="inputText" type="text" placeholder="Problem Summary"></input>

<label for="problemDate"><b>Date</b></label>
<input type="date" id="problemDate" name="problemDate" value="">

<label for="description"><b>Description</b></label>
<textarea id="description" placeholder="Describe the problem"></textarea>


<input type="file" id="imageUpload" onchange="getImage();" accept="image/*"></input>
<button id="photoButton" onclick="document.getElementById('imageUpload').click(); return false;">
</button>

<button type="submit" onclick="submitReport(); return false;">Submit Problem Report</button>
</form>
</div>
<div id="allReportsModule" class="modules">
</div>
</main>
</body>

</html>
58 changes: 29 additions & 29 deletions manifest.json → ProblemReporter/manifest.json
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
{
"name": "Problem Reporter",
"short_name": "Problem Reporter",
"icons": [
{
"src": "images/icons/icon32-x32.png",
"sizes": "32x32",
"type": "image/png"
},
{
"src": "images/icons/icon-64x64.png",
"sizes": "64x64",
"type": "image/png"
},
{
"src": "images/icons/icon-144x144.png",
"sizes": "144x144",
"type": "image/png"
},
{
"src": "images/icons/icon-256x256.png",
"sizes": "256x256",
"type": "image/png"
}
],
"start_url": "index.html",
"display": "standalone",
"background_color": "#ebe9e9",
"theme_color": "#3F51B5"
{
"name": "Problem Reporter",
"short_name": "Problem Reporter",
"icons": [
{
"src": "images/icons/icon32-x32.png",
"sizes": "32x32",
"type": "image/png"
},
{
"src": "images/icons/icon-64x64.png",
"sizes": "64x64",
"type": "image/png"
},
{
"src": "images/icons/icon-144x144.png",
"sizes": "144x144",
"type": "image/png"
},
{
"src": "images/icons/icon-256x256.png",
"sizes": "256x256",
"type": "image/png"
}
],
"start_url": "index.html",
"display": "standalone",
"background_color": "#ebe9e9",
"theme_color": "#3F51B5"
}
File renamed without changes.
74 changes: 37 additions & 37 deletions pages/offline.html → ProblemReporter/pages/offline.html
Original file line number Diff line number Diff line change
@@ -1,38 +1,38 @@
<!DOCTYPE html>
<html>

<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Aras Problem Reporter</title>
<link rel="stylesheet" type="text/css" href="/styles/style.css">
<link rel="manifest" href="/manifest.json">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="Problem Reporter">
<link rel="apple-touch-icon" href="images/icons/icon-152x152.png">
<meta name="msapplication-TileImage" content="images/icons/icon-144x144.png">
<meta name="msapplication-TileColor" content="#2F3BA2">
</head>

<body>
<div id="loginDialog" class="modal">
<form class="modal-content">
<div class="imgcontainer">
<img src="/images/Logo.png" alt="logo" class="logo">
</div>

<div class="container" style="background-color:#1a173a">
<button id="loginButton" type="submit">The application is offline. Click to reload</button>
</div>
</form>
</div>
<div class="loader">
<svg viewBox="0 0 32 32" width="32" height="32">
<circle id="spinner" cx="16" cy="16" r="14" fill="none"></circle>
</svg>
</div>
</body>

<!DOCTYPE html>
<html>

<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Aras Problem Reporter</title>
<link rel="stylesheet" type="text/css" href="/styles/style.css">
<link rel="manifest" href="/manifest.json">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="Problem Reporter">
<link rel="apple-touch-icon" href="images/icons/icon-152x152.png">
<meta name="msapplication-TileImage" content="images/icons/icon-144x144.png">
<meta name="msapplication-TileColor" content="#2F3BA2">
</head>

<body>
<div id="loginDialog" class="modal">
<form class="modal-content">
<div class="imgcontainer">
<img src="/images/Logo.png" alt="logo" class="logo">
</div>

<div class="container" style="background-color:#1a173a">
<button id="loginButton" type="submit">The application is offline. Click to reload</button>
</div>
</form>
</div>
<div class="loader">
<svg viewBox="0 0 32 32" width="32" height="32">
<circle id="spinner" cx="16" cy="16" r="14" fill="none"></circle>
</svg>
</div>
</body>

</html>
Loading

0 comments on commit 2078ea6

Please sign in to comment.