1
0
mirror of https://github.com/Foltik/Shimapan synced 2024-11-10 23:53:31 -05:00
shimapan/public/views/index.html
2017-10-09 22:01:02 -04:00

52 lines
2.3 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<base href="/"/>
<title>Shimapan</title>
<link rel="stylesheet" href="/css/splash.css"/>
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet"/>
<link href="https://fonts.googleapis.com/css?family=Roboto+Mono" rel="stylesheet"/>
<script src="/libs/angular/angular.min.js"></script>
<script src="/libs/ng-file-upload/ng-file-upload-all.min.js"></script>
<script src="https://cdn.rawgit.com/zenorocha/clipboard.js/master/dist/clipboard.min.js"></script>
<script src="/libs/ngclipboard/src/ngclipboard.js"></script>
<script src="/js/controllers/UploadCtrl.js"></script>
<script src="/js/app.js"></script>
</head>
<body ng-app="shimapan">
<div id="container">
<h1>Shimapan~</h1>
<div class="upload" ng-controller="UploadController">
<form id="upload-form" ng-submit="submit()">
<button id="upload-btn" class="btn" ngf-select="uploadFiles($files, $invalidFiles)" multiple>Select or drop file(s)</button>
</form>
<ul id="upload-filelist">
<li ng-repeat="file in files">
<span class="list-name" ng-bind="file.name"></span>
<progress class="list-progress" max="100" value="{{file.progress}}" ng-hide="file.progress == 100"></progress>
<span class="list-url">
<a href="https://shimapan.rocks/v/{{file.result.name}}" ng-hide="file.progress < 100">https://shimapan.rocks/v/{{file.result.name}}</a>
<button class="list-url-clipboard-btn" ngclipboard data-clipboard-text="https://shimapan.rocks/v/{{file.result.name}}">
<img src="/img/glyphicons-512-copy.png"/>
</button>
</span>
</li>
<li ng-repeat="file in errorFiles">{{file.name}} {{file.$error}} {{file.$errorParam}}</li>
</ul>
</div>
<nav>
<ul>
<li><a href="/">Shimapan</a></li>
<li><a href="">Panel</a></li>
<li><a href="">Tools</a></li>
<li><a href="">Git</a></li>
<li><a href="">FAQ</a></li>
</ul>
</nav>
</div>
</body>
</html>