Commit 5c79f43d authored by OJ Random's avatar OJ Random

flashcards v1.2.1 in one single commit to 4.2RC

parent 3d907adf
This diff is collapsed.
version: 1.0
version: 1.2.1
url: $baseurl/flashcards/$nick
requires: local_channel
name: Flashcards
......
......@@ -5,7 +5,7 @@ use Zotlabs\Extend\Route;
/**
* Name: Flashcards
* Description: Flashcard software that uses spaced repetition as a learning technique.
* Version: 1.0
* Version: 1.2.1
* Author: Tom Wiedenhöft (ojrandom@protonmail.com)
* Maintainer: Tom Wiedenhöft (ojrandom@protonmail.com)
*
......
This diff is collapsed.
......@@ -61,23 +61,25 @@
<small class="form-text text-muted">Description of box (between 10 to 800 characters)</small>
</div>
</div>
</div>
</div>
<div class="row" id="flashcards-block-changes-row">
<div class="col-sm-12">
<label><input type="checkbox" id="flashcards-block-changes"> Only the owner (you) can make changes to the original</label>
</div>
</div>
<div class="row">
<div class="col-sm-12">
<div id="flashcards_editor">{{$flashcards_editor}}</div>
<div class="form-group">
<small id="flashcards_editor" class="form-text text-muted">{{$flashcards_editor}}</small>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-10">
<!--
<div class="checkbox">
<label><input type="checkbox" name="public_visible" id="flashcards_box_public_visible"> Make publicly visible (not implemented yet)</label>
<small class="form-text text-muted">Your learning progress is kept private</small>
</div>
-->
<button class="btn" data-toggle="collapse" id="flashcards_perms" href="#panel_flashcards_permissions" role="button" aria-expanded="false" aria-controls="panel_flashcards__permissions"><i class="fa fa-community fa-lg"></i> Permissions</button>
</div>
<div class="col-sm-2">
<button class="btn" data-toggle="collapse" href="#panel_flashbox_settings" role="button" aria-expanded="false" aria-controls="panel_flashbox_settings"><i class="fa fa-sliders fa-lg"></i> Settings</button>
<button class="btn" data-toggle="collapse" href="#panel_flashbox_settings" role="button" aria-expanded="false" aria-controls="panel_flashbox_settings"><i class="fa fa-cogs fa-lg"></i> Settings</button>
</div>
</div>
<div id="panel_flashbox_settings" class="panel-collapse collapse">
......@@ -300,6 +302,10 @@
</div>
</div>
</div>
<div id="panel_flashcards_permissions" class="panel-collapse collapse">
</div>
<div id="panel_flashcards_cards_actions" style="display: none;">
<span class="navbar-brand">
<span>&nbsp;</span>
......@@ -344,6 +350,7 @@
<div id="panel_flashcards_cards" style="display: none;"></div>
<div id="post_url" style="display: none;">{{$post_url}}</div>
<div id="nick" style="display: none;">{{$nick}}</div>
<div id="is_owner" style="display: none;">{{$is_owner}}</div>
<!--
<p>
......@@ -375,6 +382,7 @@ Modal to delete a box
</div>
</div>
</div>
<div id="acl_modal_flashcards_cards"></div>
<script src="/addon/flashcards/view/js/flashcards.js"></script>
<form id="attach_edit_form_{{$file.id}}" action="flashcards/{{$channelnick}}/permissions/{{$file.id}}" method="post" class="acl-form" data-form_id="attach_edit_form_{{$file.id}}" data-allow_cid='{{$allow_cid}}' data-allow_gid='{{$allow_gid}}' data-deny_cid='{{$deny_cid}}' data-deny_gid='{{$deny_gid}}'>
<input type="hidden" name="channelnick" value="{{$channelnick}}" />
<input type="hidden" name="filehash" value="{{$file.hash}}" />
<input type="hidden" name="uid" value="{{$uid}}" />
<input type="hidden" name="fileid" value="{{$file.id}}" />
<input type="hidden" name="boxid" value="{{$boxid}}" />
<div>
<span class="navbar-brand">
<span>{{$permissions}}</span>
</span>
<div id="attach-edit-perms" class="btn-group pull-right">
<button id="dbtn-acl" class="btn btn-outline-secondary btn-sm" data-toggle="modal" data-target="#aclModal" title="{{$permset}}" type="button">
<i id="jot-perms-icon" class="fa fa-{{$lockstate}} jot-icons"></i>
</button>
<button id="dbtn-submit" class="btn btn-primary btn-sm" type="submit" name="submit">
{{$submit}}
</button>
</div>
</div>
</form>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment