Skip to content

Commit

Permalink
fixed validator errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jack775544 committed May 30, 2016
1 parent 9ddbc1b commit 0923e6e
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 29 deletions.
1 change: 1 addition & 0 deletions web/adminLogin.jsp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<html>
<head>
<%@include file="includes/head.jsp" %>
Expand Down
5 changes: 3 additions & 2 deletions web/adminView.jsp
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
<%@ page import="java.util.List" %>
<%@ page import="jTransfer.Types" %>
<!DOCTYPE html>
<html>
<head>
<%@include file="includes/head.jsp" %>
</head>
<body>
<div class="row">
<header class="row">
<div class="col-sm-11">
<h1>Browser Transfer</h1>
</div>
Expand All @@ -14,7 +15,7 @@
<input type="submit" name="logout" value="Logout" class="btn" id="logout">
</form>
</div>
</div>
</header>
<div class="jumbotron files row">
<div id="filecontainer" class="row">
<table>
Expand Down
5 changes: 3 additions & 2 deletions web/edit.jsp
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
<!DOCTYPE html>
<html>
<head>
<%@include file="includes/head.jsp" %>
</head>
<body>
<div class="row">
<header class="row">
<div class="col-sm-11">
<h1>Browser Transfer</h1>
<div id="error" class="alert alert-danger"></div>
Expand All @@ -13,7 +14,7 @@
<input type="submit" name="logout" value="Logout" class="btn" id="logout">
</form>
</div>
</div>
</header>
<div class="jumbotron row files">
<div class="row" id="editoptions">
<button type="button" id="save" class="btn"><span class="glyphicon glyphicon-floppy-disk"
Expand Down
5 changes: 3 additions & 2 deletions web/files.jsp
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
<!DOCTYPE html>
<html>
<head>
<%@include file="includes/head.jsp" %>
</head>
<body>
<div class="row">
<header class="row">
<div class="col-sm-11">
<h1>Browser Transfer</h1>
</div>
Expand All @@ -12,7 +13,7 @@
<input type="submit" name="logout" value="Logout" class="btn" id="logout">
</form>
</div>
</div>
</header>
<div class="jumbotron row files" id="filesrow">
<div id="error" class="alert alert-danger"></div>
<div class="row" id="editoptions">
Expand Down
5 changes: 3 additions & 2 deletions web/index.jsp
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
<!DOCTYPE html>
<html>
<head>
<%@include file="includes/head.jsp" %>
</head>
<body>
<div class="container">
<div id="filetitle">
<header id="filetitle">
<h1>Browser Transfer</h1>
</div>
</header>
<div class="jumbotron">
<div id="error" class="alert alert-danger"></div>
<form action="<%= request.getAttribute("formUrl") %>" method="post" id="loginform" onSubmit="common.validateForm()">
Expand Down
2 changes: 1 addition & 1 deletion web/js/interface.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ $(document).ready(function () {
};

function buildListItem(url, modified, created, filename, size, textType, img, path, rmUrl) {
var tag = "<li><a class='itemlink {5}' href='{0}' data-modified='{1}' data-created='{2}' data-name='{3}' data-size='{4}' data-type='{5}' data-linkname='{3}' data-path='{7}' data-rmlink='{8}'><img src='{6}'>{3}</a></li>";
var tag = "<li><a class='itemlink {5}' href='{0}' data-modified='{1}' data-created='{2}' data-name='{3}' data-size='{4}' data-type='{5}' data-linkname='{3}' data-path='{7}' data-rmlink='{8}'><img src='{6}' alt='{5}'>{3}</a></li>";
return tag.format(url, modified, created, filename, size, textType, img, path, rmUrl);
}

Expand Down
20 changes: 0 additions & 20 deletions web/upload.jsp

This file was deleted.

0 comments on commit 0923e6e

Please sign in to comment.