mirror of
https://github.com/nextcloud/ocsms.git
synced 2026-08-23 22:32:54 +00:00
First Commit. Datascheme is in tests
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
\OCP\Util::addScript('ocsms', 'script');
|
||||
\OCP\Util::addStyle('ocsms', 'style');
|
||||
?>
|
||||
|
||||
<div id="app">
|
||||
<div id="app-navigation">
|
||||
<?php print_unescaped($this->inc('part.navigation')); ?>
|
||||
<?php print_unescaped($this->inc('part.settings')); ?>
|
||||
</div>
|
||||
|
||||
<div id="app-content">
|
||||
<div id="app-content-wrapper">
|
||||
<?php print_unescaped($this->inc('part.content')); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,10 @@
|
||||
<p>Hello World <?php p($_['user']) ?></p>
|
||||
|
||||
<p><button id="hello">click me</button></p>
|
||||
|
||||
<p><textarea id="echo-content">
|
||||
Send this as ajax
|
||||
</textarea></p>
|
||||
<p><button id="echo">Send ajax request</button></p>
|
||||
|
||||
Ajax response: <div id="echo-result"></div>
|
||||
@@ -0,0 +1,10 @@
|
||||
<ul>
|
||||
<li><a href="#">First level entry</a></li>
|
||||
<li>
|
||||
<a href="#">First level container</a>
|
||||
<ul>
|
||||
<li><a href="#">Second level entry</a></li>
|
||||
<li><a href="#">Second level entry</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -0,0 +1,10 @@
|
||||
<div id="app-settings">
|
||||
<div id="app-settings-header">
|
||||
<button class="settings-button"
|
||||
data-apps-slide-toggle="#app-settings-content"
|
||||
></button>
|
||||
</div>
|
||||
<div id="app-settings-content">
|
||||
<!-- Your settings in here -->
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user