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
f6eae023
Commit
f6eae023
authored
Feb 02, 2017
by
okhin
🚴
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'materialize' into 'master'
Materialize See merge request
!9
parents
cdca56e8
d4dc898a
Pipeline
#829
passed with stage
in 1 second
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
templates/contactslist.html
templates/contactslist.html
+2
-2
templates/header.html
templates/header.html
+1
-2
No files found.
templates/contactslist.html
View file @
f6eae023
...
...
@@ -11,7 +11,7 @@
<repeat
group=
"{{ @contacts }}"
value=
"{{ @contact }}"
>
<li
class=
"collection-item avatar"
data-json=
'{{ json_encode(@contact) }}'
>
<img
src=
"<check if="
{{
@
contact.photo =
=
''
}}"
>
/static/img/placeholder.jpg
<false>
{{ @contact.photo }}
</false></check>
" class="circle">
<span
class=
"title"
>
{{ @contact.
last_name }} {{ @contact.
full_name }}
</span>
<span
class=
"title"
>
{{ @contact.full_name }}
</span>
<ul>
<repeat
group=
"{{ @contact.groups }}"
value=
"{{ @group }}"
>
<li
class=
"chip"
>
{{ @group.name }}
</li>
...
...
@@ -27,7 +27,7 @@ $(document).ready(function() {
$
(
'
input.autocomplete
'
).
autocomplete
({
data
:
{
<
repeat
group
=
"
{{ @contacts }}
"
value
=
"
{{ @contact }}
"
>
"
{{ @contact.f
irst_name }} {{ @contact.last_name }}
"
:
<
check
if
=
"
{{ @contact.photo == '' }}
"
>
null
<
false
>
{{
@
contact
.
photo
}}
<
/false></
check
>
,
"
{{ @contact.f
ull_name }}
"
:
<
check
if
=
"
{{ @contact.photo == '' }}
"
>
null
<
false
>
"
{{ @contact.photo }}
"
<
/false></
check
>
,
<
/repeat
>
},
limit
:
20
,
...
...
templates/header.html
View file @
f6eae023
...
...
@@ -6,8 +6,7 @@
<meta
name=
"author"
content=
"{{ @organization.name }}"
/>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
/>
<!-- Materialize -->
<link
href=
"http://fonts.googleapis.com/icon?family=Material+Icons"
rel=
"stylesheet"
>
<link
href=
"/static/css/bootstrap.min.css"
rel=
"stylesheet"
>
<link
href=
"https://fonts.googleapis.com/icon?family=Material+Icons"
rel=
"stylesheet"
>
<link
type=
"text/css"
rel=
"stylesheet"
href=
"/static/css/materialize.min.css"
media=
"screen,projection"
/>
<!-- JS Materialize -->
<script
src=
"/static/js/jquery-2.1.1.js"
></script>
...
...
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