Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
panikdb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
radiopanik
panikdb
Commits
445a2b55
Commit
445a2b55
authored
Jan 27, 2019
by
fred
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update (partially) for new gadjo style
parent
185ca3d0
Pipeline
#59
failed with stages
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
40 additions
and
16 deletions
+40
-16
panikdb/static/css/style.css
panikdb/static/css/style.css
+23
-1
panikdb/templates/emissions/episode_detail.html
panikdb/templates/emissions/episode_detail.html
+7
-7
panikdb/templates/emissions/newscategory_list.html
panikdb/templates/emissions/newscategory_list.html
+1
-1
panikdb/templates/home.html
panikdb/templates/home.html
+9
-7
No files found.
panikdb/static/css/style.css
View file @
445a2b55
...
...
@@ -17,6 +17,7 @@ div#top {
div
#top
a
{
padding
:
0
1ex
;
color
:
white
;
}
div
#main-content
{
...
...
@@ -226,9 +227,11 @@ a.big-friendly-button:hover {
}
a
.actually-not-that-friendly
{
background
:
#F52F2D
;
border-color
:
#F52F2D
;
color
:
#F52F2D
;
position
:
absolute
;
right
:
-10px
;
padding
:
0
1ex
;
}
a
.actually-not-that-friendly
:hover
{
...
...
@@ -592,3 +595,22 @@ form#track-search p {
form
#track-search
button
{
margin-top
:
2.5ex
;
}
#more-user-links
a
{
background
:
white
;
border
:
1px
solid
#386ede
;
padding
:
1ex
;
border-radius
:
3px
;
font-weight
:
bold
;
}
.home
.block
{
background
:
white
;
padding
:
1rem
;
margin-bottom
:
1rem
;
border-radius
:
3px
;
}
.home
.block
hr
{
border-color
:
white
;
}
panikdb/templates/emissions/episode_detail.html
View file @
445a2b55
...
...
@@ -9,23 +9,23 @@
{% if can_manage %}
<p>
<a
class=
"b
ig-friendly-b
utton"
href=
"edit/"
>
Modifier
</a>
<a
class=
"button"
href=
"edit/"
>
Modifier
</a>
{% if perms.emissions.add_diffusion %}
<a
class=
"b
ig-friendly-b
utton"
id=
"add-diffusion-link"
href=
"#"
>
Ajouter une diffusion
</a>
<a
class=
"button"
id=
"add-diffusion-link"
href=
"#"
>
Ajouter une diffusion
</a>
{% endif %}
<a
class=
"b
ig-friendly-b
utton"
id=
"add-soundfile-link"
href=
"#"
>
Ajouter un son
</a>
<a
class=
"button"
id=
"add-soundfile-link"
href=
"#"
>
Ajouter un son
</a>
{% if episode.effective_start and episode.effective_end %}
{% if internal_ip %}
<a
class=
"b
ig-friendly-b
utton"
id=
"download-recording"
download
href=
"{{ episode.get_pige_download_url }}"
>
Télécharger l'enregistrement
</a>
<a
class=
"button"
id=
"download-recording"
download
href=
"{{ episode.get_pige_download_url }}"
>
Télécharger l'enregistrement
</a>
{% endif %}
{% elif not soundfiles %}
{% if episode.effective_start %}
<a
class=
"b
ig-friendly-b
utton"
id=
"stop-recording"
href=
"stop"
>
Arrêter l'enregistrement
</a>
<a
class=
"button"
id=
"stop-recording"
href=
"stop"
>
Arrêter l'enregistrement
</a>
{% else %}
<a
class=
"b
ig-friendly-b
utton"
id=
"start-recording"
href=
"start"
>
Démarrer l'enregistrement
</a>
<a
class=
"button"
id=
"start-recording"
href=
"start"
>
Démarrer l'enregistrement
</a>
{% endif %}
{% endif %}
<a
class=
"b
ig-friendly-b
utton actually-not-that-friendly"
href=
"delete/"
>
Supprimer
</a>
<a
class=
"button actually-not-that-friendly"
href=
"delete/"
>
Supprimer
</a>
</p>
{% endif %}
...
...
panikdb/templates/emissions/newscategory_list.html
View file @
445a2b55
...
...
@@ -13,7 +13,7 @@
{% if perms.emissions.add_newsitem %}
<p>
<a
class=
"b
ig-friendly-b
utton"
href=
"{% url 'newsitem-add' %}"
>
Ajouter une actu
</a>
<a
class=
"button"
href=
"{% url 'newsitem-add' %}"
>
Ajouter une actu
</a>
</p>
{% endif %}
...
...
panikdb/templates/home.html
View file @
445a2b55
{% extends "base.html" %}
{% block bodyargs %}class="home"{% endblock %}
{% block appbar %}
{% if perms.emissions.change_emission %}
<span><a
href=
"{% url 'emission-list' %}"
>
Toutes les émissions
</a>
...
...
@@ -34,14 +36,14 @@
<h2>
Émissions
</h2>
{% for emission in emissions %}
<div
class=
"emission"
>
<div
class=
"emission
block
"
>
<h3><a
href=
"{% url 'emission-view' slug=emission.slug %}"
>
{{ emission.title }}
</a></h3>
<a
class=
"b
ig-friendly-b
utton"
href=
"{% url 'episode-add' emission_slug=emission.slug %}"
>
Ajouter un épisode
</a>
<a
class=
"button"
href=
"{% url 'episode-add' emission_slug=emission.slug %}"
>
Ajouter un épisode
</a>
<a
class=
"b
ig-friendly-b
utton"
href=
"{% url 'emission-newsitem-add' emission_slug=emission.slug %}"
>
Ajouter une actu
</a>
<a
class=
"button"
href=
"{% url 'emission-newsitem-add' emission_slug=emission.slug %}"
>
Ajouter une actu
</a>
<a
class=
"b
ig-friendly-b
utton"
href=
"{% url 'emission-update' slug=emission.slug %}"
>
Modifier le profil de l'émission
</a>
<a
class=
"button"
href=
"{% url 'emission-update' slug=emission.slug %}"
>
Modifier le profil de l'émission
</a>
<div
class=
"two-columns"
>
...
...
@@ -80,10 +82,10 @@ Aucune actu.
{% for news_category in news_categories %}
<div
class=
"newsitems"
>
<div
class=
"newsitems
block
"
>
<h3>
Actu : {{ news_category.title }}
</h3>
<a
class=
"b
ig-friendly-b
utton"
href=
"{% url 'newsitem-add' slug=news_category.slug %}"
>
Ajouter une actu
</a>
<a
class=
"button"
href=
"{% url 'newsitem-add' slug=news_category.slug %}"
>
Ajouter une actu
</a>
<ul
class=
"episode-list"
>
{% for newsitem in news_category.get_sorted_newsitems|slice:":10" %}
...
...
@@ -99,7 +101,7 @@ Aucune actu.
{% endfor %}
{% if perms.emissions.add_focus %}
<div
class=
"newsitems"
>
<div
class=
"newsitems
block
"
>
<h3>
Focus
</h3>
<ul
class=
"episode-list"
>
...
...
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