-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
470 additions
and
31 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,218 @@ | ||
<!DOCTYPE html> {% load static %} | ||
<html lang="en"> | ||
|
||
<head> | ||
|
||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | ||
<meta name="description" content=""> | ||
<meta name="author" content=""> | ||
|
||
<title>Edit CP</title> | ||
<style> | ||
body { | ||
font-family: Arial, Helvetica, sans-serif; | ||
} | ||
/* The Modal (background) */ | ||
|
||
@import url(https://fonts.googleapis.com/css?family=Roboto); | ||
/****** LOGIN MODAL ******/ | ||
|
||
.loginmodal-container { | ||
padding: 30px; | ||
width: 80% !important; | ||
background-color: #F7F7F7; | ||
margin: 0 auto; | ||
border-radius: 2px; | ||
box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3); | ||
overflow: hidden; | ||
font-family: roboto; | ||
} | ||
|
||
.loginmodal-container h1 { | ||
text-align: center; | ||
font-size: 1.8em; | ||
font-family: roboto; | ||
} | ||
|
||
.loginmodal-container input[type=submit] { | ||
width: 100%; | ||
display: block; | ||
margin-bottom: 10px; | ||
position: relative; | ||
} | ||
|
||
.loginmodal-container input[type=text], | ||
input[type=password] { | ||
height: 50px; | ||
font-size: 16px; | ||
width: 130%; | ||
margin-bottom: 10px; | ||
-webkit-appearance: none; | ||
background: #fff; | ||
border: 1px solid #d9d9d9; | ||
border-top: 1px solid #c0c0c0; | ||
/* border-radius: 2px; */ | ||
padding: 0 8px; | ||
box-sizing: border-box; | ||
-moz-box-sizing: border-box; | ||
} | ||
|
||
.loginmodal-container input[type=text]:hover { | ||
border: 1px solid #b9b9b9; | ||
border-top: 1px solid #a0a0a0; | ||
-moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); | ||
-webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); | ||
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); | ||
} | ||
|
||
.loginmodal-submit { | ||
/* border: 1px solid #3079ed; */ | ||
border: 0px; | ||
color: #fff; | ||
text-shadow: 0 1px rgba(0, 0, 0, 0.1); | ||
background-color: #4d90fe; | ||
padding: 17px 0px; | ||
font-family: roboto; | ||
font-size: 14px; | ||
/* background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#4d90fe), to(#4787ed)); */ | ||
} | ||
|
||
.loginmodal-submit:hover { | ||
/* border: 1px solid #2f5bb7; */ | ||
border: 0px; | ||
text-shadow: 0 1px rgba(0, 0, 0, 0.3); | ||
background-color: #357ae8; | ||
/* background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#4d90fe), to(#357ae8)); */ | ||
} | ||
|
||
.loginmodal-container a { | ||
text-decoration: none; | ||
color: #666; | ||
font-weight: 400; | ||
text-align: center; | ||
display: inline-block; | ||
opacity: 0.6; | ||
transition: opacity ease 0.5s; | ||
} | ||
|
||
.login-help { | ||
font-size: 12px; | ||
} | ||
</style> | ||
<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> | ||
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script> | ||
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> | ||
|
||
|
||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> | ||
<script src='https://kit.fontawesome.com/a076d05399.js'></script> | ||
<link href="https://fonts.googleapis.com/css?family=Nunito:200,200i,300,300i,400,400i,600,600i,700,700i,800,800i,900,900i" rel="stylesheet"> | ||
<link href="{%static '/css/sb-admin-2.min.css'%}" rel="stylesheet"> | ||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css"> | ||
<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script> | ||
|
||
|
||
|
||
</head> | ||
|
||
<body id="page-top"> | ||
<!-- #2B2D30 --> | ||
<div id="wrapper"> | ||
|
||
|
||
<div id="content-wrapper" class="d-flex flex-column"> | ||
|
||
<div id="content"> | ||
<nav class="navbar navbar-expand-lg navbar-light bg-light bg-light shadow"> | ||
|
||
<a href="/cp"><strong>CP</strong></a> | ||
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarText" aria-controls="navbarText" aria-expanded="false" aria-label="Toggle navigation"> | ||
<span class="navbar-toggler-icon"></span> | ||
</button> | ||
<div class="collapse navbar-collapse" id="navbarText"> | ||
<ul class="navbar-nav mr-auto"> | ||
<li class="nav-item active"> | ||
<a class="nav-link" href="/">Home <span class="sr-only">(current)</span></a> | ||
</li> | ||
{% if request.user.is_authenticated%} | ||
<li class="nav-item active"> | ||
<a class="nav-link" href="/logout">Logout <span class="sr-only">(current)</span></a> | ||
</li> | ||
{%endif%} | ||
</ul> | ||
|
||
|
||
</div> | ||
<div class="topbar-divider d-none d-sm-block"> | ||
{% if request.user.is_authenticated%} | ||
<p>{{request.user.username}}</p> | ||
{%endif%} </div> | ||
|
||
|
||
</nav> | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<div class="container-fluid" style="width:100%;"> | ||
|
||
|
||
|
||
<form method="POST" action="" enctype="multipart/form-data"> | ||
{%csrf_token%} | ||
<div class="loginmodal-container"> | ||
<h1>Add Book</h1><br> | ||
<div class="form-row"> | ||
<div class="form-group"> | ||
<label for="title">Name</label> | ||
<input type="text" name="name"> | ||
</div> | ||
</div> | ||
<div class="form-row"> | ||
<div class="form-group"> | ||
<label for="data">Drivr / Any Url</label> | ||
<input type="url" name="url" > | ||
</div> | ||
</div> | ||
|
||
<button type="submit" class="btn btn-primary">Add</button> | ||
</div> | ||
</form> | ||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Footer --> | ||
|
||
|
||
|
||
|
||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
|
||
|
||
|
||
|
||
|
||
<script src="https://code.iconify.design/1/1.0.7/iconify.min.js"></script> | ||
|
||
|
||
|
||
|
||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script> | ||
|
||
|
||
|
||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Oops, something went wrong.