-
Notifications
You must be signed in to change notification settings - Fork 32
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
1 parent
abd608d
commit 8e92e80
Showing
28 changed files
with
1,058 additions
and
114 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{% xextends "base.html" with small_panel=true vcenter_panel=true active_tab=sign_in %} | ||
|
||
|
||
|
||
{% block content %} | ||
|
||
<form action=" | ||
{% if id_obj %} | ||
{% if what == 'authors' %} {% url 'edit' 'authors' id_obj %} {% endif %} | ||
{% if what == 'publishers' %} {% url 'edit' 'publishers' id_obj %} {% endif %} | ||
{% if what == 'periods' %} {% url 'edit' 'periods' id_obj %} {% endif %} | ||
{% else %} | ||
{% if what == 'authors' %} {% url 'new' 'authors' %} {% endif %} | ||
{% if what == 'publishers' %} {% url 'new' 'publishers' %} {% endif %} | ||
{% if what == 'periods' %} {% url 'new' 'periods' %} {% endif %} | ||
{% endif %} | ||
" | ||
method="POST" class="form-signin" role="form">{% csrf_token %} | ||
<h2 class="form-signin-heading">{{ title }}</h2> | ||
{% for field in form %} | ||
{{ field }} | ||
{% endfor %} | ||
{# <input class="date" id="id_date_of_birth" name="date_of_birth" type="date" /> #} | ||
|
||
<button class="btn btn-lg btn-primary btn-block" type="submit">Submit</button> | ||
</form> | ||
|
||
{% endblock %} |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,148 @@ | ||
{% xextends "base.html" with active_tab=home %} | ||
|
||
{% block content %} | ||
<div class="page-title-outer"><div class="page-title">Public home</div></div> | ||
<p> | ||
{% block include %} | ||
<link rel="stylesheet/less" href="{{ STATIC_URL }}css/public_home.less"> | ||
{# comment #} | ||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> | ||
<!--[if lt IE 9]> | ||
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> | ||
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> | ||
<![endif]--> | ||
{# endcomment #} | ||
{% endblock %} | ||
|
||
</p> | ||
{% block include_footer %} | ||
<script src="{{ STATIC_URL }}js/public_home.js"></script> | ||
{% endblock %} | ||
|
||
{% block site %} | ||
|
||
<div class="white-background"> | ||
<!-- Carousel | ||
================================================== --> | ||
<div id="myCarousel" class="carousel slide" data-ride="carousel"> | ||
<!-- Indicators --> | ||
<ol class="carousel-indicators"> | ||
<li data-target="#myCarousel" data-slide-to="0" class="active"></li> | ||
<li data-target="#myCarousel" data-slide-to="1"></li> | ||
<li data-target="#myCarousel" data-slide-to="2"></li> | ||
</ol> | ||
<div class="carousel-inner" role="listbox"> | ||
<div class="item active"> | ||
<img src="{{ STATIC_URL }}img/c1.jpg" alt="First slide"> | ||
<div class="container"> | ||
<div class="carousel-caption"> | ||
<h1>Welcome in Library Online Management System</h1> | ||
<p>Make yourself at home!</p> | ||
<p><a class="btn btn-lg btn-primary" href="{% url 'sign_up' %}" role="button">Sign up today</a></p> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="item"> | ||
<img src="{{ STATIC_URL }}img/c2.jpg" alt="Second slide"> | ||
<div class="container"> | ||
<div class="carousel-caption"> | ||
<h1>Another example headline.</h1> | ||
<p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p> | ||
<p><a class="btn btn-lg btn-primary" href="{% url 'about' %}" role="button">Learn more</a></p> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="item"> | ||
<img src="{{ STATIC_URL }}img/c3.jpg" alt="Third slide"> | ||
<div class="container"> | ||
<div class="carousel-caption"> | ||
<h1>One more for good measure.</h1> | ||
<p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p> | ||
<p><a class="btn btn-lg btn-primary" href="#team" role="button">Meet our team!</a></p> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<a class="left carousel-control" href="#myCarousel" role="button" data-slide="prev"> | ||
<span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span> | ||
<span class="sr-only">Previous</span> | ||
</a> | ||
<a class="right carousel-control" href="#myCarousel" role="button" data-slide="next"> | ||
<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span> | ||
<span class="sr-only">Next</span> | ||
</a> | ||
</div><!-- /.carousel --> | ||
|
||
|
||
<!-- Marketing messaging and featurettes | ||
================================================== --> | ||
<!-- Wrap the rest of the page in another container to center all the content. --> | ||
|
||
<div class="container marketing"> | ||
|
||
<h1 class="featurette-heading" id="team">Meet our team!</h1> | ||
<!-- Three columns of text below the carousel --> | ||
<div class="row"> | ||
<div class="col-lg-4"> | ||
<img class="img-circle" src="data:image/gif;base64,R0lGODlhAQABAIAAAHd3dwAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==" alt="Generic placeholder image" style="width: 140px; height: 140px;"> | ||
<h2>Heading</h2> | ||
<p>Donec sed odio dui. Etiam porta sem malesuada magna mollis euismod. Nullam id dolor id nibh ultricies vehicula ut id elit. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Praesent commodo cursus magna.</p> | ||
<p><a class="btn btn-default" href="#" role="button">View details »</a></p> | ||
</div><!-- /.col-lg-4 --> | ||
<div class="col-lg-4"> | ||
<img class="img-circle" src="data:image/gif;base64,R0lGODlhAQABAIAAAHd3dwAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==" alt="Generic placeholder image" style="width: 140px; height: 140px;"> | ||
<h2>Heading</h2> | ||
<p>Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh.</p> | ||
<p><a class="btn btn-default" href="#" role="button">View details »</a></p> | ||
</div><!-- /.col-lg-4 --> | ||
<div class="col-lg-4"> | ||
<img class="img-circle" src="data:image/gif;base64,R0lGODlhAQABAIAAAHd3dwAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==" alt="Generic placeholder image" style="width: 140px; height: 140px;"> | ||
<h2>Heading</h2> | ||
<p>Donec sed odio dui. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Vestibulum id ligula porta felis euismod semper. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.</p> | ||
<p><a class="btn btn-default" href="#" role="button">View details »</a></p> | ||
</div><!-- /.col-lg-4 --> | ||
</div><!-- /.row --> | ||
|
||
|
||
<!-- START THE FEATURETTES --> | ||
|
||
<hr class="featurette-divider"> | ||
|
||
<div class="row featurette"> | ||
<div class="col-md-7"> | ||
<h2 class="featurette-heading">First featurette heading. <span class="text-muted"></span></h2> | ||
<p class="lead">Donec ullamcorper nulla non metus auctor fringilla. Vestibulum id ligula porta felis euismod semper. Praesent commodo cursus magna, vel scelerisque nisl consectetur. Fusce dapibus, tellus ac cursus commodo.</p> | ||
</div> | ||
<div class="col-md-5"> | ||
<img class="featurette-image img-responsive" data-src="holder.js/300x300/auto" | ||
alt="Generic placeholder image"> | ||
</div> | ||
</div> | ||
|
||
<hr class="featurette-divider"> | ||
|
||
<div class="row featurette"> | ||
<div class="col-md-5"> | ||
<img class="featurette-image img-responsive" data-src="holder.js/300x300/auto" | ||
alt="Generic placeholder image"> | ||
</div> | ||
<div class="col-md-7"> | ||
<h2 class="featurette-heading">Oh yeah, it's that good. <span class="text-muted">See for yourself.</span></h2> | ||
<p class="lead">Donec ullamcorper nulla non metus auctor fringilla. Vestibulum id ligula porta felis euismod semper. Praesent commodo cursus magna, vel scelerisque nisl consectetur. Fusce dapibus, tellus ac cursus commodo.</p> | ||
</div> | ||
</div> | ||
|
||
<hr class="featurette-divider"> | ||
|
||
<div class="row featurette"> | ||
<div class="col-md-7"> | ||
<h2 class="featurette-heading">And lastly, this one. <span class="text-muted">Checkmate.</span></h2> | ||
<p class="lead">Donec ullamcorper nulla non metus auctor fringilla. Vestibulum id ligula porta felis euismod semper. Praesent commodo cursus magna, vel scelerisque nisl consectetur. Fusce dapibus, tellus ac cursus commodo.</p> | ||
</div> | ||
<div class="col-md-5"> | ||
<img class="featurette-image img-responsive" data-src="holder.js/300x300/auto" | ||
alt="Generic placeholder image"> | ||
</div> | ||
</div> | ||
|
||
<hr class="featurette-divider"> | ||
|
||
<!-- /END THE FEATURETTES --> | ||
</div> | ||
{% endblock %} |
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
Oops, something went wrong.