Commit 4a098e89 authored by Lingnan Wu's avatar Lingnan Wu

make the slides can be saved and load ,change the slideshow_editor.css , the...

make the slides can be saved and load ,change the slideshow_editor.css , the address of those picture were wrong ,and change the creator's links and scripts aim to current project
parent 85bcb871
......@@ -45,7 +45,7 @@
placeholder="File name here" /> 
<button type="submit"
class="btn btn-primary"
onclick="clickSaveButton('Base_edit');OfficeJS.save($('#input_file_name').attr('value'));">
onclick="OfficeJS.save($('#input_file_name').attr('value'));">
<i class="icon-download-alt icon-white"></i>
Save
</button>&nbsp;
......@@ -97,7 +97,7 @@
</div>
<p class="clear"></p>
<div class="field hidden"
<div class="field hidden" id=precontent
title="Content of the web page">
<div class="input"><textarea class="hidden" rows="40" cols="120" name="field_my_text_content" >
......
......@@ -175,12 +175,13 @@
ext:'ppt',
frameid:'svg_edit_frame',
getContent: function () {
return document.getElementById (this.frameid).
contentWindow.svgCanvas.getSvgString();
return document.getElementById("precontent").textContent;
},
setContent: function (content) {
document.getElementById (this.frameid).
contentWindow.svgCanvas.setSvgString(content);
document.getElementById ("list").innerHTML=content;
},
onload: function (param) {
var waitForInit = function (fun) {
......
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
<base href="https://www.tiolive.com/nexedi/">
<meta content="ERP5 - Copyright (C) 2001 - 2008. All rights reserved." name="generator">
<meta content="Add a new Slide" name="description">
<meta content="" name="keywords">
......@@ -9,27 +8,27 @@
<meta content="text/css" http-equiv="Content-Style-Type">
<title>Add a new Slide | Nexedi ERP5</title>
<link href="https://www.tiolive.com/nexedi/erp5_knowledge_box.css" rel="stylesheet" type="text/css">
<link href="lib/presentation/erp5_knowledge_box.css" rel="stylesheet" type="text/css">
<link href="https://www.tiolive.com/nexedi/erp5.css" rel="stylesheet" type="text/css">
<link href="lib/presentation/erp5.css" rel="stylesheet" type="text/css">
<link href="https://www.tiolive.com/nexedi/erp5_listbox.css" rel="stylesheet" type="text/css">
<link href="lib/presentation/erp5_listbox.css" rel="stylesheet" type="text/css">
<script src="https://www.tiolive.com/nexedi/jquery/core/jquery.js" type="text/javascript"></script>
<script src="lib/presentation/jquery.js" type="text/javascript"></script>
<script src="https://www.tiolive.com/nexedi/jquery/ui/js/jquery-ui.js" type="text/javascript"></script>
<script src="lib/presentation/jquery-ui.js" type="text/javascript"></script>
<script src="https://www.tiolive.com/nexedi/erp5.js" type="text/javascript"></script>
<script src="lib/presentation/erp5.js" type="text/javascript"></script>
<script src="https://www.tiolive.com/nexedi/erp5_knowledge_box.js" type="text/javascript"></script>
<script src="lib/presentation/erp5_knowledge_box.js" type="text/javascript"></script>
<script src="https://www.tiolive.com/nexedi/erp5_xhtml_appearance.js" type="text/javascript"></script>
<script src="lib/presentation/erp5_xhtml_appearance.js" type="text/javascript"></script>
<link href="https://www.tiolive.com/nexedi/favicon.ico" type="image/x-icon" rel="icon">
<link href="https://www.tiolive.com/nexedi/favicon.ico" type="image/x-icon" rel="shortcut icon">
......
......@@ -91,7 +91,7 @@
}
#add_slide_button{
background-image: url("lib/presentation/images/filenew.png");
background-image: url("images/filenew.png");
background-repeat:no-repeat;
background-position:center;
-moz-user-select: -moz-none;
......@@ -102,11 +102,11 @@
}
.remove_slide_button{
background-image: url("lib/presentation/images/editdelete.png");
background-image: url("images/editdelete.png");
}
.edit_slide_button{
background-image: url("lib/presentation/images/exec.png");
background-image: url("images/exec.png");
}
.slide_dialog iframe{
......
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