mirror of
https://github.com/overte-org/overte.git
synced 2025-04-23 11:53:34 +02:00
dev
This commit is contained in:
parent
264176dac6
commit
95c627aa71
6 changed files with 119 additions and 21 deletions
scripts/system/html
|
@ -5,21 +5,70 @@
|
|||
// Distributed under the Apache License, Version 2.0.
|
||||
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||
*/
|
||||
|
||||
.marketplaces-container {
|
||||
width: 100%;
|
||||
}
|
||||
.marketplace-tile {
|
||||
text-align: center;
|
||||
float: left;
|
||||
width: 50%;
|
||||
width: 25%;
|
||||
margin: 10%;
|
||||
}
|
||||
.marketplace-tile-title {
|
||||
width: 100%;
|
||||
height: 10%;
|
||||
white-space: nowrap;
|
||||
font-size: 2em;
|
||||
margin-bottom: 2%;
|
||||
}
|
||||
.marketplace-tile-image-container {
|
||||
}
|
||||
.marketplace-tile-image {
|
||||
height: auto;
|
||||
max-width: 100%;
|
||||
}
|
||||
.marketplace-tile-description {
|
||||
margin-top: 2%;
|
||||
font-size: 1.2em;
|
||||
margin-bottom: 5%;
|
||||
}
|
||||
@media only screen and (max-width:768px) {
|
||||
.marketplace-tile {
|
||||
text-align: center;
|
||||
float: left;
|
||||
width: 100%;
|
||||
margin: 0 0 0 0%;
|
||||
}
|
||||
}
|
||||
/*.clara-image {
|
||||
cursor: pointer;
|
||||
}
|
||||
*/
|
||||
|
||||
.claraHowTo {
|
||||
background-color: rgba(0,0,0,0.7);
|
||||
width:94%;
|
||||
height:auto;
|
||||
margin-top:6%;
|
||||
margin-left:3%;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
|
||||
.clara-title-slug{
|
||||
padding-top:20px;
|
||||
text-align: center
|
||||
}
|
||||
|
||||
.clara-list{
|
||||
margin:20px 0 20px 7.5%;
|
||||
}
|
||||
|
||||
.clara-list > li{
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
#goToClara{
|
||||
width:94%;
|
||||
margin-left:3%;
|
||||
margin-bottom:20px;
|
||||
}
|
BIN
scripts/system/html/img/marketplaceClara.png
Normal file
BIN
scripts/system/html/img/marketplaceClara.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 6.5 KiB |
BIN
scripts/system/html/img/marketplaceHifi.png
Normal file
BIN
scripts/system/html/img/marketplaceHifi.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 9.5 KiB |
|
@ -1,3 +1,35 @@
|
|||
function loaded(){
|
||||
|
||||
function loaded() {
|
||||
bindClaraImage();
|
||||
bindClaraButton();
|
||||
}
|
||||
|
||||
function hideList() {
|
||||
$('.marketplace-tile').hide();
|
||||
}
|
||||
|
||||
function showList() {
|
||||
$('.marketplace-tile').show();
|
||||
}
|
||||
|
||||
function showClaraHowTo() {
|
||||
$('.claraHowTo').show();
|
||||
}
|
||||
|
||||
function hideClaraHowTo() {
|
||||
$('.claraHowTo').hide();
|
||||
}
|
||||
|
||||
var claraVisible = false;
|
||||
|
||||
function bindClaraImage() {
|
||||
$('.clara-image').on('click', function() {
|
||||
showClaraHowTo();
|
||||
// hideList();
|
||||
})
|
||||
}
|
||||
|
||||
function bindClaraButton() {
|
||||
$('#goToClara').on('click', function() {
|
||||
window.location = "http://www.clara.io"
|
||||
})
|
||||
}
|
|
@ -19,27 +19,44 @@
|
|||
</head>
|
||||
<body onload='loaded();'>
|
||||
<div class="marketplaces-container">
|
||||
<div class="marketplace-tile">
|
||||
<div class="marketplace-tile-title">Hifi Marketplace</div>
|
||||
<div class="marketplace-tile-image-container">
|
||||
<a href="http://highfidelity.io/marketplace">
|
||||
<img class="marketplace-tile-image" src="http://lorempixel.com/1000/1000">
|
||||
</a>
|
||||
</div>
|
||||
<div class="marketplace-tile-description">This is the Hifi Marketplace</div>
|
||||
<div class="marketplaces-title">
|
||||
|
||||
</div>
|
||||
<div class="marketplaces-intro-text">
|
||||
<p>
|
||||
You can bring content into High Fidelity forom anywhere you want. Here are a few places that support direct import of content right now. If you'd like to suggest a Market to include here, <a href="mailto:contact@highfidelity.io">let us know.</a>
|
||||
</p>
|
||||
</div>
|
||||
<div class="marketplace-tile">
|
||||
<div class="marketplace-tile">
|
||||
<div class="marketplace-tile-title">Clara</div>
|
||||
<div class="marketplace-tile-image-container">
|
||||
<a href="http://clara.io:">
|
||||
<img class="marketplace-tile-image" src="http://lorempixel.com/1000/1000">
|
||||
</a>
|
||||
<div class="marketplace-tile-first-column">
|
||||
<img class="marketplace-tile-image" src="img/marketplaceHifi.png">
|
||||
|
||||
<div class="marketplace-tile-second-column">
|
||||
<p class="marketplace-tile-description">This is the default High Fidelity marketplace. Viewing and downloading content from here is fully supported in Interface.</p>
|
||||
<input class="blue" type="button" value="Explore" id="exploreHifiMarketplace"></input>
|
||||
</div>
|
||||
<div class="marketplace-tile-description">This is the Clara Marketplace</div>
|
||||
<hr>
|
||||
</div>
|
||||
<div class="marketplace-tile">
|
||||
<div class="marketplace-tile-first-column">
|
||||
<img class="marketplace-tile-image" src="img/marketplaceClara.png">
|
||||
|
||||
<div class="marketplace-tile-second-column">
|
||||
<p class="marketplace-tile-description">Clara.io has thousands of models available for importing into High Fidelity. Follow these steps for the best experience:</p>
|
||||
<ol>
|
||||
<li><a href="http://www.clara.io/signup">Create an account here </a>or log in as an existing user.</li>
|
||||
<li>Choose a model from the list and click Download -> Autodesk FBX.</li>
|
||||
<li>After the file processes, click download.</li>
|
||||
<li>Add the model to your asset server, then find it from the list and choose Add To World</li>
|
||||
</ol>
|
||||
<input class="blue" type="button" value="Explore" id="exploreClaraMarketplace"></input>
|
||||
</div>
|
||||
<hr>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
BIN
scripts/system/html/test.jpg
Normal file
BIN
scripts/system/html/test.jpg
Normal file
Binary file not shown.
After ![]() (image error) Size: 147 KiB |
Loading…
Reference in a new issue