Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Political Memory
memopol
Commits
41924f3d
Commit
41924f3d
authored
Aug 25, 2016
by
Nicolas Joyard
Browse files
Move add position button
parent
b919e4db
Changes
4
Hide whitespace changes
Inline
Side-by-side
static/css/custom.css
View file @
41924f3d
...
...
@@ -198,28 +198,6 @@ select:focus, select.form-control:focus {
}
/***************************************************************
Add a position
***************************************************************/
#btn-position
{
position
:
fixed
;
z-index
:
5
;
}
@media
(
min-width
:
768px
)
{
#btn-position
{
bottom
:
2em
;
right
:
2em
;
}
}
@media
(
max-width
:
768px
)
{
#btn-position
{
bottom
:
1em
;
right
:
1em
;
}
}
/***************************************************************
Index
***************************************************************/
...
...
templates/_base_intro.html
View file @
41924f3d
{% load i18n %}
{% load bootstrap3 %}
{% load staticfiles %}
<div
id=
"intro"
>
...
...
@@ -11,7 +12,14 @@
<p
class=
"text-justify hidden-xs"
>
{% trans "Political Memory is a tool designed by La Quadrature du Net to help citizens reach their representative and track their voting records on issues related to fundamental freedoms online." %}
</p>
<div
class=
"container-fluid hidden-xs"
>
<div
class=
"row"
>
<div
class=
"pull-right"
>
<div
class=
"col-sm-6"
>
<a
class=
"btn btn-primary hidden-print"
data-toggle=
"modal"
data-target=
"#addposition"
aria-expanded=
"false"
aria-controls=
"addposition"
>
{% bootstrap_icon "bullhorn" %}
Add a public position
</a>
</div>
<div
class=
"col-sm-6 text-right"
>
<a
class=
"btn btn-default"
>
{% trans "More on our blog" %}
</a>
</div>
</div>
...
...
templates/_base_position.html
deleted
100644 → 0
View file @
b919e4db
<button
class=
"btn btn-default hidden-print"
type=
"button"
data-toggle=
"modal"
data-target=
"#addposition"
aria-expanded=
"false"
aria-controls=
"addposition"
id=
"btn-position"
>
<span
class=
"lead hidden-xs"
>
<span
class=
"glyphicon glyphicon-user"
></span>
<sup><span
class=
"glyphicon glyphicon-comment"
></span></sup>
</span>
<br
class=
"lead hidden-xs"
>
Add a
<span
class=
"hidden-xs"
>
MEP's
<br></span>
public position
</button>
templates/base.html
View file @
41924f3d
...
...
@@ -57,13 +57,12 @@
{% endblock %}
</div>
{% include '_base_position.html' %}
{% include '_position_form_modal.html' %}
<div
class=
"col-sm-9 col-sm-offset-3 {% block container-class %}{% endblock %}"
>
{% block content %}
<div
class=
"text-danger"
>
This template is empty !
</div>
{% endblock %}
{% block content %}
<div
class=
"text-danger"
>
This template is empty !
</div>
{% endblock %}
</div>
</div>
</div>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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