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
piphone-front
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
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
La Quadrature du Net
piphone
piphone-front
Commits
c3ec2470
Commit
c3ec2470
authored
Feb 07, 2017
by
okhin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing the campaign page
parent
06cb8103
Pipeline
#852
passed with stage
in 1 second
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
17 deletions
+9
-17
app/Main.php
app/Main.php
+0
-7
app/routes.ini
app/routes.ini
+0
-1
templates/argumentation.html
templates/argumentation.html
+2
-2
templates/campaign.html
templates/campaign.html
+6
-6
templates/header.html
templates/header.html
+1
-1
No files found.
app/Main.php
View file @
c3ec2470
...
...
@@ -114,13 +114,6 @@ class Main extends Controller {
$f3
->
set
(
'block_content'
,
'argumentation.html'
);
}
function
campaign
(
$f3
,
$args
)
{
$arguments
=
Api
::
get_arguments
();
$f3
->
set
(
'arguments'
,
$arguments
);
$f3
->
set
(
'block_content'
,
'campaign.html'
);
}
function
piphone
(
$f3
,
$args
)
{
$f3
->
set
(
'block_content'
,
'piphone.html'
);
}
...
...
app/routes.ini
View file @
c3ec2470
...
...
@@ -6,7 +6,6 @@ GET|POST @call:/call/@id=Main->call
GET
@contactslist:/
contactslist
=
Main->contactslist
GET
@feedbacksip:/calls/@
callid
=
SIP->feedbacksip
GET
@argumentation:/
argumentation
=
Main->argumentation
GET
@campaign:/
campaign
=
Main->campaign
GET
@piphone:/
piphone
=
Main->campaign
; Fake REST API
...
...
templates/argumentation.html
View file @
c3ec2470
<div
class=
"row"
>
<div
class=
"container"
>
<h
1
class=
"header center"
>
{{ _("Arguments") }}
</h1
>
<h
3
class=
"grey-blue-text text-darken-4 header center"
>
{{ _("Arguments") }}
</h3
>
<p
class=
"light"
>
{{ _("Those are
the arguments to help during a call to a erpresentative
") }}
{{ _("Those are
arguments we provide you to help you convince the representative you will call.
") }}
</p>
<ul
class=
"collapsible popout"
data-collapsible=
"accordions"
>
<repeat
group=
"{{ @arguments }}"
value=
"{{ @argument }}"
counter=
"{{ @key }}"
>
...
...
templates/campaign.html
View file @
c3ec2470
<div
class=
"section
blue accent-4
"
>
<div
class=
"section"
>
<div
class=
"container"
>
<h
1
class=
"blue-grey-text text-darken-4 bold center"
>
{{ @organization.name }}
</h1>
<p
class=
"
white-text
"
>
{{ @organization.description }}
</p>
<h
3
class=
"blue-grey-text text-darken-4 bold center"
>
{{ @organization.name }}
</h1>
<p
class=
""
>
{{ @organization.description }}
</p>
</div>
</div>
<div
class=
"section blue
accent-2
"
>
<div
class=
"section blue
-grey
"
>
<div
class=
"container"
>
<h
1
class=
"blue-grey-text text-darken-4 center bold"
>
{{ @campaign.title }}
</h1>
<p
class=
"
white-text
"
>
{{ @campaign.description }}
</p>
<h
3
class=
"blue-grey-text text-darken-4 center bold"
>
{{ @campaign.title }}
</h1>
<p
class=
"
blue-grey-text text-lighten-4
"
>
{{ @campaign.description }}
</p>
</div>
</div>
<div
class=
"section white"
>
...
...
templates/header.html
View file @
c3ec2470
...
...
@@ -46,7 +46,7 @@
<div
class=
"container nav-wrapper"
>
<ul
class=
"left"
>
<li
class=
"waves-effect <check if="
{{
@
block_content =
=
'
home.html
'
}}"
>
active
</check>
">
<a
href=
"/#navbar"
><b>
{{ _("Act") }}
</b></a></li>
<li
class=
"waves-effect <check if="
{{
@
block_content =
=
'
campaign.html
'
}}"
>
active
</check>
">
<a
href=
"/campaig
n#navbar"
>
{{ _("About the campaign") }}
</a></li>
<li
class=
"waves-effect <check if="
{{
@
block_content =
=
'
argumenation.html
'
}}"
>
active
</check>
">
<a
href=
"/argumentatio
n#navbar"
>
{{ _("About the campaign") }}
</a></li>
<li
class=
"waves-effect <check if="
{{
@
block_content =
=
'
piphone.html
'
}}"
>
active
</check>
">
<a
href=
"/piphone#navbar"
>
{{ _("About the piphone") }}
</a></li>
</ul>
</div>
...
...
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