Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/polls.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordartcafe <github@dartcafe.de>2018-07-08 22:43:12 +0300
committerdartcafe <github@dartcafe.de>2018-07-08 22:43:12 +0300
commit5ec9e57239afdf7cb9fff7ebc7348afaaf1f3acd (patch)
treecf20be123e5aa356bfd04c39d8e22febdc18b12b /templates/create.tmpl.php
parentaac0f61fb901c121fa2051d799cd18c84a82e7ca (diff)
Update
Diffstat (limited to 'templates/create.tmpl.php')
-rw-r--r--templates/create.tmpl.php20
1 files changed, 12 insertions, 8 deletions
diff --git a/templates/create.tmpl.php b/templates/create.tmpl.php
index cb80516d..b4c91f95 100644
--- a/templates/create.tmpl.php
+++ b/templates/create.tmpl.php
@@ -1,9 +1,9 @@
-<?php
+<?php
/**
* @copyright Copyright (c) 2017 Vinzenz Rosenkranz <vinzenz.rosenkranz@gmail.com>
*
* @author Vinzenz Rosenkranz <vinzenz.rosenkranz@gmail.com>
- * @author René Gieling <github@dartcafe.de>
+ * @author René Gieling <github@dartcafe.de>
*
* @license GNU AGPL version 3 or any later version
*
@@ -43,7 +43,7 @@
<div id="app" class="flex-column" data-hash="<?php p($hash)?>">
- <div class="controls flex-row">
+ <div class="controls">
<breadcrump :intitle="title"></breadcrump>
<button v-if="poll.mode === 'edit'" v-on:click="writePoll(poll.mode)" class="button btn primary"><span>{{ t('polls', 'Update poll') }}</span></button>
<button v-if="poll.mode === 'create'" v-on:click="writePoll(poll.mode)" class="button btn primary"><span>{{ t('polls', 'Create new poll') }}</span></button>
@@ -54,9 +54,9 @@
</button>
</div>
- <div id="polls-content" class="flex-row">
- <div class="flex-row workbench">
- <div id="poll-description">
+ <div class="polls-content flex-row">
+ <div class="workbench">
+ <div class="flex-column">
<h2>{{ t('polls', 'Poll description') }}</h2>
<div class="flex-column">
<label>{{ t('polls', 'Title') }}</label>
@@ -67,7 +67,7 @@
<textarea id="pollDesc" v-model="poll.event.description"></textarea>
</div>
</div>
- <div id="poll-options" class="flex-column">
+ <div class="flex-column">
<h2>{{ t('polls', 'Vote options') }}</h2>
<div v-if="poll.mode == 'create'">
<input id="datePoll" v-model="poll.event.type" value="datePoll" type="radio" class="radio" :disabled="protect"/>
@@ -168,7 +168,11 @@
<label for="select">{{ t('polls', 'Only shared') }}</label>
</div>
- <share-div id="share-list" class="configBox flex-column oneline" :placeholder="t('polls', 'Name of user or group')" v-model="poll.shares" />
+ <share-div id="share-list" class="configBox flex-column oneline"
+ :placeholder="t('polls', 'Name of user or group')"
+ v-model="poll.shares"
+ v-on:add-share="addShare"
+ v-on:remove-share="removeShare"/>
</div>
</div>
</div>