diff options
author | Choom | 2023-01-18 23:06:56 -0300 |
---|---|---|
committer | Choom | 2023-01-19 02:25:20 -0300 |
commit | 6f6263415be7d893e332d6e6c3404c453304e9e4 (patch) | |
tree | 00ea455883c674cc90525b4349f1c95ea5d9264d /cgi/templates | |
parent | 542e8d1452130079ae47f7a56328f8421e56f5ab (diff) | |
download | weabot-6f6263415be7d893e332d6e6c3404c453304e9e4.tar.gz weabot-6f6263415be7d893e332d6e6c3404c453304e9e4.tar.xz weabot-6f6263415be7d893e332d6e6c3404c453304e9e4.zip |
Separando ID de timestamp
Diffstat (limited to 'cgi/templates')
-rw-r--r-- | cgi/templates/board.html | 3 | ||||
-rw-r--r-- | cgi/templates/board.jp.html | 3 | ||||
-rw-r--r-- | cgi/templates/txt_archive.html | 7 | ||||
-rw-r--r-- | cgi/templates/txt_board.en.html | 7 | ||||
-rw-r--r-- | cgi/templates/txt_board.html | 7 | ||||
-rw-r--r-- | cgi/templates/txt_thread.html | 3 | ||||
-rw-r--r-- | cgi/templates/txt_threadlist.html | 2 |
7 files changed, 28 insertions, 4 deletions
diff --git a/cgi/templates/board.html b/cgi/templates/board.html index 4a94dc4..ee0ae59 100644 --- a/cgi/templates/board.html +++ b/cgi/templates/board.html @@ -195,6 +195,9 @@ </span> <?py #endif ?> <span class="date" data-unix="#{post['timestamp']}">#{post['timestamp_formatted']}</span> + <?py if post['posterid']: ?> + <span class="hash">ID:#{post['posterid']}</span> + <?py #endif ?> <?py if replythread: ?> <span class="reflink"><a href="##{post['id']}">No.</a><a href="#" class="num">#{post['id']}</a></span> <?py else: ?> diff --git a/cgi/templates/board.jp.html b/cgi/templates/board.jp.html index 0c013ae..db24cc1 100644 --- a/cgi/templates/board.jp.html +++ b/cgi/templates/board.jp.html @@ -197,6 +197,9 @@ </span> <?py #endif ?> <span class="date" data-unix="#{post['timestamp']}">#{post['timestamp_formatted']}</span> + <?py if post['posterid']: ?> + <span class="hash">ID:#{post['posterid']}</span> + <?py #endif ?> <?py if replythread: ?> <span class="reflink"><a href="##{post['id']}">No.</a><a href="#" class="num">#{post['id']}</a></span> <?py else: ?> diff --git a/cgi/templates/txt_archive.html b/cgi/templates/txt_archive.html index 6a30375..cf7077b 100644 --- a/cgi/templates/txt_archive.html +++ b/cgi/templates/txt_archive.html @@ -64,7 +64,12 @@ <?py else: ?> <span class="name"><b>#{post['name']}</b></span> <?py #endif ?> - <?py #endif ?> : <span class="date">#{post['timestamp_formatted']}</span></h4> + <?py #endif ?> + : <span class="date">#{post['timestamp_formatted']}</span> + <?py if post['posterid']: ?> + <span class="hash">ID:#{post['posterid']}</span> + <?py #endif ?> + </h4> <div class="msg">#{post['message']}</div> </div> <?py #endif ?> diff --git a/cgi/templates/txt_board.en.html b/cgi/templates/txt_board.en.html index 75f548a..55d78ab 100644 --- a/cgi/templates/txt_board.en.html +++ b/cgi/templates/txt_board.en.html @@ -66,7 +66,12 @@ <?py else: ?> <span class="name"><b>#{post['name']}</b></span> <?py #endif ?> - <?py #endif ?> : <span class="date" data-unix="#{post['timestamp']}">#{post['timestamp_formatted']}</span></h4> + <?py #endif ?> + : <span class="date" data-unix="#{post['timestamp']}">#{post['timestamp_formatted']}</span> + <?py if post['posterid']: ?> + <span class="hash">ID:#{post['posterid']}</span> + <?py #endif ?> + </h4> <?py if post['file']: ?> <a href="/#{board}/src/#{post['file']}" target="_blank" class="thumb"> <img src="#{'/static/' if post['thumb'].startswith('mime') else ('/'+board+'/thumb/')}#{post['thumb']}" width="#{post['thumb_width']}" height="#{post['thumb_height']}" title="${post['file']}-(${post['file_size']} B)" /> diff --git a/cgi/templates/txt_board.html b/cgi/templates/txt_board.html index 4e8d820..0d386f1 100644 --- a/cgi/templates/txt_board.html +++ b/cgi/templates/txt_board.html @@ -70,7 +70,12 @@ <?py else: ?> <span class="name"><b>#{post['name']}</b></span> <?py #endif ?> - <?py #endif ?> : <span class="date" data-unix="#{post['timestamp']}">#{post['timestamp_formatted']}</span></h4> + <?py #endif ?> + : <span class="date" data-unix="#{post['timestamp']}">#{post['timestamp_formatted']}</span> + <?py if post['posterid']: ?> + <span class="hash">ID:#{post['posterid']}</span> + <?py #endif ?> + </h4> <?py if post['file']: ?> <a href="/#{board}/src/#{post['file']}" target="_blank" class="thumb"> <img src="#{'/static/' if post['thumb'].startswith('mime') else ('/'+board+'/thumb/')}#{post['thumb']}" width="#{post['thumb_width']}" height="#{post['thumb_height']}" title="${post['file']}-(${post['file_size']} B)" /> diff --git a/cgi/templates/txt_thread.html b/cgi/templates/txt_thread.html index 98f4567..77c3101 100644 --- a/cgi/templates/txt_thread.html +++ b/cgi/templates/txt_thread.html @@ -49,6 +49,9 @@ <span class="name"><b>#{post['name']}</b></span> <?py #endif ?> <?py #endif ?> : <span class="date" data-unix="#{post['timestamp']}">#{post['timestamp_formatted']}</span> + <?py if post['posterid']: ?> + <span class="hash">ID:#{post['posterid']}</span> + <?py #endif ?> <span class="del"><a href="#{cgi_url}report/#{board}/#{post['id']}/#{post['num']}">rep</a> <a href="#">del</a></span></h4> <?py if post['file']: ?> <a href="/#{board}/src/#{post['file']}" target="_blank" class="thumb"><img src="#{'/static/' if post['thumb'].startswith('mime') else ('/'+board+'/thumb/')}#{post['thumb']}" width="#{post['thumb_width']}" height="#{post['thumb_height']}" title="${post['file']}-(${post['file_size']} B)" /></a> diff --git a/cgi/templates/txt_threadlist.html b/cgi/templates/txt_threadlist.html index 315b34f..8cbd693 100644 --- a/cgi/templates/txt_threadlist.html +++ b/cgi/templates/txt_threadlist.html @@ -2,7 +2,7 @@ <body class="mainpage" data-brd="#{board}"> <div id="main_nav"><a href="/" target="_top">Bienvenido a Internet</a> | <?py include('templates/navbar.html') ?></div> <?py if banner_url: ?> - <img class="banner" src="#{banner_url}" style="width:#{banner_width}px;height:#{banner_height}px;" /> + <img id="banner" src="#{banner_url}" style="width:#{banner_width}px;height:#{banner_height}px;" /> <?py #endif ?> <div id="titlebox" class="outerbox"> <div class="innerbox"> |