Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alecs_myu
erp5
Commits
1174b7f2
Commit
1174b7f2
authored
Nov 16, 2016
by
Sven Franck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_officejs_afs_directory: layout updates
parent
624f2f19
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
67 additions
and
34 deletions
+67
-34
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_afs_css.css
.../PathTemplateItem/web_page_module/gadget_erp5_afs_css.css
+5
-12
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_afs_css.xml
.../PathTemplateItem/web_page_module/gadget_erp5_afs_css.xml
+2
-2
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_page_afs_software_html.html
...m/web_page_module/gadget_erp5_page_afs_software_html.html
+38
-9
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_page_afs_software_html.xml
...em/web_page_module/gadget_erp5_page_afs_software_html.xml
+2
-2
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_page_afs_software_js.js
...eItem/web_page_module/gadget_erp5_page_afs_software_js.js
+16
-4
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_page_afs_software_js.xml
...Item/web_page_module/gadget_erp5_page_afs_software_js.xml
+2
-2
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_page_afs_success_case_js.js
...m/web_page_module/gadget_erp5_page_afs_success_case_js.js
+0
-1
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_page_afs_success_case_js.xml
.../web_page_module/gadget_erp5_page_afs_success_case_js.xml
+2
-2
No files found.
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_afs_css.css
View file @
1174b7f2
...
...
@@ -229,6 +229,7 @@
.custom-success-story-image-wrapper
{
width
:
100%
;
max-height
:
12em
;
height
:
12em
;
}
}
...
...
@@ -244,6 +245,8 @@
-moz-text-align-last
:
left
;
text-align-last
:
left
;
padding-bottom
:
.5em
;
line-height
:
1.5em
;
min-height
:
4.5em
;
}
.custom-success-story-category-list
{
padding-bottom
:
.5em
;
...
...
@@ -265,18 +268,8 @@
margin
:
0
.25em
.25em
;
}
@media
(
max-width
:
40em
)
{
.custom-success-story-list
>
li
:not
(
:nth-last-child
(
1
))
.custom-success-story-client
+
p
+
p
:after
{
content
:
""
;
width
:
60%
;
display
:
block
;
border-bottom
:
1px
solid
#a1a1a1
;
padding-bottom
:
1.25em
;
margin-bottom
:
.1.25em
;
-moz-box-sizing
:
border-box
;
-webkit-box-sizing
:
border-box
;
box-sizing
:
border-box
;
margin-left
:
auto
;
margin-right
:
auto
;
.custom-success-story-list
>
li
:not
(
:nth-last-child
(
1
))
.custom-success-story-client
+
p
+
p
{
padding-bottom
:
2em
;
}
}
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_afs_css.xml
View file @
1174b7f2
...
...
@@ -234,7 +234,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
95
4.54859.55587.35328
</string>
</value>
<value>
<string>
95
5.20671.48081.55893
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -252,7 +252,7 @@
</tuple>
<state>
<tuple>
<float>
147
7644662.4
1
</float>
<float>
147
9295110.8
1
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_page_afs_software_html.html
View file @
1174b7f2
...
...
@@ -93,15 +93,44 @@
{{
/
if
}}
<
p
class
=
"
custom-success-story-title
"
>
{{
title
}}
<
/a></
p
>
<
p
class
=
"
custom-success-story-description
"
>
{{
description
}}
<
a
href
=
"
{{url}}
"
>
Read
more
<
/a></
p
>
<
p
>
Industry
:
{{
industry
}}
<
/p
>
<
ul
class
=
"
custom-success-story-category-list
"
><
lh
>
Categories
:
<
/lh>
{{
#
each
..
/
category_list
}}
<
li
>
{{
this
}}
<
/li
>
{{
/
each
}}
<
/ul
>
<
p
class
=
"
custom-success-story-client
"
>
Customer
:
<
span
>
{{
customer
}}
<
/span></
p
>
<
p
>
Country
:
{{
country
}}
<
/p
>
<
p
>
Language
:
{{
language
}}
<
/p
>
<
table
class
=
"
custom-link-table
"
>
<
tbody
>
<
tr
>
<
td
>
Categories
<
/td
>
<
td
>
<
ul
class
=
"
custom-success-story-category-list
"
>
{{
#
each
..
/
category_list
}}
<
li
>
{{
this
}}
<
/li
>
{{
/
each
}}
<
/ul
>
<
/td
>
<
/tr
>
<
tr
>
<
td
class
=
"
custom-success-story-client
"
>
Customer
<
/td
>
<
td
><
b
>
{{
customer
}}
<
/b></
td
>
<
/tr
>
<
tr
>
<
td
>
Industry
<
/td
>
<
td
>
{{
industry
}}
<
/td
>
<
/tr
>
<
tr
>
<
td
>
Country
<
/td
>
<
td
>
{{
country
}}
<
/td
>
<
/tr
>
<
tr
>
<
td
>
Language
<
/td
>
<
td
>
{{
language
}}
<
/td
>
<
/tr
>
<
tr
>
<
td
>
Product
Site
<
/td
>
<
td
><
a
href
=
"
{{software_website}}
"
>
{{
software
}}
<
/a></
td
>
<
/tr
>
<
tr
>
<
td
>
Publisher
Site
<
/td
>
<
td
><
a
href
=
"
{{publisher_website}}
"
>
{{
publisher
}}
<
/a></
td
>
<
/tr
>
<
/tbody
>
<
/table
>
<
/li
>
{{
/
each
}}
<
/ul
>
...
...
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_page_afs_software_html.xml
View file @
1174b7f2
...
...
@@ -232,7 +232,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
95
4.57651.20561.29371
</string>
</value>
<value>
<string>
95
5.20607.54543.26555
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -250,7 +250,7 @@
</tuple>
<state>
<tuple>
<float>
147
7583198.23
</float>
<float>
147
9290954.0
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_page_afs_software_js.js
View file @
1174b7f2
...
...
@@ -11,8 +11,9 @@
templater
.
getElementById
(
"
display-template
"
).
innerHTML
);
function
clean
(
case_list
)
{
var
i
,
function
clean
(
case_list
,
software_website
,
software_title
,
publisher_website
,
publisher_title
)
{
var
emptry_string
=
""
,
i
,
len
,
entry
;
for
(
i
=
0
,
len
=
case_list
.
length
;
i
<
len
;
i
+=
1
)
{
...
...
@@ -21,6 +22,10 @@
entry
.
image
=
PLACEHOLDER
;
entry
.
image_class
=
"
custom-placeholder
"
;
}
entry
.
software_website
=
software_website
||
emptry_string
;
entry
.
software
=
software_title
||
emptry_string
;
entry
.
publisher_website
=
publisher_website
||
emptry_string
;
entry
.
publisher
=
publisher_title
||
emptry_string
;
}
return
case_list
;
}
...
...
@@ -45,6 +50,7 @@
return
gadget
.
jio_get
(
options
.
jio_key
);
})
.
push
(
function
(
software
)
{
// https://en.wikipedia.org/api/rest_v1/
// only works in for english
var
wikipedia_api_url
=
'
https://en.wikipedia.org/api/rest_v1/page/summary/
'
;
...
...
@@ -61,7 +67,13 @@
software
.
success_case_list
[
0
].
title
===
""
)
{
delete
software
.
success_case_list
;
}
else
{
software
.
success_case_list
=
clean
(
software
.
success_case_list
);
software
.
success_case_list
=
clean
(
software
.
success_case_list
,
software
.
website
,
software
.
title
,
software
.
publisher_website
,
software
.
publisher
);
}
if
(
software
.
wikipedia_url
==
"
N/A
"
)
{
delete
software
.
wikipedia_url
;
...
...
@@ -88,7 +100,7 @@
});
})
.
push
(
function
(
my_software
)
{
.
push
(
function
(
my_software
)
{
gadget
.
props
.
element
.
querySelector
(
"
.display-widget
"
)
.
innerHTML
=
display_widget_table
(
my_software
);
...
...
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_page_afs_software_js.xml
View file @
1174b7f2
...
...
@@ -228,7 +228,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
95
4.57702.11675.11332
</string>
</value>
<value>
<string>
95
5.20626.3055.426
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -246,7 +246,7 @@
</tuple>
<state>
<tuple>
<float>
147
7584428.71
</float>
<float>
147
9292034.72
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_page_afs_success_case_js.js
View file @
1174b7f2
...
...
@@ -30,7 +30,6 @@
return
gadget
.
jio_get
(
options
.
jio_key
);
})
.
push
(
function
(
story
)
{
console
.
log
(
story
)
if
(
story
.
image
===
"
N/A
"
||
story
.
image
===
""
)
{
story
.
image
=
PLACEHOLDER
;
story
.
image_class
=
"
custom-placeholder
"
;
...
...
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_page_afs_success_case_js.xml
View file @
1174b7f2
...
...
@@ -228,7 +228,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
954.5
7730.56023.48657
</string>
</value>
<value>
<string>
954.5
8711.46291.45073
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -246,7 +246,7 @@
</tuple>
<state>
<tuple>
<float>
147
7644942.36
</float>
<float>
147
9291364.95
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
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