mirror of
https://github.com/fazo96/markcloud.git
synced 2025-04-01 00:18:37 +02:00
fix problems on edit page
This commit is contained in:
parent
403948fb38
commit
4a73498e54
@ -93,6 +93,7 @@ Template.layout.showSpinner = ->
|
|||||||
Meteor.status().connected is no or Router.current().ready() is no
|
Meteor.status().connected is no or Router.current().ready() is no
|
||||||
Template.home.rendered = ->
|
Template.home.rendered = ->
|
||||||
$('.ttip').tooltip()
|
$('.ttip').tooltip()
|
||||||
|
Template.editor.isPublic = -> return "checked" if @public is yes
|
||||||
Template.editor.showTitleChecked = -> return "checked" unless @showTitle is no
|
Template.editor.showTitleChecked = -> return "checked" unless @showTitle is no
|
||||||
Template.editor.events
|
Template.editor.events
|
||||||
'click #upload': (e,t) ->
|
'click #upload': (e,t) ->
|
||||||
|
@ -90,7 +90,7 @@ You will be able to delete your account and all your data whenever you want.
|
|||||||
<input type="text" id="title" class="form-control" placeholder="Title" value="{{title}}">
|
<input type="text" id="title" class="form-control" placeholder="Title" value="{{title}}">
|
||||||
<input type="checkbox" id="show-title" {{showTitleChecked}}>
|
<input type="checkbox" id="show-title" {{showTitleChecked}}>
|
||||||
Show title in document
|
Show title in document
|
||||||
<input type="checkbox" id="make-public" {{public}}>
|
<input type="checkbox" id="make-public" {{isPublic}}>
|
||||||
Make document visible on your profile
|
Make document visible on your profile
|
||||||
<textarea id="editor" class="form-control" rows="10" placeholder="Write your markdown :)" autofocus>{{text}}</textarea>
|
<textarea id="editor" class="form-control" rows="10" placeholder="Write your markdown :)" autofocus>{{text}}</textarea>
|
||||||
<button id="upload" class="btn btn-primary">
|
<button id="upload" class="btn btn-primary">
|
||||||
|
Loading…
Reference in New Issue
Block a user