A free, self-hostable news aggregator…
Add some stick buttons
Marien Fressinaud192c0a001d5c
diff --git a/app/views/configure/categorize.phtml b/app/views/configure/categorize.phtmlindex c0171d2dc..9bae99b39 100644--- a/app/views/configure/categorize.phtml+++ b/app/views/configure/categorize.phtml@@ -14,11 +14,13 @@<?php echo Minz_Translate::t ('category_number', $i); ?></label><div class="group-controls">- <input type="text" id="cat_<?php echo $cat->id (); ?>" name="categories[]" value="<?php echo $cat->name (); ?>" />+ <div class="stick">+ <input type="text" id="cat_<?php echo $cat->id (); ?>" name="categories[]" value="<?php echo $cat->name (); ?>" />- <?php if ($cat->nbFeed () > 0) { ?>- <button type="submit" class="btn btn-attention confirm" formaction="<?php echo _url ('feed', 'delete', 'id', $cat->id (), 'type', 'category'); ?>"><?php echo Minz_Translate::t ('ask_empty'); ?></button>- <?php } ?>+ <?php if ($cat->nbFeed () > 0) { ?>+ <button type="submit" class="btn btn-attention confirm" formaction="<?php echo _url ('feed', 'delete', 'id', $cat->id (), 'type', 'category'); ?>"><?php echo Minz_Translate::t ('ask_empty'); ?></button>+ <?php } ?>+ </div>(<?php echo Minz_Translate::t ('number_feeds', $cat->nbFeed ()); ?>)<?php if ($cat->id () === $this->defaultCategory->id ()) { ?>diff --git a/app/views/configure/feed.phtml b/app/views/configure/feed.phtmlindex 2da04ac2d..27b0990ff 100644--- a/app/views/configure/feed.phtml+++ b/app/views/configure/feed.phtml@@ -32,16 +32,21 @@<div class="form-group"><label class="group-name" for="website"><?php echo Minz_Translate::t ('website_url'); ?></label><div class="group-controls">- <input type="text" name="website" id="website" class="extend" value="<?php echo $this->flux->website (); ?>" />- <a target="_blank" href="<?php echo $this->flux->website (); ?>"><?php echo FreshRSS_Themes::icon('link'); ?></a>+ <div class="stick">+ <input type="text" name="website" id="website" class="extend" value="<?php echo $this->flux->website (); ?>" />+ <a class="btn" target="_blank" href="<?php echo $this->flux->website (); ?>"><?php echo FreshRSS_Themes::icon('link'); ?></a>+ </div></div></div><div class="form-group"><label class="group-name" for="url"><?php echo Minz_Translate::t ('feed_url'); ?></label><div class="group-controls">- <input type="text" name="url" id="url" class="extend" value="<?php echo $this->flux->url (); ?>" />- <a target="_blank" href="<?php echo $this->flux->url (); ?>"><?php echo FreshRSS_Themes::icon('link'); ?></a>- <a class="btn" target="_blank" href="http://validator.w3.org/feed/check.cgi?url=<?php echo $this->flux->url (); ?>"><?php echo Minz_Translate::t ('feed_validator'); ?></a>+ <div class="stick">+ <input type="text" name="url" id="url" class="extend" value="<?php echo $this->flux->url (); ?>" />+ <a class="btn" target="_blank" href="<?php echo $this->flux->url (); ?>"><?php echo FreshRSS_Themes::icon('link'); ?></a>+ </div>++ <a class="btn" target="_blank" href="http://validator.w3.org/feed/check.cgi?url=<?php echo $this->flux->url (); ?>"><?php echo Minz_Translate::t ('feed_validator'); ?></a></div></div><div class="form-group">diff --git a/app/views/configure/users.phtml b/app/views/configure/users.phtmlindex a018ce6b2..c199ad53d 100644--- a/app/views/configure/users.phtml+++ b/app/views/configure/users.phtml@@ -20,8 +20,10 @@<div class="form-group"><label class="group-name" for="passwordPlain"><?php echo Minz_Translate::t('password_form'); ?></label><div class="group-controls">- <input type="password" id="passwordPlain" name="passwordPlain" autocomplete="off" pattern=".{7,}" <?php echo cryptAvailable() ? '' : 'disabled="disabled" '; ?>/>- <a class="btn toggle-password"/><?php echo FreshRSS_Themes::icon('key'); ?></a>+ <div class="stick">+ <input type="password" id="passwordPlain" name="passwordPlain" autocomplete="off" pattern=".{7,}" <?php echo cryptAvailable() ? '' : 'disabled="disabled" '; ?>/>+ <a class="btn toggle-password"/><?php echo FreshRSS_Themes::icon('key'); ?></a>+ </div><noscript><b><?php echo Minz_Translate::t('javascript_should_be_activated'); ?></b></noscript></div></div>@@ -178,8 +180,10 @@<div class="form-group"><label class="group-name" for="new_user_passwordPlain"><?php echo Minz_Translate::t('password_form'); ?></label><div class="group-controls">- <input type="password" id="new_user_passwordPlain" name="new_user_passwordPlain" autocomplete="off" pattern=".{7,}" />- <a class="btn toggle-password"/><?php echo FreshRSS_Themes::icon('key'); ?></a>+ <div class="stick">+ <input type="password" id="new_user_passwordPlain" name="new_user_passwordPlain" autocomplete="off" pattern=".{7,}" />+ <a class="btn toggle-password"/><?php echo FreshRSS_Themes::icon('key'); ?></a>+ </div><noscript><b><?php echo Minz_Translate::t('javascript_should_be_activated'); ?></b></noscript></div></div>