This repository has been archived by the owner on Nov 25, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update of widget_sample, contributed by Ecappa
- Loading branch information
Showing
1 changed file
with
71 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,61 +1,74 @@ | ||
<html xmlns:ajxp> | ||
<head> | ||
<title>Pydio</title> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | ||
<link rel="icon" type="image/x-png" href="res/themes/vision/images/html-folder.png"> | ||
<link rel="stylesheet" type="text/css" href="res/themes/vision/css/allz.css"> | ||
<link rel="stylesheet" href="res/themes/vision/css/font-awesome.css"/> | ||
<link rel="stylesheet" href="res/themes/vision/css/media.css"/> | ||
<style type="text/css"> | ||
.widget_title{ | ||
font-family: "Trebuchet MS", Arial, Helvetica; | ||
font-size: 20px; | ||
font-weight: bold; | ||
color: white; | ||
padding: 5px; | ||
} | ||
#ajxp_widget{ | ||
width:400px; | ||
height:500px; | ||
border:1px solid #999; | ||
-moz-box-shadow: 3px 4px 4px #666; | ||
-webkit-box-shadow: 3px 4px 4px #666; | ||
box-shadow: 3px 4px 4px #666; | ||
text-align:left; | ||
/* THESE ONE ARE IMPORTANT */ | ||
overflow:hidden; | ||
position:relative; | ||
} | ||
.action_bar{ | ||
background-color: #ffffff; | ||
} | ||
.action_bar > .toolbarGroup{ | ||
height: 40px; | ||
} | ||
</style> | ||
<script language="javascript" type="text/javascript" src="res/js/ajaxplorer_boot.js"></script> | ||
<script type="text/javascript"> | ||
// Initialize booter. Do not remove the commented line AJXP_JSON_START_PARAMETERS, as it is | ||
// dynamically replaced by the application! | ||
var ajaxplorer, startParameters = {}, MessageHash={}; | ||
startParameters = { | ||
"BOOTER_URL":"../../index.php?get_action=get_boot_conf", | ||
"EXT_REP":"\/", | ||
"MAIN_ELEMENT":"ajxp_widget", | ||
"SERVER_PREFIX_URI": "../../" | ||
}; | ||
document.observe("ajaxplorer:before_gui_load", function(e){ | ||
ajaxplorer.currentThemeUsesIconFonts = true; | ||
document.documentElement.className += " ajxp_theme_vision"; | ||
}); | ||
window.ajxpBootstrap = new AjxpBootstrap(startParameters); | ||
</script> | ||
</head> | ||
<head> | ||
<title>Pydio Sample</title> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | ||
|
||
<body bgcolor="#cccccc" text="#000000" marginheight="0" marginwidth="0" leftmargin="0" topmargin="0"> | ||
<div align="center"> | ||
<div class="widget_title">Pydio Widget Sample</div> | ||
<div id="ajxp_widget" ajxpClass="AjxpPane" ajxpOptions="{}"></div> | ||
</div> | ||
</body> | ||
<link rel="icon" type="image/x-png" href="res/themes/vision/images/html-folder.png"> | ||
|
||
<link rel="stylesheet" type="text/css" href="res/themes/orbit/css/ajaxplorer.css"> | ||
<link rel="stylesheet" type="text/css" href="res/themes/orbit/css/allz.css"> | ||
<link rel="stylesheet" type="text/css" href="res/themes/orbit/css/animate-custom.css"> | ||
<link rel="stylesheet" type="text/css" href="res/themes/orbit/css/chosen.css"> | ||
<link rel="stylesheet" type="text/css" href="res/themes/orbit/css/font-awesome.css"> | ||
<link rel="stylesheet" type="text/css" href="res/themes/orbit/css/fontfaces.css"> | ||
<link rel="stylesheet" type="text/css" href="res/themes/orbit/css/media.css"> | ||
<link rel="stylesheet" type="text/css" href="res/themes/orbit/css/screen.css"> | ||
<link rel="stylesheet" type="text/css" href="res/themes/orbit/css/xtree.css"> | ||
|
||
|
||
<style type="text/css"> | ||
/* | ||
Refers to manifest.xml, can be ajxp_widget, ajxp_film_strip, ajxp_dropbox_template... | ||
*/ | ||
#ajxp_desktop { | ||
width: 90%; | ||
height: 90%; | ||
border: 1px solid #999; | ||
-moz-box-shadow: 3px 4px 4px #666; | ||
-webkit-box-shadow: 3px 4px 4px #666; | ||
box-shadow: 3px 4px 4px #666; | ||
text-align: left; | ||
/* THESE ONE ARE IMPORTANT */ | ||
overflow: hidden; | ||
position: relative; | ||
} | ||
/* Patch - for right toolbar */ | ||
.action_bar > .toolbarGroup { | ||
height: 32px; | ||
} | ||
.widget_title { | ||
font-family: "Trebuchet MS", Arial, Helvetica; | ||
font-size: 20px; | ||
font-weight: bold; | ||
color: white; | ||
padding: 5px; | ||
} | ||
</style> | ||
<script language="javascript" type="text/javascript" src="res/js/ajaxplorer_boot.js"></script> | ||
<script type="text/javascript"> | ||
// Initialize booter. Do not remove the commented line AJXP_JSON_START_PARAMETERS, as it is | ||
// dynamically replaced by the application! | ||
var ajaxplorer, startParameters = {}, MessageHash = {}; | ||
startParameters = { | ||
//"BOOTER_URL": "index.php?get_action=get_boot_conf&goto=default/Organizations", | ||
"BOOTER_URL": "../../index.php?get_action=get_boot_conf", | ||
"FORCE_REGISTRY_RELOAD": true, | ||
"EXT_REP": "\/", | ||
"MAIN_ELEMENT": "ajxp_desktop", | ||
"SERVER_PREFIX_URI": "../../" | ||
}; | ||
document.observe("ajaxplorer:before_gui_load", function (e) { | ||
ajaxplorer.currentThemeUsesIconFonts = true; | ||
document.documentElement.className += " ajxp_theme_vision"; | ||
}); | ||
window.ajxpBootstrap = new AjxpBootstrap(startParameters); | ||
</script> | ||
</head> | ||
|
||
<body bgcolor="#cccccc" text="#000000" marginheight="0" marginwidth="0" leftmargin="0" topmargin="0"> | ||
<div class="widget_title">Pydio Widget Sample</div> | ||
<div align="center"> | ||
<div id="ajxp_desktop" ajxpClass="AjxpPane" ajxpOptions="{}"></div> | ||
</div> | ||
</body> | ||
</html> |