|
|
|
@ -56,39 +56,6 @@ foreach ($colors as $c) {
|
|
|
|
|
?>
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<div class="modal fade" tabindex="-1" role="dialog" id="colormodal">
|
|
|
|
|
<div class="modal-dialog" role="document">
|
|
|
|
|
<form class="modal-content" action="action.php" method="POST">
|
|
|
|
|
<input type="hidden" name="action" value="setcolor" />
|
|
|
|
|
<input type="hidden" name="source" value="home" />
|
|
|
|
|
<input type="hidden" name="noteid" value="" />
|
|
|
|
|
<input type="hidden" name="color" value="FFFFFF" />
|
|
|
|
|
<div class="modal-header">
|
|
|
|
|
<h5 class="modal-title"><?php $Strings->get("Set color"); ?></h5>
|
|
|
|
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
|
|
|
|
<span aria-hidden="true">×</span>
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-body">
|
|
|
|
|
<div class="d-flex flex-wrap justify-content-center">
|
|
|
|
|
<?php
|
|
|
|
|
foreach ($colors as $c) {
|
|
|
|
|
?>
|
|
|
|
|
<button type="submit" name="color" value="<?php echo $c; ?>" class="btn bg_<?php echo $c; ?> m-1">
|
|
|
|
|
|
|
|
|
|
</button>
|
|
|
|
|
<?php
|
|
|
|
|
}
|
|
|
|
|
?>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-footer">
|
|
|
|
|
<button type="button" class="btn btn-secondary" data-dismiss="modal"><?php $Strings->get("Cancel"); ?></button>
|
|
|
|
|
</div>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="btn-group mb-4">
|
|
|
|
|
<a href="app.php?page=editnote" class="btn btn-success"><i class="fas fa-plus"></i> <?php $Strings->get("New note"); ?></a>
|
|
|
|
|
</div>
|
|
|
|
@ -133,4 +100,37 @@ foreach ($colors as $c) {
|
|
|
|
|
|
|
|
|
|
<div class="col-1 sizer-element"></div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="modal fade" tabindex="-1" role="dialog" id="colormodal">
|
|
|
|
|
<div class="modal-dialog" role="document">
|
|
|
|
|
<form class="modal-content" action="action.php" method="POST">
|
|
|
|
|
<input type="hidden" name="action" value="setcolor" />
|
|
|
|
|
<input type="hidden" name="source" value="home" />
|
|
|
|
|
<input type="hidden" name="noteid" value="" />
|
|
|
|
|
<input type="hidden" name="color" value="FFFFFF" />
|
|
|
|
|
<div class="modal-header">
|
|
|
|
|
<h5 class="modal-title"><?php $Strings->get("Set color"); ?></h5>
|
|
|
|
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
|
|
|
|
<span aria-hidden="true">×</span>
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-body">
|
|
|
|
|
<div class="d-flex flex-wrap justify-content-center">
|
|
|
|
|
<?php
|
|
|
|
|
foreach ($colors as $c) {
|
|
|
|
|
?>
|
|
|
|
|
<button type="submit" name="color" value="<?php echo $c; ?>" class="btn bg_<?php echo $c; ?> m-1">
|
|
|
|
|
|
|
|
|
|
</button>
|
|
|
|
|
<?php
|
|
|
|
|
}
|
|
|
|
|
?>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-footer">
|
|
|
|
|
<button type="button" class="btn btn-secondary" data-dismiss="modal"><?php $Strings->get("Cancel"); ?></button>
|
|
|
|
|
</div>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|