Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
go
Commits
0f8e773e
Commit
0f8e773e
authored
Nov 17, 2016
by
David Haynes
Browse files
public_landing and view link templates commented
- all templates are now commented!
parent
77afea2d
Pipeline
#487
passed with stage
in 7 minutes and 8 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
go/go/templates/public_landing.html
View file @
0f8e773e
<!-- inline css for just this page -->
<style>
.navbar-brand
{
padding
:
12px
15px
!important
;
...
...
@@ -10,15 +11,19 @@ banner,.page-header,#banner {
color
:
#FFFFFF
;
}
</style>
{% extends 'layouts/base.html' %}
<!-- include the base html template -->
{% extends 'layouts/base.html' %}
<!-- define the page title block -->
{% block title %}
SRCT Go
•
Welcome
{% endblock %}
<!-- define the content block for the page -->
{% block content %}
<!-- define the page header div -->
<div
class=
"page-header"
id=
"banner"
>
<div
class=
"row"
>
<div
class=
"col-md-12"
>
...
...
@@ -28,73 +33,75 @@ SRCT Go • Welcome
</div>
</div>
<!-- the main content row -->
<div
class=
"row"
>
<!-- what is go? -->
<div
class=
"col-md-4"
>
<h3><i
class=
"fa"
>
What is Go?
</i></h3>
<legend></legend>
<p>
Go provides University-branded URL shortening for student organizations,
administration, and ULife groups. Any approved user can generate a
<a
href=
"http://go.gmu.edu"
>
go.gmu.edu
</a>
address
that can redirect to a longer URL.
<br></br>
Go is a product of the
George Mason University
<a
href=
"http://srct.gmu.edu"
>
Student-Run Computing and Technology
</a>
student organization.
</p>
</div>
<div
class=
"col-md-4"
>
<h3><i
class=
"fa"
>
What is Go?
</i></h3>
<legend></legend>
<p>
Go provides University-branded URL shortening for student organizations,
administration, and ULife groups. Any approved user can generate a
<a
href=
"http://go.gmu.edu"
>
go.gmu.edu
</a>
address
that can redirect to a longer URL.
<br></br>
Go is a product of the
George Mason University
<a
href=
"http://srct.gmu.edu"
>
Student-Run Computing and Technology
</a>
student organization.
</p>
</div>
<div
class=
"col-md-4"
>
<h3><i
class=
"fa"
>
Why should I use Go?
</i></h3>
<legend></legend>
<p>
Go features:
</p>
<ul
class=
"fa-ul"
>
<li>
<i
class=
"fa-li fa fa-check-square"
></i>
Data tracking on the number of clicks a Go link gets.
</li>
<li>
<i
class=
"fa-li fa fa-check-square"
></i>
Options to share Go links across various social media platforms.
</li>
<li>
<i
class=
"fa-li fa fa-check-square"
></i>
QR Code generation at various resolutions, ready to be shared.
</li>
<li>
<i
class=
"fa-li fa fa-check-square"
></i>
Optional expiration for links after particular times.
</li>
</ul>
</div>
<div
class=
"col-md-4"
>
<h3><i
class=
"fa"
>
How do I access Go?
</i></h3>
<legend></legend>
<p>
In order to prevent abuse of the URL shortner, access to Go
is moderated by SRCT administrators. New users will need to fill out
a registration form in order to become an approved user.
<br></br>
Additionally, only users with a current, valid Mason username and password
may request to be approved.
</p>
<!-- why should I use Go? -->
<div
class=
"col-md-4"
>
<h3><i
class=
"fa"
>
Why should I use Go?
</i></h3>
<legend></legend>
<p>
Go features:
</p>
<ul
class=
"fa-ul"
>
<li>
<i
class=
"fa-li fa fa-check-square"
></i>
Data tracking on the number of clicks a Go link gets.
</li>
<li>
<i
class=
"fa-li fa fa-check-square"
></i>
Options to share Go links across various social media platforms.
</li>
<li>
<i
class=
"fa-li fa fa-check-square"
></i>
QR Code generation at various resolutions, ready to be shared.
</li>
<li>
<i
class=
"fa-li fa fa-check-square"
></i>
Optional expiration for links after particular times.
</li>
</ul>
</div>
</div>
<!-- how do I access Go? -->
<div
class=
"col-md-4"
>
<h3><i
class=
"fa"
>
How do I access Go?
</i></h3>
<legend></legend>
<p>
In order to prevent abuse of the URL shortner, access to Go
is moderated by SRCT administrators. New users will need to fill out
a registration form in order to become an approved user.
<br></br>
Additionally, only users with a current, valid Mason username and password
may request to be approved.
</p>
</div>
</div>
<br
/>
<hr
/>
<div
class=
"fix"
"
row
"
>
<div
class=
"col-md-offset-1 col-md-4"
"
col-md-offset-2
col-md-4
"
>
<a
href=
"{% url 'go_login' %}"
class=
"btn btn-primary btn-block"
>
Log In
</a>
</div>
<div
class=
"col-md-offset-1 col-md-4"
"
col-md-offset-2
col-md-4
"
>
<a
href=
"{% url 'signup' %}"
class=
"btn btn-primary btn-block"
>
Sign Up
</a>
</div>
<!-- carefully formatted login and signup buttons -->
<div
class=
"fix row"
>
<div
class=
"col-md-offset-1 col-md-4"
"
col-md-offset-2
col-md-4
"
>
<a
href=
"{% url 'go_login' %}"
class=
"btn btn-primary btn-block"
>
Log In
</a>
</div>
<div
class=
"col-md-offset-1 col-md-4 col-md-offset-2 col-md-4"
>
<a
href=
"{% url 'signup' %}"
class=
"btn btn-primary btn-block"
>
Sign Up
</a>
</div>
</div>
{% endblock %}
go/go/templates/view.html
View file @
0f8e773e
<!-- include the base html template -->
{% extends 'layouts/base.html' %}
<!-- define the page title block -->
{% block title %}
SRCT Go
•
Link View
{% endblock %}
<!-- define the content block for the page -->
{% block content %}
<!-- define the page header div -->
<div
class=
"page-header"
id=
"banner"
>
<div
class=
"row"
>
<div
class=
"col-md-12"
>
...
...
@@ -22,7 +24,7 @@ SRCT Go • Link View
</div>
</div>
<!-- just display one link -->
<div
class=
"row"
>
{% if url %}
{% include 'link_box.html' %}
...
...
@@ -32,4 +34,5 @@ SRCT Go • Link View
</div>
{% endif %}
</div>
{% endblock %}
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