|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<title>CoMato</title>
|
|
|
|
<link rel="stylesheet" href="css/style.css">
|
|
|
|
<link rel="stylesheet" href="css/simplemde.min.css">
|
|
|
|
|
|
|
|
|
|
|
|
<script src="js/libs/lightning-fs.min.js" type="application/javascript"></script>
|
|
|
|
<script src="js/libs/isomorphic-git.js" type="application/javascript"></script>
|
|
|
|
<script src="js/libs/simplemde.min.js"></script>
|
|
|
|
|
|
|
|
<script src="js/model.js" type="application/javascript"></script>
|
|
|
|
<script src="js/view.js" type="application/javascript"></script>
|
|
|
|
<script src="js/controller.js" type="application/javascript"></script>
|
|
|
|
<script src="js/main.js" type="module" type="application/javascript"></script>
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
<div class="container">
|
|
|
|
<nav>
|
|
|
|
<button class="clone">Clone</button>
|
|
|
|
<button class="wipe">Wipe FS</button>
|
|
|
|
<button class="publishBtn">Publikovat (Commit & Push)</button>
|
|
|
|
<button class="settingsBtn">Settings</button>
|
|
|
|
</nav>
|
|
|
|
<aside>
|
|
|
|
<div>
|
|
|
|
<ul>
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<div class="loading">
|
|
|
|
<img src="img/loading.gif" alt="loading">
|
|
|
|
</div>
|
|
|
|
</aside>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
|
|
<div id="editText">
|
|
|
|
<textarea name="" id="editor" cols="30" rows="10" disabled></textarea>
|
|
|
|
<button disabled id="saveBtn">Save</button>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<footer>
|
|
|
|
CoMato © 2020 David Zálešák<sub>Seminární práce do předmětu tvorba www aplikací</sub>
|
|
|
|
</footer>
|
|
|
|
<div class="settingsbg">
|
|
|
|
<div class="settings">
|
|
|
|
<div class="close settingsClose">X</div>
|
|
|
|
<form action="javascript:void(0);">
|
|
|
|
<label for="inputRepository">Git repository:</label>
|
|
|
|
<input type="text" id="inputRepository" required>
|
|
|
|
<label for="inputBaseDir">Base directory:</label>
|
|
|
|
<input type="text" id="inputBaseDir">
|
|
|
|
<label for="inputName">Name:</label>
|
|
|
|
<input type="text" id="inputName" required>
|
|
|
|
<label for="inputEmail">Email:</label>
|
|
|
|
<input type="email" id="inputEmail" required>
|
|
|
|
<button class="close">Cancel</button>
|
|
|
|
<button id="settingsSubmit" type="submit">Submit</button>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="commitWrapper">
|
|
|
|
<div class="commit">
|
|
|
|
<div class="close settingsClose">X</div>
|
|
|
|
Editted files:
|
|
|
|
<ul id="edittedFiles"></ul>
|
|
|
|
<div id="errorPublish">Test</div>
|
|
|
|
<form action="javascript:void(0);" id="formPublish">
|
|
|
|
<label for="inputCommitMsg">Poznámka k úpravám:</label>
|
|
|
|
<input type="text" id="inputCommitMsg" required>
|
|
|
|
<label for="inputUser">Git uživatelské jméno:</label>
|
|
|
|
<input type="text" id="inputUser" required>
|
|
|
|
<label for="inputPasswd">Git heslo:</label>
|
|
|
|
<input type="password" id="inputPasswd" required>
|
|
|
|
<button class="close">Cancel</button>
|
|
|
|
<button id="commitSubmit" type="submit">Publikovat</button>
|
|
|
|
</form>
|
|
|
|
<img src="./img/loading.gif" alt="loading" class="publishLoading">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|