Skip to content

Commit

Permalink
调整表单提交
Browse files Browse the repository at this point in the history
  • Loading branch information
fen committed Oct 15, 2013
1 parent 944ce1e commit 4ab2e7c
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 13 deletions.
9 changes: 2 additions & 7 deletions admin/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1559,9 +1559,6 @@ ul.typecho-list-notable li .loading {
}

.typecho-post-area #auto-save-message {
margin-top: 5px;
color: #999;
font-size: .92857em;
}

/*.typecho-post-area .typecho-preview-label {
Expand Down Expand Up @@ -1860,10 +1857,8 @@ ul.typecho-list-notable li .loading {
}

.typecho-attachment-photo-box img {
border: 1px solid #E8EDD6;
background: #fff;
padding: 3px;
max-width: 610px;
border: 1px solid #E6E6E3;
max-width: 100%;
}

.typecho-mime {
Expand Down
2 changes: 1 addition & 1 deletion admin/media.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<div class="col-mb-12 col-tb-8">
<div class="typecho-attachment-photo-box">
<?php if ($attachment->attachment->isImage): ?>
<img src="<?php $attachment->attachment->url(); ?>" alt="<?php $attachment->attachment->name(); ?>" />
<p><img src="<?php $attachment->attachment->url(); ?>" alt="<?php $attachment->attachment->name(); ?>" /></p>
<?php endif; ?>

<div class="description">
Expand Down
4 changes: 2 additions & 2 deletions admin/profile.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<div class="body container">
<?php include 'page-title.php'; ?>
<div class="col-group typecho-page-main">
<div class="col-mb-12 col-tb-9 typecho-content-panel">
<div class="col-mb-12 col-tb-8 typecho-content-panel">
<fieldset>
<legend><?php _e('个人资料'); ?></legend>
<?php Typecho_Widget::widget('Widget_Users_Profile')->profileForm()->render(); ?>
Expand All @@ -30,7 +30,7 @@
</fieldset>

</div>
<div class="col-tb-3">
<div class="col-tb-3 col-tb-offset-1">
<?php echo '<img class="avatar" src="http://www.gravatar.com/avatar/' . md5($user->mail) . '?s=128&r=X' .
'&d=" alt="' . $user->screenName . '" />'; ?>
<h2><?php $user->screenName(); ?><br><small><?php $user->name(); ?></small></h2>
Expand Down
2 changes: 1 addition & 1 deletion admin/user.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<div class="body container">
<?php include 'page-title.php'; ?>
<div class="col-group typecho-page-main">
<div class="col-mb-12">
<div class="col-mb-12 col-tb-8 col-tb-offset-2">
<?php Typecho_Widget::widget('Widget_Users_Edit')->form()->render(); ?>
</div>
</div>
Expand Down
7 changes: 5 additions & 2 deletions admin/write-post.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,12 @@
<p><input id="tags" name="tags" type="text" value="<?php $post->tags(',', false); ?>" class="w-100 text" /></p>
<?php Typecho_Plugin::factory('admin/write-post.php')->content($post); ?>
<p class="submit">
<a href="###" id="advance-panel-btn" class="left"><?php _e('高级选项'); ?></a>
<span class="right">
<span class="left">
<a href="###" id="advance-panel-btn"><?php _e('高级选项'); ?></a>
<span id="auto-save-message">保存于 1 分钟前</span>
</span>

<span class="right">
<input type="hidden" name="cid" value="<?php $post->cid(); ?>" />
<input type="hidden" name="do" value="publish" />
<button type="button" id="btn-preview"><?php _e('预览'); ?></button>
Expand Down

0 comments on commit 4ab2e7c

Please sign in to comment.