Skip to content

Commit

Permalink
revert changes that are not part of the toolbar change
Browse files Browse the repository at this point in the history
  • Loading branch information
ylebre committed Dec 1, 2024
1 parent 5cc82ab commit 61bc68a
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 22 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<main>
<div>
<div class="simplycode-header">
<h1>Edit page frame</h1>
<div class="simplycode-controls">
<button class="ds-button" data-simply-command="savePageFrame">Save</button>
<button class="simplycode-button" data-simply-command="savePageFrame">Save</button>
</div>
</div>
<simply-render rel="componentDescription"></simply-render>
Expand Down
39 changes: 20 additions & 19 deletions www/api/data/pages/pages/pageTemplates/Pages.html
Original file line number Diff line number Diff line change
@@ -1,26 +1,27 @@
<main>
<h1>Pages</h1>
<div class="simplycode-boxes" data-simply-list="components">
<ul class="simplycode-components-list" data-simply-list="components">
<template>
<a class="simplycode-box" data-simply-command="navigate"
href="#" data-simply-field="id"
data-simply-content="fixed" data-simply-transformer="pageLink">
<span data-simply-field="id"></span>
<li data-simply-command="navigate">
<a href="#" data-simply-field="id" data-simply-content="fixed" data-simply-transformer="pageLink"><span data-simply-field="id"></span></a>
<p data-simply-field="description"></p>
</a>
</li>
</template>
</div>
<form class="simplycode-form">
<label>
Name
<input type="text" data-simply-field="newComponent.id" class="simplycode-tab" placeholder="Name your page">
</label>
<label>
Description
<textarea data-simply-field="newComponent.description" placeholder="Describe what this page should do, for your own use."></textarea>
</label>
<div class="ds-form-buttons">
<button class="ds-button" data-simply-command="createPage">Add Page</button>
</ul>
<h1>Add page</h1>
<div class="simplycode-part">
<div class="simplycode-part-header">
<div class="simplycode-tabs">
<input data-simply-field="newComponent.id" class="simplycode-tab" placeholder="Name your component">
</div>
<div class="simplycode-options">
<button class="simplycode-button" data-simply-command="createPage">Create</button>
</div>
</div>
<div class="simplycode-editors">
<div class="simplycode-editor-code">
<textarea data-simply-field="newComponent.description" placeholder="Describe what this component should do, for your own use."></textarea>
</div>
</div>
</form>
</div>
</main>
2 changes: 1 addition & 1 deletion www/api/data/pages/publish/pageTemplates/Publish App.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<main>
<h1>App preview</h1>
<div class="field">
<button class="ds-button" data-simply-command="saveAppHtml">Publish App</button>
<button class="simplycode-button" data-simply-command="saveAppHtml">Publish App</button>
</div>
<simply-render rel="fullAppPreview"></simply-render>
</main>

0 comments on commit 61bc68a

Please sign in to comment.