Kaynağa Gözat

reduce size of icons in blog main feed

cube 3 gün önce
ebeveyn
işleme
8f11e5fb6b
3 değiştirilmiş dosya ile 17 ekleme ve 2 silme
  1. 11
    0
      README.md
  2. 4
    0
      myriad/static/style.css
  3. 2
    2
      myriad/templates/blog/blog.html

+ 11
- 0
README.md Dosyayı Görüntüle

2
 
2
 
3
 flask app for plurals to publicly share member lists
3
 flask app for plurals to publicly share member lists
4
 
4
 
5
+# todo (minor)
6
+
7
+- add delete button to blog posts on main feed
8
+- show blog posts in edit member section with a delete button
9
+
10
+# todo (major)
11
+
12
+- add blinkies and stamps sections to member pages
13
+- (require above) add blinkies and stamps upload sections to edit member page
14
+- (require above) add blinkies and stamps link/db cleanup to manage site assets
15
+
5
 # dev set up (windows)
16
 # dev set up (windows)
6
 
17
 
7
 - after cloning, run `py -3 -m venv .venv` in the root directory and then `.venv\Scripts\activate`
18
 - after cloning, run `py -3 -m venv .venv` in the root directory and then `.venv\Scripts\activate`

+ 4
- 0
myriad/static/style.css Dosyayı Görüntüle

176
     border-style:solid;
176
     border-style:solid;
177
     margin:20px;
177
     margin:20px;
178
 }
178
 }
179
+.post .icon{
180
+    width:60px;
181
+    height:60px;
182
+}
179
 
183
 
180
 .imgbullet{
184
 .imgbullet{
181
     margin-right:10px;
185
     margin-right:10px;

+ 2
- 2
myriad/templates/blog/blog.html Dosyayı Görüntüle

14
       {% else %}
14
       {% else %}
15
         <img src="{{ url_for('static', filename='any.jpg') }}" class="icon">
15
         <img src="{{ url_for('static', filename='any.jpg') }}" class="icon">
16
       {% endif %}
16
       {% endif %}
17
-        <div class="title">{{post[3]}}</div>
17
+        <div class="title">{{post[3]|safe}}</div>
18
         <div class="timestamp">{{post[2]}} - <a href="{{ url_for('home.page', mid=post[1]) }}">{{op[3]}}</a></div>
18
         <div class="timestamp">{{post[2]}} - <a href="{{ url_for('home.page', mid=post[1]) }}">{{op[3]}}</a></div>
19
         <div class="content">
19
         <div class="content">
20
-            {{post[4]}}
20
+            {{post[4]|safe}}
21
         </div>
21
         </div>
22
         <br class="clear" />
22
         <br class="clear" />
23
     </div>
23
     </div>