mirror of
https://github.com/documize/community.git
synced 2025-08-09 07:25:23 +02:00
Document => Content
We add content to a space — content that can be words, tables, commits, contacts, tickets and more…
This commit is contained in:
parent
a213ff85b7
commit
e03bb4d6ee
6 changed files with 15 additions and 10 deletions
|
@ -54,6 +54,9 @@ export default Ember.Component.extend({
|
|||
tetherOptions: {
|
||||
offset: self.offset,
|
||||
targetOffset: self.targetOffset
|
||||
// optimizations: {
|
||||
// moveElement: false
|
||||
// }
|
||||
},
|
||||
remove: true
|
||||
});
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
{{button2}}
|
||||
</div>
|
||||
{{/if}}
|
||||
<div class="flat-button {{color}}" {{action 'onAction'}}>
|
||||
<div class="flat-button {{color}} dropdown-dialog-action-button" {{action 'onAction'}}>
|
||||
{{button}}
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -28,9 +28,9 @@
|
|||
{{/dropdown-dialog}}
|
||||
{{else}}
|
||||
{{#if folderService.canEditCurrentFolder}}
|
||||
<div class="regular-button button-green" id="start-document-button" data-tooltip="Add or import document" data-tooltip-position="top center">
|
||||
<div class="regular-button button-green" id="start-document-button" data-tooltip="Add new content" data-tooltip-position="top center">
|
||||
<i class="material-icons">add</i>
|
||||
<div class="name">Document</div>
|
||||
<div class="name">Content</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{#if isFolderOwner}}
|
||||
|
@ -69,15 +69,15 @@
|
|||
<div class="regular-button button-transparent">
|
||||
<i class="material-icons">add</i>
|
||||
<div class="name">space</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="message">Create a new space for<br/>all your documentation</div>
|
||||
</div>
|
||||
<div class="box">
|
||||
<div class="regular-button button-green">
|
||||
<i class="material-icons">add</i>
|
||||
<div class="name">document</div>
|
||||
</div>
|
||||
<div class="message">Start a new document or <br/>import .doc .docx, .txt .md files</div>
|
||||
<div class="name">content</div>
|
||||
</div>
|
||||
<div class="message">Start with a content template or <br/>import .doc .docx, .txt .md files</div>
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{{#dropdown-dialog target="start-document-button" position="bottom right" button="Add" color="flat-green" onAction=(action 'startDocument') button2=canEditTemplate color2="flat-blue" onAction2=(action 'editTemplate') onOpenCallback=(action 'onOpenCallback')}}
|
||||
<div class="upload-container">
|
||||
<div id="upload-documents" class="regular-button button-green">Import Files</div>
|
||||
<div id="upload-documents" class="regular-button button-green">Import Word / Markdown</div>
|
||||
</div>
|
||||
|
||||
<p class="heading">Or use a template:</p>
|
||||
|
|
|
@ -40,7 +40,6 @@ function getAppUrl(domain) {
|
|||
}
|
||||
|
||||
function isAjaxAccessError(reason) {
|
||||
console.log(reason);
|
||||
if (typeof reason === "undefined") {
|
||||
return false;
|
||||
}
|
||||
|
|
|
@ -12,11 +12,14 @@
|
|||
<meta name="author" content="Documize" />
|
||||
|
||||
<style>
|
||||
#ember-testing-container {
|
||||
#ember-testing-container, #ember-testing-container * {
|
||||
/* Set position static to short-circuit Hubspot Tether's positioning */
|
||||
/* https://github.com/HubSpot/tether/pull/98/ */
|
||||
position: static !important;
|
||||
}
|
||||
.tether-container * {
|
||||
z-index: 9999;
|
||||
}
|
||||
</style>
|
||||
|
||||
{{content-for "head"}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue