forked from owncloud-archive/apps
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix outdated setting layouts (admin & user page) and wrapping some st…
…rings with t() <fieldset> tags were not used in css files and this was causing settings to be seen unaligned (enable admin_migration and see the admin page for example). changed all fieldsets into <div class='section'> instead.
- Loading branch information
Showing
11 changed files
with
36 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,27 @@ | ||
<form id="export" action="#" method="post"> | ||
<fieldset class="personalblock"> | ||
<div class="section"> | ||
<h2><?php p($l->t('Export data'));?></h2> | ||
<p> | ||
<input type="hidden" name="requesttoken" value="<?php p($_['requesttoken']) ?>" id="requesttoken"> | ||
<input type="radio" id="export_instance" name="export_type" value="instance" checked /><label for="export_instance"><?php p($l->t('All system files and user data'));?></label><br /> | ||
<input type="radio" id="export_system" name="export_type" value="system" /><label for="export_system"><?php p($l->t('Only system files'));?></label><br /> | ||
<input type="radio" id="export_value" name="export_type" value="userfiles" /><label for="export_value"><?php p($l->t('Only user data'));?></label><br /> | ||
<input type="submit" name="admin_export" value="<?php p($l->t('Export')); ?>" /> | ||
</fieldset> | ||
</div> | ||
</form> | ||
<?php | ||
/* | ||
* EXPERIMENTAL | ||
?> | ||
<form id="import" action="#" method="post" enctype="multipart/form-data"> | ||
<fieldset class="personalblock"> | ||
<div class="section"> | ||
<h2><?php p($l->t('Import an ownCloud instance. THIS WILL DELETE ALL CURRENT OWNCLOUD DATA'));?></h2> | ||
<p><?php p($l->t('All current ownCloud data will be replaced by the ownCloud instance that is uploaded.'));?> | ||
</p> | ||
<p><input type="file" id="owncloud_import" name="owncloud_import"><label for="owncloud_import"><?php p($l->t('ownCloud Export Zip File'));?></label> | ||
</p> | ||
<input type="submit" name="admin_import" value="<?php p($l->t('Import')); ?>" /> | ||
</fieldset> | ||
</div> | ||
</form> | ||
<?php | ||
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
<form id="apptemplate"> | ||
<fieldset class="personalblock"> | ||
<strong>App Template</strong><br /> | ||
<div class="section"> | ||
<h2><?php p($l->t('App Template'));?></h2><br /> | ||
<input type="text" name="somesetting" id="somesetting" value="<?php p($_['url']); ?>" placeholder="<?php p($l->t('Some Setting'));?>" /> | ||
<br /> | ||
<span class="msg"></span> | ||
</fieldset> | ||
</div> | ||
</form> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
<fieldset class="personalblock" id="migration-settings-block"> | ||
<div class="section"> | ||
<h2><?php p($l->t('Account Export/Import'));?></h2> | ||
<?php if(isset($_['error'])) { ?> | ||
<h3><?php p($_['error']['error']); ?></h3> | ||
<p><?php p($_['error']['hint']); ?></p> | ||
<?php } ?> | ||
<button id="exportbtn">Export<img class="loadingexport" src="<?php print_unescaped(OCP\Util::imagePath('core', 'loading.gif')); ?>" /></button><br/> | ||
<button id="exportbtn"><?php p($l->t('Export'));?><img class="loadingexport" src="<?php print_unescaped(OCP\Util::imagePath('core', 'loading.gif')); ?>" /></button><br/> | ||
<form id="import" action="#" method="post" enctype="multipart/form-data"> | ||
<input type="hidden" name="requesttoken" value="<?php p($_['requesttoken']) ?>" id="requesttoken"> | ||
<input type="file" id="import_input" name="owncloud_import"> | ||
</form> | ||
<button id="importbtn">Import<img class="loadingimport" src="<?php print_unescaped(OCP\Util::imagePath('core', 'loading.gif')); ?>" /></button> | ||
</fieldset> | ||
<button id="importbtn"><?php p($l->t('Import'));?><img class="loadingimport" src="<?php print_unescaped(OCP\Util::imagePath('core', 'loading.gif')); ?>" /></button> | ||
</div> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
<form id="user_oauth"> | ||
<fieldset class="personalblock"> | ||
<strong>OAuth</strong><br /> | ||
<div class="section"> | ||
<h2>OAuth</h2><br /> | ||
<input type="text" name="introspectionEndpoint" id="introspectionEndpoint" value="<?php p($_['introspectionEndpoint']); ?>" placeholder="<?php p($l->t('Introspection endpoint'));?>" /> | ||
<br /> | ||
<span class="msg">Provide the OAuth 2.0 Authorization Server introspection endpoint here.</span> | ||
</fieldset> | ||
<span class="msg"><?php p($l->t('Provide the OAuth 2.0 Authorization Server introspection endpoint here.'));?></span> | ||
</div> | ||
</form> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
<form id="xmppchat" action="#" method="post"> | ||
<fieldset class="personalblock"> | ||
<div class="section"> | ||
<h2><?php p($l->t('XMPP Chat Settings'));?></h2> | ||
<p> | ||
<input type="checkbox" name="autoroster" id="autoroster" <?php if ($_['autoroster']) p(' checked'); ?>> | ||
<label for="autoroster"><?php p($l->t('Auto Add contacts to roster on insert/update'));?></label> | ||
</p> | ||
<input type="submit" value="Save" /> | ||
</fieldset> | ||
<input type="submit" value="<?php p($l->t('Save'));?>" /> | ||
</div> | ||
</form> |