1
0
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:
Loic Blot
2014-09-12 11:46:39 +00:00
commit 8d03780e6f
21 changed files with 1128 additions and 0 deletions
+17
View File
@@ -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>
+10
View File
@@ -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>
+10
View File
@@ -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>
+10
View File
@@ -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>