Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bookshare
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
30
Issues
30
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
SRCT
bookshare
Commits
295a3ac3
Commit
295a3ac3
authored
Jan 13, 2017
by
Daniel W Bond
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed banner header from logged-in homepage
parent
c99aa2b5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
30 deletions
+33
-30
bookshare/templates/index.html
bookshare/templates/index.html
+33
-30
No files found.
bookshare/templates/index.html
View file @
295a3ac3
...
@@ -6,6 +6,8 @@ SRCT Bookshare • Homepage
...
@@ -6,6 +6,8 @@ SRCT Bookshare • Homepage
{% block content %}
{% block content %}
{% if not user.is_authenticated %}
<div
class=
"container"
>
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"col-md-12 license"
>
<div
class=
"col-md-12 license"
>
...
@@ -17,14 +19,39 @@ SRCT Bookshare • Homepage
...
@@ -17,14 +19,39 @@ SRCT Bookshare • Homepage
</div>
</div>
</div>
</div>
</div>
</div>
{% if user.is_authenticated %}
<hr
/>
<div
class=
"row"
>
<div
class=
"col-sm-3 text-center"
>
<h3><i
class=
"fa fa-key fa-lg"
></i></h3>
<h4>
Log in with your Mason credentials
</h4>
</div>
<div
class=
"col-sm-3 text-center"
>
<h3><i
class=
"fa fa-gift fa-lg"
></i></h3>
<h4>
Exchange your used textbooks with Mason students
</h4>
</div>
<div
class=
"col-sm-3 text-center"
>
<h3><i
class=
"fa fa-book fa-lg"
></i></h3>
<h4>
Search for textbooks by course and more
</h4>
</div>
<div
class=
"col-sm-3 text-center"
>
<h3><i
class=
"fa fa-eye fa-lg"
></i></h3>
<h4>
Get updates when textbooks you want are posted
</h4>
</div>
</div>
{% else %}
{% load trades_extras %}
{% load trades_extras %}
<h2>
Welcome, {{ request.user.student.get_first_name_or_uname }}!
</h2>
<legend
class=
"text-center"
>
<legend
class=
"text-center"
>
<i
class=
"fa fa-eye"
></i>
<strong>
Your Lookouts
</strong>
<i
class=
"fa fa-eye"
></i>
<strong>
Your Lookouts
</strong>
<small>
(
<a
href=
"{% url 'create_lookout' %}"
>
Create
</a>
)
</small>
<small>
(
<a
href=
"{% url 'create_lookout' %}"
>
Create
</a>
)
</small>
</legend>
</legend>
{% if lookouts %}
{% if lookouts %}
{% for lookout in lookouts %}
{% for lookout in lookouts %}
...
@@ -48,19 +75,14 @@ SRCT Bookshare • Homepage
...
@@ -48,19 +75,14 @@ SRCT Bookshare • Homepage
{% else %}
{% else %}
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"col-md-
10 col-md-offset-1
"
>
<div
class=
"col-md-
8 col-md-offset-2
"
>
<div
class=
"panel panel-warning"
>
<div
class=
"panel panel-warning"
>
<div
class=
"panel-body text-center"
>
<div
class=
"panel-body text-center"
>
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"col-md-10 col-md-offset-1"
>
<div
class=
"col-md-10 col-md-offset-1"
>
<h3>
No lookout results.
</h3>
<p>
Lookouts are automatic searches for books you designate.
</p>
<p>
<p><a
href=
"{% url 'create_lookout' %}"
>
Save an ISBN
</a>
,
You don't have any lookouts yet. Lookouts are automatic
and we'll immediately let you know when a book you want is listed.
</p>
searches for books you have an eye out for. You can
<a
href=
"{% url 'create_lookout' %}"
>
create some
</a>
, and
we'll immediately let you know when a listing you want
goes up.
</p>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -68,28 +90,9 @@ SRCT Bookshare • Homepage
...
@@ -68,28 +90,9 @@ SRCT Bookshare • Homepage
</div>
</div>
</div>
</div>
{% endif %}
{% endif %}
{% else %}
<hr
/>
<div
class=
"row"
>
<div
class=
"col-sm-3 text-center"
>
<h3><i
class=
"fa fa-key fa-lg"
></i></h3>
<h4>
Log in with your Mason credentials
</h4>
</div>
<div
class=
"col-sm-3 text-center"
>
<h3><i
class=
"fa fa-gift fa-lg"
></i></h3>
<h4>
Exchange your used textbooks with Mason students
</h4>
</div>
<div
class=
"col-sm-3 text-center"
>
<h3><i
class=
"fa fa-book fa-lg"
></i></h3>
<h4>
Search for textbooks by course and more
</h4>
</div>
<div
class=
"col-sm-3 text-center"
>
<h3><i
class=
"fa fa-eye fa-lg"
></i></h3>
<h4>
Get updates when textbooks you want are posted
</h4>
</div>
</div>
{% endif %}
{% endif %}
<hr
/>
<hr
/>
<div
class=
"row"
>
<div
class=
"row"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment