Commit 554312dc authored by Alain Takoudjou's avatar Alain Takoudjou

Mynij Search: Rename some gadget improve style

parent 6d90855c
url_list = [
"gadget_officejs_mynij_search.configuration",
"gadget_officejs_mynij_search_router.html",
"gadget_erp5_page_mynij_home.html",
"gadget_erp5_page_mynij_home.js",
"gadget_erp5_mynij_panel.html",
"gadget_erp5_mynij_panel.js",
"gadget_erp5_page_mynij_search.html",
"gadget_erp5_page_mynij_search.js",
"gadget_mynij_model.html",
"gadget_mynij_model.js",
"gadget_mynij_parser.html",
"gadget_mynij_parser.js",
"gadget_mynij_result.html",
"gadget_mynij_result.js",
"mynij_results.css",
"gadget_mynij_home.css",
"mynij-style.css",
"mynij_logo.png",
"mynij_google_logo.png",
"action_mynij_search_build_index.html",
......
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width" />
<title>ERP5 Panel</title>
<!--
data-i18n=Editable
-->
<!-- renderjs -->
<script src="rsvp.js" type="text/javascript"></script>
<script src="renderjs.js" type="text/javascript"></script>
<script src="handlebars.js" type="text/javascript"></script>
<script src="gadget_global.js" type="text/javascript"></script>
<script id="panel-template-header" type="text/x-handlebars-template">
<div data-role="header" class="ui-bar-inherit">
<div class="ui-controlgroup ui-controlgroup-horizontal ui-btn-left">
<div class="ui-controlgroup-controls">
<button data-i18n="Close" class="ui-btn ui-btn-icon-notext ui-icon-delete">Close</button>
</div>
</div>
</div>
</script>
<script id="panel-template-body" type="text/x-handlebars-template">
<div class="ui-content">
<form class="dialog_form">
<button type="submit" class="ui-btn ui-btn-b ui-btn-inline
ui-icon-action ui-btn-icon-right ui-screen-hidden">Submit</button>
<div data-gadget-url="gadget_erp5_searchfield.html"
data-gadget-scope="erp5_searchfield"
data-gadget-sandbox="public"></div>
</form>
<ul data-role="listview" class="ui-listview" data-enhanced="true"></ul>
<dl></dl>
</div>
</script>
<script id="panel-template-body-list" type="text/x-handlebars-template">
<li class="ui-first-child"><a href="{{mynij_search_href}}" class="ui-btn ui-btn-icon-left ui-icon-search" data-i18n="Search">Search</a></li>
<li><a href="{{source_list_href}}" class="ui-btn ui-btn-icon-left ui-icon-sitemap" data-i18n="Sources" accesskey="s">Sources</a></li>
<li><a href="{{sync_href}}" class="ui-btn ui-btn-icon-left ui-icon-refresh" data-i18n="Synchronize">Synchronize</a></li>
<li class="ui-last-child"><a href="{{storage_href}}" class="ui-btn ui-btn-icon-left ui-icon-gear" data-i18n="Storages">Storages</a></li>
</script>
<script id="panel-template-body-desktop" type="text/x-handlebars-template">
<dt class="ui-content-title ui-body-c ui-btn ui-btn-icon-left ui-icon-eye" data-i18n="Views">Views</dt>
{{#each view_list}}
<dd data-role="listview" data-theme="c" data-inset="true" class="document-listview">
<a data-i18n="{{title}}" class="ui-body-inherit" href="{{href}}">{{title}}</a>
</dd>
{{/each}}
<dt class="ui-content-title ui-body-c ui-btn ui-btn-icon-left ui-icon-cogs" data-i18n="Decisions">Decisions</dt>
{{#each workflow_list}}
<dd data-role="listview" data-theme="c" data-inset="true" class="document-listview">
<a data-i18n="{{title}}" class="ui-body-inherit" href="{{href}}">{{title}}</a>
</dd>
{{/each}}
</script>
<!-- custom script -->
<script src="gadget_erp5_mynij_panel.js" type="text/javascript"></script>
</head>
<body>
<div class="jqm-navmenu-panel"></div>
</body>
</html>
\ No newline at end of file
......@@ -2,7 +2,7 @@
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Web Style" module="erp5.portal_type"/>
<global name="Web Page" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
......@@ -69,11 +69,11 @@
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>text/css</string> </value>
<value> <string>text/html</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>mynij_results.css</string> </value>
<value> <string>gadget_erp5_mynij_panel.html</string> </value>
</item>
<item>
<key> <string>description</string> </key>
......@@ -83,17 +83,15 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>mynij_results.css</string> </value>
<value> <string>gadget_erp5_mynij_panel_html</string> </value>
</item>
<item>
<key> <string>language</string> </key>
<value>
<none/>
</value>
<value> <string>en</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Web Style</string> </value>
<value> <string>Web Page</string> </value>
</item>
<item>
<key> <string>short_title</string> </key>
......@@ -103,13 +101,11 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Mynij Result gadget CSS</string> </value>
<value> <string>Gadget ERP5 Mynij Panel</string> </value>
</item>
<item>
<key> <string>version</string> </key>
<value>
<none/>
</value>
<value> <string>001</string> </value>
</item>
</dictionary>
</pickle>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Web Script" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_Access_contents_information_Permission</string> </key>
<value>
<tuple>
<string>Anonymous</string>
<string>Assignee</string>
<string>Assignor</string>
<string>Associate</string>
<string>Auditor</string>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>_Add_portal_content_Permission</string> </key>
<value>
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>_Change_local_roles_Permission</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>_Modify_portal_content_Permission</string> </key>
<value>
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>_View_Permission</string> </key>
<value>
<tuple>
<string>Anonymous</string>
<string>Assignee</string>
<string>Assignor</string>
<string>Associate</string>
<string>Auditor</string>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>content_md5</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>gadget_erp5_mynij_panel.js</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>gadget_erp5_mynij_panel_js</string> </value>
</item>
<item>
<key> <string>language</string> </key>
<value> <string>en</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Web Script</string> </value>
</item>
<item>
<key> <string>short_title</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Gadget Mynij Panel JS</string> </value>
</item>
<item>
<key> <string>version</string> </key>
<value> <string>001</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<!doctype html>
<html>
<head>
<title>Mynij</title>
<title>Mynij Search</title>
<script src="rsvp.js" type="text/javascript"></script>
<script src="renderjs.js" type="text/javascript"></script>
<script src="gadget_erp5_page_mynij_home.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="gadget_mynij_home.css">
<script src="gadget_erp5_page_mynij_search.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="mynij-style.css">
</head>
<body>
<div id="search_div">
<div id="search_div">
<form id = "search_bar">
<input type="search" id = "search_input" required>
</form>
<select id="select_index"></select>
</div>
<div id = "gadget_result"
data-gadget-url="gadget_mynij_result.html"
data-gadget-scope="result"
data-gadget-sandbox="public">
<div data-gadget-url="gadget_mynij_model.html"
data-gadget-scope="model"
data-gadget-sandbox="public">
<div id = "gadget_result" data-gadget-url="gadget_mynij_result.html"
data-gadget-scope="result" data-gadget-sandbox="public">
<div data-gadget-url="gadget_mynij_model.html" data-gadget-scope="model"
data-gadget-sandbox="public">
</body>
</html>
\ No newline at end of file
......@@ -73,7 +73,7 @@
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>gadget_erp5_page_mynij_home.html</string> </value>
<value> <string>gadget_erp5_page_mynij_search.html</string> </value>
</item>
<item>
<key> <string>description</string> </key>
......@@ -83,7 +83,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>gadget_erp5_page_mynij_home.html</string> </value>
<value> <string>gadget_erp5_page_mynij_search_html</string> </value>
</item>
<item>
<key> <string>language</string> </key>
......
......@@ -73,7 +73,7 @@
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>gadget_erp5_page_mynij_home.js</string> </value>
<value> <string>gadget_erp5_page_mynij_search.js</string> </value>
</item>
<item>
<key> <string>description</string> </key>
......@@ -83,7 +83,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>gadget_erp5_page_mynij_home</string> </value>
<value> <string>gadget_erp5_page_mynij_search_js</string> </value>
</item>
<item>
<key> <string>language</string> </key>
......@@ -103,7 +103,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Mynij home JS</string> </value>
<value> <string>Mynij Search JS</string> </value>
</item>
<item>
<key> <string>version</string> </key>
......
......@@ -5,18 +5,20 @@
<script src="rsvp.js" type="text/javascript"></script>
<script src="renderjs.js" type="text/javascript"></script>
<script src="gadget_mynij_result.js"></script>
<link rel="stylesheet" type="text/css" href="mynij_results.css">
<link rel="stylesheet" type="text/css" href="mynij-style.css">
</head>
<body>
<div id="results">
<div id ="mynij"><img src="mynij_logo.png">
<ul id="mynij-results">
</ul>
</div>
<div id ="google"><img src="mynij_google_logo.png">
<ul id="searx-results">
</ul>
</div>
<div id="results" class="result-box">
<div id ="mynij" class="mynij-results">
<div class="logo-img"><img src="mynij_logo.png"></div>
<ul id="mynij-results">
</ul>
</div>
<div id ="google" class="searx-results">
<div class="logo-img"><img src="mynij_google_logo.png"></div>
<ul id="searx-results">
</ul>
</div>
</div>
</body>
</html>
\ No newline at end of file
</html>
......@@ -131,3 +131,95 @@ input[type="button"]:hover{
right: 0;
padding: 5%;
} */
.result-box {
display : flex;
}
.result-box:after {
content: "";
clear: both;
}
.mynij-results, .searx-results {
margin-top : 20px;
flex: 50%;
}
.logo-img {
width: 100%;
text-align: left;
height: 80px;
}
.logo-img img {
height: 100%;
}
#mynij-results > li, #searx-results > li {
list-style-type: none;
position: relative;
margin-bottom: 20px;
padding-top: 1%;
padding-bottom: 1%;
padding-left : 1%;
background: #fff;
color: #2b2b5d;
width: 90%;
max-width: 40em;
text-align : left;
}
.title {
color: #3c459e;
text-decoration: none;
font-size: 1.3em;
max-width: 40em;
}
.link, .link:visited {
text-decoration: none;
color: #009933;
max-width: 40em;
}
.body {
color : #444444;
max-width: 40em;
}
#mynij-results > a, #searx-results > a {
position: relative;
}
.highlight {
font-weight: bold;
}
#mynij-results > a:after , #searx-results > a:after{
content: '';
position: absolute;
bottom: -.4em;
left: 50%;
right: 50%;
height: 1px;
background: #2b2b5d;
transition: all ease .2s;
}
#mynij-results > a:hover:after , #searx-results >a:hover:after{
left: 0;
right: 0;
height: 2px;
}
#mynij-results > a:before , #searx-results > a:before{
position: absolute;
transform: translateX(-100%);
left: -10px;
color: #2b2b5d;
opacity: .3;
font-weight: 100;
font-size: .8em;
}
......@@ -73,7 +73,7 @@
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>gadget_mynij_home.css</string> </value>
<value> <string>mynij-style.css</string> </value>
</item>
<item>
<key> <string>description</string> </key>
......@@ -83,7 +83,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>gadget_mynij_home.css</string> </value>
<value> <string>gadget_mynij_style.css</string> </value>
</item>
<item>
<key> <string>language</string> </key>
......
#results{
display: flex;
padding-top: 3%;
width: 100%;
}
#mynij, #google {
width: 45%;
margin: auto;
text-align: center;
margin-top: inherit;
}
#mynij > img {
max-width: 15%;
}
#google > img {
max-width: 20%;
}
#gadget_result{
display : flex;
}
#mynij-results, #searx-results{
margin-top : 10%;
text-align: left;
}
#mynij-results > li, #searx-results > li {
margin: auto;
list-style-type: none;
position: relative;
margin-top: 5%;
padding-top: 1%;
padding-bottom: 1%;
padding-left : 1%;
background: #fff;
color: #2b2b5d;
width: 90%;
max-width: 40em;
text-align : left;
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
border-radius: 8px;
}
.title {
color: #1122CC;
text-decoration: none;
font-size: x-large;
max-width: 40em;
}
.link, .link:visited {
text-decoration: none;
color: #009933;
max-width: 40em;
}
.body {
color : #444444;
max-width: 40em;
}
#mynij-results > a, #searx-results > a {
position: relative;
}
.highlight {
font-weight: bold;
}
#mynij-results > a:after , #searx-results > a:after{
content: '';
position: absolute;
bottom: -.4em;
left: 50%;
right: 50%;
height: 1px;
background: #2b2b5d;
transition: all ease .2s;
}
#mynij-results > a:hover:after , #searx-results >a:hover:after{
left: 0;
right: 0;
height: 2px;
}
#mynij-results > a:before , #searx-results > a:before{
position: absolute;
transform: translateX(-100%);
left: -10px;
color: #2b2b5d;
opacity: .3;
font-weight: 100;
font-size: .8em;
}
\ No newline at end of file
......@@ -299,7 +299,7 @@
</item>
<item>
<key> <string>configuration_default_view_action_reference</string> </key>
<value> <string>jio_view</string> </value>
<value> <string>mynij_search</string> </value>
</item>
<item>
<key> <string>configuration_frontpage_gadget_url</string> </key>
......@@ -311,7 +311,7 @@
</item>
<item>
<key> <string>configuration_panel_gadget_url</string> </key>
<value> <string>gadget_erp5_ojs_panel.html</string> </value>
<value> <string>gadget_erp5_mynij_panel.html</string> </value>
</item>
<item>
<key> <string>configuration_precache_manifest_script_list</string> </key>
......
......@@ -6,6 +6,7 @@ web_page_module/gadget_erp5_mynij_**
web_page_module/gadget_erp5_page_mynij_**
web_page_module/gadget_mynij_**
web_page_module/gadget_officejs_mynij_**
web_page_module/mynij-**
web_page_module/mynij_**
web_site_module/mynij_search
web_site_module/mynij_search/**
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment