hubl/www/test.html

54 lines
1.9 KiB
HTML
Raw Normal View History

2018-10-08 08:49:31 +00:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8"/>
<title>[test] HD App</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<meta http-equiv="X-UA-Compatible" content="ie=edge"/>
<!-- Scripts-->
<script src="https://cdnjs.cloudflare.com/ajax/libs/webcomponentsjs/1.2.7/webcomponents-loader.js" integrity="sha256-fz7VMnmo2h7TlM7CBea8/vpbWpdQnbp20TnwmRwi/KU=" crossorigin="anonymous"></script>
<!-- Web components-->
2018-10-17 21:04:03 +00:00
<!-- <link rel="import" href="https://cdn.happy-dev.fr/sib-core/sib-display.html"/> -->
<link rel="import" href="lib/sib-core/sib-display.html"/>
2018-10-08 08:49:31 +00:00
<style>
body.debug *:not(script):not(button){
display: block;
padding: 3px;
margin: 3px;
border: 1px solid #f006;
}
2018-10-17 21:04:03 +00:00
sib-display,
sib-display-div{
display: block;
background-color: #0002;
margin: .5em 0;
min-height: 1em;
}
2018-10-08 08:49:31 +00:00
</style>
</head>
<body>
<button onclick="document.body.classList.toggle('debug')">debug</button>
2018-10-17 21:04:03 +00:00
<!-- <div id="job-offers">
2018-10-08 08:49:31 +00:00
<h1>Job offers</h1>
<sib-display id="offers-list"
data-src="https://test-paris.happy-dev.fr/job-offers/"
data-fields="title, description, skills"
widget-skills="sib-display-lookuplist"
></sib-display>
2018-10-17 21:04:03 +00:00
</div> -->
2018-10-08 08:49:31 +00:00
<div id="members">
<h1>Members</h1>
<sib-display id="profiles-list"
data-src="https://test-paris.happy-dev.fr/members/"
2018-10-18 18:06:43 +00:00
data-fields="pseudo, user.member.user.member.user.member.bio, ab"
set-ab="user.first_name, user.last_name"
2018-10-08 08:49:31 +00:00
></sib-display>
</div>
2018-10-17 21:04:03 +00:00
<!-- <div>
<h1>sib-form</h1>
<sib-form class="block" range-client="https://test-paris.happy-dev.fr/clients/" widget-team="sib-form-multiple-dropdown" range-team="https://test-paris.happy-dev.fr/members/" data-src="https://test-paris.happy-dev.fr/projects/1/"></sib-form>
</div> -->
2018-10-08 08:49:31 +00:00
</body>
2018-10-17 21:04:03 +00:00
</html>