mirror of
https://github.com/journeyman-cc/smeagol.git
synced 2026-04-12 18:05:06 +00:00
#31: Fix
This commit is contained in:
parent
1353e27f92
commit
843a1d084b
6 changed files with 39 additions and 21 deletions
|
|
@ -75,6 +75,8 @@
|
|||
:email-prompt "Email address" ;; text of the email widget prompt on edit user page
|
||||
:file-or-directory "File or directory"
|
||||
;; used in sanity check report
|
||||
:file-summary-prompt "Description/what's changed"
|
||||
;; prompt for the file upload summary input
|
||||
:file-upload-link-text "You may link to this file using a link of the form"
|
||||
;; Text introducing the link to an uploaded file
|
||||
:file-upload-prompt "File to upload" ;; prompt string for the file upload widget
|
||||
|
|
|
|||
|
|
@ -209,6 +209,10 @@ th {
|
|||
display: block;
|
||||
}
|
||||
|
||||
#uploaded-image {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.change {
|
||||
background-color: rgb( 223, 223, 223);
|
||||
border: thin solid silver;
|
||||
|
|
|
|||
BIN
resources/public/content/uploads/smeagol.png
Normal file
BIN
resources/public/content/uploads/smeagol.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 13 KiB |
|
|
@ -3,12 +3,12 @@
|
|||
<div id="content" class="auth">
|
||||
{% if uploaded %}
|
||||
{% if is-image %}
|
||||
<img alt="Uploaded image" src="uploads/{{uploaded}}"/>
|
||||
|
||||
<p>
|
||||
<img id="uploaded-image" alt="Uploaded image" src="content/uploads/{{uploaded}}"/>
|
||||
|
||||
{% i18n file-upload-link-text %}:
|
||||
|
||||
<code></code>
|
||||
<code></code>
|
||||
</p>
|
||||
{% else %}
|
||||
<p>
|
||||
|
|
@ -24,6 +24,10 @@
|
|||
<label for="upload">{% i18n file-upload-prompt %}</label>
|
||||
<input name="upload" id="upload" type="file" required/>
|
||||
</p>
|
||||
<p class="widget">
|
||||
<label for="summary">{% i18n file-summary-prompt %}</label>
|
||||
<input name="summary" id="summary" type="text" required/>
|
||||
</p>
|
||||
<p class="widget">
|
||||
<label for="submit">{% i18n save-prompt %}</label>
|
||||
<input name="submit" id="submit" type="submit" class="action" value="{% i18n save-label %}"/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue