diff options
| author | Bobby <[email protected]> | 2024-12-16 18:38:05 +0000 |
|---|---|---|
| committer | Bobby <[email protected]> | 2024-12-16 18:38:05 +0000 |
| commit | ea8f5e8517161c1bd52f61198138dfd2fc72f8e2 (patch) | |
| tree | 19dd955137c8c6bb9c1143bbced320737cd93b09 /templates | |
| parent | 04788ddd83c5e80a09a468d07427f0e365db71d7 (diff) | |
| download | thatcomputerscientist-ea8f5e8517161c1bd52f61198138dfd2fc72f8e2.tar.xz thatcomputerscientist-ea8f5e8517161c1bd52f61198138dfd2fc72f8e2.zip | |
its all in a state of chaos, but it shall be working soon
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/400.html | 2 | ||||
| -rw-r--r-- | templates/403.html | 2 | ||||
| -rw-r--r-- | templates/404.html | 6 | ||||
| -rw-r--r-- | templates/500.html | 2 | ||||
| -rw-r--r-- | templates/blog/account.html | 26 | ||||
| -rw-r--r-- | templates/blog/activity.html | 6 | ||||
| -rw-r--r-- | templates/blog/anilist.html | 2 | ||||
| -rw-r--r-- | templates/blog/archives.html | 2 | ||||
| -rw-r--r-- | templates/blog/articles.html | 10 | ||||
| -rw-r--r-- | templates/blog/categories.html | 2 | ||||
| -rw-r--r-- | templates/blog/home.html | 4 | ||||
| -rw-r--r-- | templates/blog/partials/base.html | 6 | ||||
| -rw-r--r-- | templates/blog/partials/post_list.html | 10 | ||||
| -rw-r--r-- | templates/blog/partials/search/comment_list.html | 2 | ||||
| -rw-r--r-- | templates/blog/partials/search/post_list.html | 8 | ||||
| -rw-r--r-- | templates/blog/partials/search/user_list.html | 2 | ||||
| -rw-r--r-- | templates/blog/partials/sidebar.html | 38 | ||||
| -rw-r--r-- | templates/blog/post.html | 32 | ||||
| -rw-r--r-- | templates/blog/register.html | 2 | ||||
| -rw-r--r-- | templates/blog/search.html | 2 | ||||
| -rw-r--r-- | templates/blog/tags.html | 2 | ||||
| -rw-r--r-- | templates/blog_admin/posts.html | 6 | ||||
| -rw-r--r-- | templates/dev_status/home.html | 14 | ||||
| -rw-r--r-- | templates/dev_status/repo.html | 8 |
24 files changed, 98 insertions, 98 deletions
diff --git a/templates/400.html b/templates/400.html index 41beaa4e..e45508f8 100644 --- a/templates/400.html +++ b/templates/400.html @@ -4,7 +4,7 @@ <div style="text-align: center;"> <h1>400 Bad Request</h1> <p>Unfortunately, something went wrong. The server could not understand your request.</p> - <p><a href="{% url 'blog:home' %}" class="button button-special">Go Home</a></p> + <p><a href="#" class="button button-special">Go Home</a></p> </div> </div> {% endblock %} diff --git a/templates/403.html b/templates/403.html index 1ab86cd6..9e0e766e 100644 --- a/templates/403.html +++ b/templates/403.html @@ -4,7 +4,7 @@ <div style="text-align: center;"> <h1>403 Permission Denied</h1> <p>You do not have permission to access this page.</p> - <p><<a href="{% url 'blog:home' %}" class="button button-special">Go Home</a></p> + <p><<a href="#" class="button button-special">Go Home</a></p> </div> </div> {% endblock %} diff --git a/templates/404.html b/templates/404.html index 455f1659..ae858be7 100644 --- a/templates/404.html +++ b/templates/404.html @@ -15,7 +15,7 @@ <p>Hey! Skippy here! I am the 404 Assistant Bot for this site. Looks like you are trying to search an article, but I couldn't find the page. {% if context.similar_posts %}Maybe you are looking for one of these?{% endif %}</p> <ul style="position: relative; left: 30px; top: 10px;"> {% for post in context.similar_posts %} - <li><a href="{% url 'blog:post' post.slug %}">{{ post.title }}</a></li> + <li><a href="#">{{ post.title }}</a></li> {% endfor %} </ul> {% elif context.mode == 'user' %} @@ -24,7 +24,7 @@ <p>Hey! Skippy here! I am the 404 Assistant Bot for this site. Looks like you are trying to search a user with username <b>{{ context.username }}</b> but I couldn't find any user with that username. {% if context.similar_users %}Maybe you are looking for one of these users?{% endif %}</p> <ul style="position: relative; left: 30px; top: 10px;"> {% for user in context.similar_users %} - <li><a href="{% url 'blog:user_activity' user.username %}">{{ user.username }}</a></li> + <li><a href="#">{{ user.username }}</a></li> {% endfor %} </ul> {% else %} @@ -32,7 +32,7 @@ <p>Hey! Skippy here! I am the 404 Assistant Bot for this site. Unfortunately, I couldn't find the page you were looking for. Let me guide you home!</p> {% endif %} <br> - <p><a href="{% url 'blog:home' %}" class="button button-special">Go Home</a></p> + <p><a href="#" class="button button-special">Go Home</a></p> </div> <div style="clear:both;"></div> <div style="margin-top: 28px; border-bottom: dotted 1px #fefefe;"></div> diff --git a/templates/500.html b/templates/500.html index f61b46fa..5cfdd6ca 100644 --- a/templates/500.html +++ b/templates/500.html @@ -4,7 +4,7 @@ <div style="text-align: center;"> <h1>500 Server Error</h1> <p>Sorry, something went wrong. The server encountered an internal error or misconfiguration and was unable to complete your request.</p> - <p><a href="{% url 'blog:home' %}" class="button button-special">Go Home</a></p> + <p><a href="#" class="button button-special">Go Home</a></p> </div> </div> {% endblock %} diff --git a/templates/blog/account.html b/templates/blog/account.html index 7af89675..968433e4 100644 --- a/templates/blog/account.html +++ b/templates/blog/account.html @@ -7,14 +7,14 @@ <img src="{% static 'images/avatars/' %}{{ user_profile.avatar_url }}.gif" alt="{{ user.username }}'s avatar" width="140" height="140" style="display: block; margin: 0 auto;" /> </div> <div id="side-links"> - <p><a href="{% url 'blog:account' %}">Account Home</a></p> - <p><a href="{% url 'blog:account' %}?tab=blinkies">Change profile blinkie</a></p> - <p><a href="{% url 'blog:account' %}?tab=avatar">Change avatar</a></p> - <p><a href="{% url 'blog:account' %}?tab=details">Change details</a></p> - <p><a href="{% url 'blog:account' %}?tab=email">Change email</a></p> - <p><a href="{% url 'blog:account' %}?tab=password">Change password</a></p> + <p><a href="#">Account Home</a></p> + <p><a href="#?tab=blinkies">Change profile blinkie</a></p> + <p><a href="#?tab=avatar">Change avatar</a></p> + <p><a href="#?tab=details">Change details</a></p> + <p><a href="#?tab=email">Change email</a></p> + <p><a href="#?tab=password">Change password</a></p> {% if not user.is_superuser %} - <p><a href="{% url 'blog:account' %}?tab=delete" class="error">Delete account</a></p> + <p><a href="#?tab=delete" class="error">Delete account</a></p> {% endif %} </div> </div> @@ -27,7 +27,7 @@ {% if request.GET.tab == 'avatar' %} <div id="avatar-chooser"> <p>Choose an avatar from the list below. The avatars are grouped by their theme.</p> - <form method="post" action="{% url 'users:updateavatar' %}"> + {% comment %} <form method="post" action="{% url 'users:updateavatar' %}"> {% endcomment %} {% csrf_token %} {% for avatar_dir, avatar_files in avatarlist.items %} <h2 style="clear:both;background-color: #3E4245;padding: 8px 10px;border: none;background: -moz-linear-gradient(90deg, #3E4245 0%, #2E3131 100%); @@ -57,7 +57,7 @@ {% elif request.GET.tab == 'blinkies' %} <div id="blinkie-chooser"> <p>Choose a blinkie to display on your public profile.</p> - <form method="post" action="{% url 'users:updateblinkie' %}"> + {% comment %} <form method="post" action="{% url 'users:updateblinkie' %}"> {% endcomment %} {% csrf_token %} <div style="display: inline; width: 250px; float: left;"> <input type="radio" name="blinkie" value="" id="blinkie_none" checked /> @@ -80,7 +80,7 @@ {% elif request.GET.tab == 'details' %} <div id="details"> <p>Change your account details here. You can change your first name, last name, bio, email and activity visibility.</p> - <form method="post" action="{% url 'users:update' %}"> + {% comment %} <form method="post" action="{% url 'users:update' %}"> {% endcomment %} {% csrf_token %} <table> {{ update_form.as_table }} @@ -91,7 +91,7 @@ {% elif request.GET.tab == 'email' %} <div id="email"> <p>Change your email address here. Your current registered email is <em><u>{{ user.email }}</u></em>. Please note that a verification email will be sent to the new email address in order to update the current email address. Please provide the new email address in the box below:</p> - <form method="post" action = "{% url 'users:sendchangeuseremail' %}"> + {% comment %} <form method="post" action = "{% url 'users:sendchangeuseremail' %}"> {% endcomment %} {% csrf_token %} <p><input type="email" name="email" id="email" required placeholder="New email address" /></p> <input type="submit" value="Update Email" class="button button-special" /> @@ -99,7 +99,7 @@ </div> {% elif request.GET.tab == 'password' %} <div id="password"> - <form method="post" action="{% url 'users:changepassword' %}"> + {% comment %} <form method="post" action="{% url 'users:changepassword' %}"> {% endcomment %} {% csrf_token %} <table> <tr> @@ -122,7 +122,7 @@ {% elif request.GET.tab == 'delete' and not user.is_superuser %} <div id="delete"> <p>Deleting your account will remove all your posts, comments and other data from the website. Please note that this action is irreversible. If you wish to delete your account, please enter your password in the box below:</p> - <form method="post" action="{% url 'users:delete' %}"> + {% comment %} <form method="post" action="{% url 'users:delete' %}"> {% endcomment %} {% csrf_token %} <p><input type="password" name="password" id="password" required placeholder="Password" /></p> <input type="submit" value="Delete Account" class="button button-special" /> diff --git a/templates/blog/activity.html b/templates/blog/activity.html index d963fe1d..e47dd537 100644 --- a/templates/blog/activity.html +++ b/templates/blog/activity.html @@ -9,7 +9,7 @@ <td style="padding-left: 20px;"> <p style="margin-top: 0px;"> <span style="font-size: 16px; font-weight: bold;">{{ activity_user.first_name }} {{ activity_user.last_name }}</span> - <a style="position: relative; top: -2px;" href="{% url 'blog:user_activity' activity_user.username %}"><b>@{{ activity_user.username }}</b></a> + <a style="position: relative; top: -2px;" href="#"><b>@{{ activity_user.username }}</b></a> {% if activity_user_profile.blinkie_url %} <img src="{% static 'images/blinkies/' %}{{ activity_user_profile.blinkie_url }}.gif" alt="{{ activity_user_profile.blinkie_url }}" height="20" width="150" style="position: relative; top: 2px; left: 10px;" /> {% endif %} @@ -37,12 +37,12 @@ {% if activity_recent_comments %} <h2>Recent Comments</h2> {% if not activity_user_profile.is_public and request.user.username == activity_user.username %} - <p class="info">Your profile is not public. Only you can see this information. If you want to change this, go to your <a href="{% url 'blog:account' %}?tab=details">account settings</a>.</p> + <p class="info">Your profile is not public. Only you can see this information. If you want to change this, go to your <a href="#?tab=details">account settings</a>.</p> {% endif %} <ul> {% for comment in activity_recent_comments %} <li style="background: #1c1c1c;padding: 20px 10px 10px 10px;margin-bottom: 10px;border-radius: 8px;"> - <p>On <a href="{% url 'blog:post' comment.post.slug %}#comment-{{ comment.id }}">{{ comment.post.title }}</a>: + <p>On <a href="#comment-{{ comment.id }}">{{ comment.post.title }}</a>: <blockquote style="background: none; margin-top: 15px; padding: 0px 20px; width: 640px; margin-left: 20px;">{{ comment.body|safe }}</blockquote></p> </li> {% endfor %} diff --git a/templates/blog/anilist.html b/templates/blog/anilist.html index 2ab01484..7e60a48b 100644 --- a/templates/blog/anilist.html +++ b/templates/blog/anilist.html @@ -1,7 +1,7 @@ {% extends 'blog/partials/base.html' %} {% block content %} {% load static %} <div class="iframe-loader" style="margin-top: 36px"> <iframe - src="{% url 'blog:anidata' %}" + src="#" width="100%" height="100%" frameborder="0" diff --git a/templates/blog/archives.html b/templates/blog/archives.html index 09ec4963..6c3420a4 100644 --- a/templates/blog/archives.html +++ b/templates/blog/archives.html @@ -10,7 +10,7 @@ <img src="{% static 'images/site/icons/cabinet.gif' %}" alt="Archive" border="0"> </span> <span> - <a href="{% url 'blog:archives' %}/{{ archive | date:"F_Y" }}"> + <a href="#/{{ archive | date:"F_Y" }}"> {{ archive | date:"F Y" }} </a> </span> diff --git a/templates/blog/articles.html b/templates/blog/articles.html index 87bb53cf..79a90732 100644 --- a/templates/blog/articles.html +++ b/templates/blog/articles.html @@ -42,19 +42,19 @@ <td><a class="disabled">«</a></td> <td style="margin-right: 15px;"><a class="disabled">‹</a></td> {% else %} - <td><a href="{% url 'blog:articles' %}?page=1&order_by={{ order_by }}&direction={{ direction }}&category={{ category }}">«</a></td> - <td style="margin-right: 15px;"><a href="{% url 'blog:articles' %}?page={{ page|add:'-1' }}&order_by={{ order_by }}&direction={{ direction }}&category={{ category }}">‹</a></td> + <td><a href="#?page=1&order_by={{ order_by }}&direction={{ direction }}&category={{ category }}">«</a></td> + <td style="margin-right: 15px;"><a href="#?page={{ page|add:'-1' }}&order_by={{ order_by }}&direction={{ direction }}&category={{ category }}">‹</a></td> {% endif %} {% load times %} {% for i in num_pages|times %} - <td><a {% if i == page %}class="active"{% endif %} href="{% url 'blog:articles' %}?page={{ i }}&order_by={{ order_by }}&direction={{ direction }}&category={{ category }}">{{ i }}</a></td> + <td><a {% if i == page %}class="active"{% endif %} href="#?page={{ i }}&order_by={{ order_by }}&direction={{ direction }}&category={{ category }}">{{ i }}</a></td> {% endfor %} {% if page == num_pages %} <td style="margin-left: 15px;" class="disabled"><a class="disabled">›</a></td> <td><a class="disabled">»</a></td> {% else %} - <td style="margin-left: 15px;"><a href="{% url 'blog:articles' %}?page={{ page|add:'1' }}&order_by={{ order_by }}&direction={{ direction }}&category={{ category }}">›</a></td> - <td><a href="{% url 'blog:articles' %}?page={{ num_pages }}&order_by={{ order_by }}&direction={{ direction }}&category={{ category }}">»</a></td> + <td style="margin-left: 15px;"><a href="#?page={{ page|add:'1' }}&order_by={{ order_by }}&direction={{ direction }}&category={{ category }}">›</a></td> + <td><a href="#?page={{ num_pages }}&order_by={{ order_by }}&direction={{ direction }}&category={{ category }}">»</a></td> {% endif %} </tr> </table> diff --git a/templates/blog/categories.html b/templates/blog/categories.html index b95403ea..aa1eeff6 100644 --- a/templates/blog/categories.html +++ b/templates/blog/categories.html @@ -10,7 +10,7 @@ <img src="{% static 'images/site/icons/books.gif' %}" alt="Archive" border="0"> </span> <span> - <a href="{% url 'blog:categories' %}/{{ category.slug }}"> + <a href="#/{{ category.slug }}"> {{ category }} </a> </span> diff --git a/templates/blog/home.html b/templates/blog/home.html index 739c5227..683afcbe 100644 --- a/templates/blog/home.html +++ b/templates/blog/home.html @@ -3,8 +3,8 @@ {% load i18n %} <link rel="stylesheet" href="{% static 'css/home.css' %}"> <div id="welcome" class="mtctitem"> - {% url 'blog:user_activity' 'bobby' as bobby_profile_url %} - {% url 'blog:register' as register_url %} + {% comment %} {% url 'blog:user_activity' 'bobby' as bobby_profile_url %} + {% url 'blog:register' as register_url %} {% endcomment %} {% blocktrans %} <p> Welcome to the home of <b>Shifoo</b> (previously <i>That Computer Scientist</i>). My name is <a href="{{ bobby_profile_url }}">@bobby</a>, and this is my personal diff --git a/templates/blog/partials/base.html b/templates/blog/partials/base.html index ea517166..6f7affb7 100644 --- a/templates/blog/partials/base.html +++ b/templates/blog/partials/base.html @@ -78,7 +78,7 @@ </div> </div> <div id="search-area"> - <form action="{% url 'blog:search' %}" method="get" id="search-form"> + <form action="#" method="get" id="search-form"> <input type="text" name="q" @@ -140,8 +140,8 @@ clicking them will redirect you to any other website. If you have any questions, comments, or concerns about how this site operates and how your data is handled, please check out the - <a href="{% url 'blog:policy' %}">site policy</a> page. View - <a href="{% url 'django.contrib.sitemaps.views.sitemap' %}">Sitemap</a + <a href="#">site policy</a> page. View + <a href="#">Sitemap</a >. </p> </div> diff --git a/templates/blog/partials/post_list.html b/templates/blog/partials/post_list.html index d72bd723..96a76a19 100644 --- a/templates/blog/partials/post_list.html +++ b/templates/blog/partials/post_list.html @@ -4,20 +4,20 @@ <div class="post"> <div class="post-header"> <h1> - <a style="color: #f4ebff;" href="{% url 'blog:post' post.slug %}">{{ post.title }}</a> + <a style="color: #f4ebff;" href="#">{{ post.title }}</a> </h1> <div class="author-info"> {% with post.author.userprofile_set.first as userprofile %} <span style="background-image: url('{% static 'images/avatars/' %}{{ userprofile.avatar_url }}.gif');" class="post-profile-image"></span> {% endwith %} <span> - <a href="{% url 'blog:user_activity' post.author %}" style="font-weight: bold;"> + <a href="#" style="font-weight: bold;"> {{ post.author.first_name }} {{ post.author.last_name }} </a> </span> <span>posted in</span> <span> - <a href="{% url 'blog:categories' %}/{{ post.category.slug }}" style=""> + <a href="#/{{ post.category.slug }}" style=""> {{ post.category }} </a> </span> @@ -31,13 +31,13 @@ </div> <div class="post-actions" style="clear: both;"> <span style="float: left; margin: 8px 0 0 0;"> - <a href="{% url 'blog:post' post.slug %}">Continue Reading</a> | <a href="{% url 'blog:post' post.slug %}#comments">{{ post.num_comments }} + <a href="#">Continue Reading</a> | <a href="##comments">{{ post.num_comments }} Comment{% if not post.num_comments == 1 %}s{% endif %}</a> </span> {% comment %} tags {% endcomment %} <span style="float: right;"> {% for tag in post.tags.all %} - <a class="tag" href="{% url 'blog:tag_posts' tag.slug %}">{{ tag.name }}</a> + <a class="tag" href="#">{{ tag.name }}</a> {% endfor %} </span> </div> diff --git a/templates/blog/partials/search/comment_list.html b/templates/blog/partials/search/comment_list.html index 7afbced0..d539c6b7 100644 --- a/templates/blog/partials/search/comment_list.html +++ b/templates/blog/partials/search/comment_list.html @@ -2,7 +2,7 @@ <ul style="list-style: none; padding: 0px; margin: 0px;"> {% for comment in comments %} <li style="background: #1c1c1c;padding: 10px; margin-bottom: 10px;border-radius: 8px; max-width: 530px;"> - <p><a class="notranslate" {% if comment.user%}href="{% url 'blog:user_activity' comment.user.username %}"{% endif %}>{% if comment.user %}{{ comment.user.username }}{% else %}{{ comment.anonymous_user.name }}{% endif %}</a> commented on <a href="{% url 'blog:post' comment.post.slug %}#comment-{{ comment.id }}">{{ comment.post.title }}</a> on <em>{{ comment.created_at | date:"M d, Y" }}</em>: + <p><a class="notranslate" {% if comment.user%}href="#"{% endif %}>{% if comment.user %}{{ comment.user.username }}{% else %}{{ comment.anonymous_user.name }}{% endif %}</a> commented on <a href="##comment-{{ comment.id }}">{{ comment.post.title }}</a> on <em>{{ comment.created_at | date:"M d, Y" }}</em>: <blockquote style="background: none; margin-top: 15px; padding: 0px 20px; margin-left: 20px;">{{ comment.body|safe }}</blockquote></p> </li> {% endfor %} diff --git a/templates/blog/partials/search/post_list.html b/templates/blog/partials/search/post_list.html index 811c417e..81afb03e 100644 --- a/templates/blog/partials/search/post_list.html +++ b/templates/blog/partials/search/post_list.html @@ -3,9 +3,9 @@ {% for post in posts %} {% comment %} This is the plain small version for search list {% endcomment %} <h1 style="font-size: 16px; margin: 0 0 4px 0;"> - <a style="color: #f4ebff;" href="{% url 'blog:post' post.slug %}">{{ post.title }}</a> + <a style="color: #f4ebff;" href="#">{{ post.title }}</a> </h1> - <p>Posted by <a href="{% url 'blog:user_activity' post.author %}">{{ post.author.first_name }} {{ post.author.last_name }}</a> in <a href="{% url 'blog:categories' %}/{{ post.category.slug }}">{{ post.category }}</a> on {% localtime on %}{{ post.date | date:"M d, Y" }}{% endlocaltime %}</p> + <p>Posted by <a href="#">{{ post.author.first_name }} {{ post.author.last_name }}</a> in <a href="#/{{ post.category.slug }}">{{ post.category }}</a> on {% localtime on %}{{ post.date | date:"M d, Y" }}{% endlocaltime %}</p> <img style="width: 150px; height: auto; float: left; margin: 0 8px 8px 0;" src="{% url 'ignis:post_image' '150' post.id %}.gif"> <div style="margin: -4px 0 8px 0;"> {{ post.body|truncatewords:150|safe }} @@ -13,11 +13,11 @@ <div style="clear: both; border-top: 1px dashed #fff;"></div> <p><b>Tags:</b> {% for tag in post.tags.all %} - <a class="tag" href="{% url 'blog:tag_posts' tag.slug %}">{{ tag.name }}</a> + <a class="tag" href="#">{{ tag.name }}</a> {% endfor %} </p> <p> - <a href="{% url 'blog:post' post.slug %}">Read complete post...</a> + <a href="#">Read complete post...</a> </p> <br> {% endfor %}
\ No newline at end of file diff --git a/templates/blog/partials/search/user_list.html b/templates/blog/partials/search/user_list.html index 3493508c..3d9ab865 100644 --- a/templates/blog/partials/search/user_list.html +++ b/templates/blog/partials/search/user_list.html @@ -3,7 +3,7 @@ <div class="user_info" style="border: 1px solid #ccc; padding: 10px; margin-bottom: 10px;"> <img src="{% static 'images/avatars/' %}{{ user.profile.avatar_url }}.gif" alt="Profile Picture" style="width: 50px; border-radius: 50%; float: left; margin-right: 10px; margin-top: 5px;"> <div> - <p><a href="{% url 'blog:user_activity' user.username %}">@{{ user.username }}</a> {% if user.first_name %}| <a href="{% url 'blog:user_activity' user.username %}">{{ user.first_name }}{% endif %} {% if user.last_name %}{{ user.last_name }}{% endif %}</a></p> + <p><a href="#">@{{ user.username }}</a> {% if user.first_name %}| <a href="#">{{ user.first_name }}{% endif %} {% if user.last_name %}{{ user.last_name }}{% endif %}</a></p> {% if user.profile.bio %} <p><b>Bio:</b> {{ user.profile.bio }}</p> {% endif %} diff --git a/templates/blog/partials/sidebar.html b/templates/blog/partials/sidebar.html index 458ddbee..83f7628f 100644 --- a/templates/blog/partials/sidebar.html +++ b/templates/blog/partials/sidebar.html @@ -5,7 +5,7 @@ {% for message in messages %} {% if 'loginError' in message.tags %} {% if message.message == "ENVERR" and request.GET.username %} - <form method="post" action="{% url 'users:sendverificationemail' %}" style="position: relative;"> + {% comment %} <form method="post" action="{% url 'users:sendverificationemail' %}" style="position: relative;"> {% endcomment %} {% csrf_token %} <input type="hidden" name="username" value="{{ request.GET.username }}"> <input type="submit" value="" style=" display: block; @@ -26,15 +26,15 @@ {% endif %} {% endfor %} <div id="login-area"> - <form method="post" action="{% url 'users:login' %}" id="login-form"> + {% comment %} <form method="post" action="{% url 'users:login' %}" id="login-form"> {% endcomment %} <input type="hidden" name="csrfmiddlewaretoken" value="{{ csrf_token }}"> <input type="text" id="username" name="username" placeholder="Username" autocomplete="off" value="{{ request.GET.username }}"> <input type="password" id="password" name="password" placeholder="Password" autocomplete="off"> <input type="hidden" name="next" value="{{ request.path }}"> <input type="submit" value=""> </form> - <a href="{% url 'blog:register' %}" id="register-now-button"></a> - <a href="{% url 'blog:forgotpassword' %}" id="forgot-password-button"></a> + <a href="#" id="register-now-button"></a> + <a href="#" id="forgot-password-button"></a> </div> {% endif %} @@ -47,7 +47,7 @@ <img src="{% static 'images/site/icons/email.gif' %}" alt="Home" border="0"> </span> <span> - <a href="{% url 'blog:user_activity' user.username %}"> + <a href="#"> Profile </a> </span> @@ -57,7 +57,7 @@ <img src="{% static 'images/site/icons/mouse.gif' %}" alt="Home" border="0"> </span> <span> - <a href="{% url 'blog:account' %}"> + <a href="#"> Account </a> </span> @@ -67,7 +67,7 @@ <img src="{% static 'images/site/icons/key.gif' %}" alt="Home" border="0"> </span> <span> - <a href="{% url 'users:logout' %}"> + {% comment %} <a href="{% url 'users:logout' %}"> {% endcomment %} Logout </a> </span> @@ -84,7 +84,7 @@ <img src="{% static 'images/site/icons/news.gif' %}" alt="Home" border="0"> </span> <span> - <a href="{% url 'blog:home' %}"> + <a href="#"> Home </a> </span> @@ -94,7 +94,7 @@ <img src="{% static 'images/site/icons/pencil.gif' %}" alt="Blog" border="0"> </span> <span> - <a href="{% url 'blog:articles' %}"> + <a href="#"> Weblog </a> </span> @@ -104,7 +104,7 @@ <img src="{% static 'images/site/icons/cabinet.gif' %}" alt="Archives" border="0"> </span> <span> - <a href="{% url 'blog:archives' %}"> + <a href="#"> Archives </a> </span> @@ -114,7 +114,7 @@ <img src="{% static 'images/site/icons/books.gif' %}" alt="Categories" border="0"> </span> <span> - <a href="{% url 'blog:categories' %}"> + <a href="#"> Categories </a> </span> @@ -124,7 +124,7 @@ <img src="{% static 'images/site/icons/issues.gif' %}" alt="Tags" border="0"> </span> <span> - <a href="{% url 'blog:tags' %}"> + <a href="#"> Tags </a> </span> @@ -160,7 +160,7 @@ <img src="{% static 'images/site/icons/fork.png' %}" alt="Repositories" border="0" style="padding: 2px; height: 20px; width: 20px;"> </span> <span> - <a href="{% url 'dev_status:home' %}"> + {% comment %} <a href="{% url 'dev_status:home' %}"> {% endcomment %} My Repositories </a> </span> @@ -170,7 +170,7 @@ <img src="{% static 'images/site/icons/anistar.gif' %}" alt="Socialify" border="0" style="padding: 2px; height: 20px; width: 20px;"> </span> <span> - <a href="{% url 'blog:anilist' %}"> + <a href="#"> My Anime List </a> </span> @@ -180,7 +180,7 @@ <img src="{% static 'images/site/icons/windows.gif' %}" alt="Socialify" border="0"> </span> <span> - <a href="{% url 'blog:socialify' %}"> + <a href="#"> Socialify </a> </span> @@ -258,7 +258,7 @@ <img src="{% static 'images/site/icons/cabinet.gif' %}" alt="Archive" border="0"> </span> <span> - <a href="{% url 'blog:archives' %}/{{ archive | date:"F_Y" }}"> + <a href="#/{{ archive | date:"F_Y" }}"> {{ archive | date:"F Y" }} </a> </span> @@ -269,7 +269,7 @@ <img src="{% static 'images/site/icons/cabinet.gif' %}" alt="Archives" border="0"> </span> <span> - <a href="{% url 'blog:archives' %}"> + <a href="#"> All Archives... </a> </span> @@ -286,7 +286,7 @@ <img src="{% static 'images/site/icons/books.gif' %}" alt="Archive" border="0"> </span> <span> - <a href="{% url 'blog:categories' %}/{{ category.slug }}"> + <a href="#/{{ category.slug }}"> {{ category }} </a> </span> @@ -297,7 +297,7 @@ <img src="{% static 'images/site/icons/books.gif' %}" alt="Categories" border="0"> </span> <span> - <a href="{% url 'blog:categories' %}"> + <a href="#"> All Categories... </a> </span> diff --git a/templates/blog/post.html b/templates/blog/post.html index 5a98e981..7043f387 100644 --- a/templates/blog/post.html +++ b/templates/blog/post.html @@ -3,7 +3,7 @@ {% load tz %} {% load sha256 %} <div id="post-actions-bar" class="mtsbitem" style="margin-top: 12px;"> - <a class="pa-btn" href="{% url 'blog:home' %}">Home</a> + <a class="pa-btn" href="#">Home</a> <a class="pa-btn" href="#comments">Opinions</a> <a class="pa-btn" href="javascript:;" onclick="lightsOff()">Focus <img id="lightsStatus" data-status="off" src="{% static 'images/site/off.png' %}" alt="Off" style="height: 11px; position: relative; top: 2px;"></a> <a class="pa-btn" href="javascript:;" onclick="blindMode()">Spectacles <img id="blindStatus" data-status="off" src="{% static 'images/site/off.png' %}" alt="Off" style="height: 11px; position: relative; top: 2px;"></a> @@ -25,13 +25,13 @@ <span style="background-image: url('{% static 'images/avatars/' %}{{ userprofile.avatar_url }}.gif');" class="post-profile-image"></span> {% endwith %} <span> - <a href="{% url 'blog:user_activity' post.author %}" style="font-weight: bold;"> + <a href="" style="font-weight: bold;"> {{ post.author.first_name }} {{ post.author.last_name }} </a> </span> <span>posted in</span> <span> - <a href="{% url 'blog:categories' %}/{{ post.category.slug }}" style=""> + <a href="#/{{ post.category.slug }}" style=""> {{ post.category }} </a> </span> @@ -43,7 +43,7 @@ </div> <p> {% for tag in post.tags.all %} - <a class="tag" href="{% url 'blog:tag_posts' tag.slug %}">{{ tag.name }}</a> + <a class="tag" href="#">{{ tag.name }}</a> {% endfor %} </p> @@ -71,19 +71,19 @@ background: #ffffff0d; <div id="read-next"> <div class="post"> <div class="post-header"> - <h1 style="margin: auto !important;"><a style="color: #f4ebff;" href="{% url 'blog:post' read_next.slug %}">{{ read_next.title }}</a></h1> + <h1 style="margin: auto !important;"><a style="color: #f4ebff;" href="#">{{ read_next.title }}</a></h1> <div class="author-info"> {% with read_next.author.userprofile_set.first as userprofile %} <span style="background-image: url('{% static 'images/avatars/' %}{{ userprofile.avatar_url }}.gif');" class="post-profile-image"></span> {% endwith %} <span> - <a href="{% url 'blog:user_activity' read_next.author %}" style="font-weight: bold;"> + <a href="#" style="font-weight: bold;"> {{ read_next.author.first_name }} {{ read_next.author.last_name }} </a> </span> <span>posted in</span> <span> - <a href="{% url 'blog:categories' %}/{{ read_next.category.slug }}" style=""> + <a href="#" style=""> {{ read_next.category }} </a> </span> @@ -96,7 +96,7 @@ background: #ffffff0d; {{ read_next.excerpt | safe }} </div> <div class="post-actions" style="clear: both;"> - <a href="{% url 'blog:post' read_next.slug %}">Continue Reading</a> | <a href="{% url 'blog:post' read_next.slug %}#comments">{{ read_next.num_comments }} + <a href="#">Continue Reading</a> | <a href="##comments">{{ read_next.num_comments }} Opinion{% if not read_next.num_comments == 1 %}s{% endif %}</a> </div> </div> @@ -123,7 +123,7 @@ background: #ffffff0d; </td> <td style="vertical-align: top; width: 668px;"> <div style="margin-bottom: 13px; border-bottom: dashed 1px white; padding-bottom: 13px;"> - <a class="notranslate" {% if comment.user%}href="{% url 'blog:user_activity' comment.user.username %}"{% endif %}>{% if comment.user %}{{ comment.user.username }}{% else %}{{ comment.anonymous_user.name }}{% endif %}</a> on <em>{{ comment.created_at | date:"M d, Y" }}</em> + <a class="notranslate" {% if comment.user%}href="#"{% endif %}>{% if comment.user %}{{ comment.user.username }}{% else %}{{ comment.anonymous_user.name }}{% endif %}</a> on <em>{{ comment.created_at | date:"M d, Y" }}</em> {% if comment.edited %} <em>(Edited)</em> {% endif %} @@ -131,13 +131,13 @@ background: #ffffff0d; <a href="javascript:;" onclick="editComment({{ comment.id }})">Edit</a> - <a href="{% url 'blog:delete_comment' post.slug comment.id %}" onclick="return confirm('Are you sure you want to delete this comment?')">Delete</a> + <a href="#" onclick="return confirm('Are you sure you want to delete this comment?')">Delete</a> {% endif %} {% if comment.anonymous_user.name and comment.anonymous_user.email and comment.anonymous_user.token and comment.anonymous_user.token == request.COOKIES.anonymous_token|sha256 %} <a href="javascript:;" onclick="editComment({{ comment.id }})">Edit</a> - <a href="{% url 'blog:anon_delete_comment' post.slug comment.id %}" onclick="return confirm('Are you sure you want to delete this comment?')">Delete</a> + <a href="#" onclick="return confirm('Are you sure you want to delete this comment?')">Delete</a> {% endif %} </div> <div id="comment-body-{{ comment.id }}" class="comment notranslate"> @@ -145,7 +145,7 @@ background: #ffffff0d; </div> {% if comment.user == user %} <div id="edit-form-{{ comment.id }}" style="display: none; margin-bottom: 20px;"> - <form action="{% url 'blog:edit_comment' post.slug %}" method="POST"> + <form action="#" method="POST"> {% csrf_token %} <input type = "hidden" name="comment_id" value="{{ comment.id }}"> <textarea class="notranslate" name="body" id="body" cols="78" rows="10" style="width: 640px; display: block; margin-bottom: 10px;">{{ comment.body }}</textarea> @@ -156,7 +156,7 @@ background: #ffffff0d; {% endif %} {% if comment.anonymous_user.name and comment.anonymous_user.email and comment.anonymous_user.token and comment.anonymous_user.token == request.COOKIES.anonymous_token|sha256 %} <div id="edit-form-{{ comment.id }}" style="display: none; margin-bottom: 20px;"> - <form action="{% url 'blog:anon_edit_comment' post.slug %}" method="POST"> + <form action="#" method="POST"> {% csrf_token %} <input type = "hidden" name="comment_id" value="{{ comment.id }}"> <textarea class="notranslate" name="body" id="body" cols="78" rows="10" style="width: 640px; display: block; margin-bottom: 10px;">{{ comment.body }}</textarea> @@ -187,7 +187,7 @@ background: #ffffff0d; {% endif %} {% endfor %} {% endif %} - <form action="{% url 'blog:comment' post.slug %}" method="POST"> + <form action="#" method="POST"> {% csrf_token %} <textarea required name="comment" id="comment" cols="88" rows="10" style="width: 710px; display: block; margin-bottom: 15px;" placeholder="Your comment here..."></textarea> <div id="comment-tips" style=" /* background-color: #2d1d3d; */ @@ -261,7 +261,7 @@ background: #ffffff0d; {% endif %} <p id="ancmClick">You must be <em>logged in</em> to leave a comment. Or, you can <a href="javascript:;" onclick="toggleAnon()">leave an anonymous comment</a>.</p> <div id="anonymous-comment-form" style="display: none;"> - <form action="{% url 'blog:anon_comment' post.slug %}" method="POST"> + <form action="#" method="POST"> {% csrf_token %} <div id="anonymous-comment-area"> <div id="anonymous-profile-info"> @@ -358,7 +358,7 @@ background: #ffffff0d; <li>Anytime, you wish to change your secret token, this can be done by entering a new secret token in the 'Credentials' area. It will be stored locally and the site will remember your information, so you don't have to enter it again.</li> <li>If you lose your secret token, that's basically permanent damage. You can always set a new secret token for the same email, but you will not be able to edit your previous comments.</li> <li>You will not be able to customize your avatar. You will be assigned a random site specific avatar.</li> - <li>If anytime, you wish to <a href="{% url 'blog:register' %}">register</a> for a full account, you can do so with the same email address. However, your previous comments will not be migrated to your new account.</li> + <li>If anytime, you wish to <a href="#">register</a> for a full account, you can do so with the same email address. However, your previous comments will not be migrated to your new account.</li> </ul> </div> </div> diff --git a/templates/blog/register.html b/templates/blog/register.html index 16ff128a..2f05874a 100644 --- a/templates/blog/register.html +++ b/templates/blog/register.html @@ -30,7 +30,7 @@ <br /><br /> <p> By registering on this site, you agree to everything that's - <a href="{% url 'blog:policy' %}">written here</a>. + <a href="#">written here</a>. </p> <p> <b>Note</b>: Upon registering, you will be sent an email with a link to diff --git a/templates/blog/search.html b/templates/blog/search.html index 721f8d8d..fcf98c99 100644 --- a/templates/blog/search.html +++ b/templates/blog/search.html @@ -4,7 +4,7 @@ <table id="search" cellpadding="0" cellspacing="0"> <tr> <td id="search_sidebar" style="width: 200px; vertical-align: top;"> - <form method="get" url="{% url 'blog:search' %}"> + <form method="get" url="#"> <h2>Search</h2> <input type="text" name="q" value="{{ request.GET.q }}" placeholder="Query" style="width: 180px; display: block; margin: 10px 0;" required/> <h2 class="mtsbitem">Search In</h2> diff --git a/templates/blog/tags.html b/templates/blog/tags.html index 44dcac61..96743843 100644 --- a/templates/blog/tags.html +++ b/templates/blog/tags.html @@ -7,7 +7,7 @@ <center> {% for tag in tags %} <span style="margin-bottom:8px;"> - <a class="tag" style="font-size:{{ tag.pxs }}px;" href="{% url 'blog:tag_posts' tag.slug %}">{{ tag.name }} ({{ tag.count }} post{{ tag.count|pluralize }})</a> + <a class="tag" style="font-size:{{ tag.pxs }}px;" href="#">{{ tag.name }} ({{ tag.count }} post{{ tag.count|pluralize }})</a> </span> {% endfor %} </center> diff --git a/templates/blog_admin/posts.html b/templates/blog_admin/posts.html index a8aac92c..3e6fad17 100644 --- a/templates/blog_admin/posts.html +++ b/templates/blog_admin/posts.html @@ -35,13 +35,13 @@ <img src="{% url 'ignis:post_image' '80' post.id %}.gif" alt="Cover Image" style="width: 80px; display: block; margin: 0 auto;"> </td> <td colspan='1'> - <a href="{% url 'blog:post' post.slug %}"> + <a href="#"> {{ post.title }} </a> </td> - <td><a href="{% url 'blog:user_activity' post.author %}">{{ post.author }}</a></td> + <td><a href="#">{{ post.author }}</a></td> <td>{{ post.date | date:"d M Y" }}</td> - <td><a href="{% url 'blog:categories' %}/{{ post.category.slug }}">{{ post.category }}</a></td> + <td><a href="#/{{ post.category.slug }}">{{ post.category }}</a></td> <td> <p><a href="{% url 'blog-admin:new-post'%}?mode=edit&post_id={{post.id}}">Edit Post Metadata</a></p> <p><a href="{% url 'blog-admin:edit-post' post.slug %}">Edit Post Contents</a></p> diff --git a/templates/dev_status/home.html b/templates/dev_status/home.html index 18574c0a..2b4eaba0 100644 --- a/templates/dev_status/home.html +++ b/templates/dev_status/home.html @@ -53,13 +53,13 @@ <table style="width=100%; margin: 0 auto; table-layout: fixed;"> {% for repo in repos %} <tr> - <td><a href="{% url 'dev_status:repo' repo.name %}"> + {% comment %} <td><a href="{% url 'dev_status:repo' repo.name %}"> {% endcomment %} <img src="{% url 'ignis:cover_image' repo.name %}.gif" style="display: inline-block; margin-right: 10px;" class="zoom" border="0"> </a> </td> <td> <p style="font-size: 14px; font-weight: bold;"> - <a href="{% url 'dev_status:repo' repo.name %}">{{ repo.name }}</a> + {% comment %} <a href="{% url 'dev_status:repo' repo.name %}">{{ repo.name }}</a> {% endcomment %} {% if repo.isFork %} <span title="Forked Repository"><img src="{% static 'images/site/icons/isFork.png' %}" style="display: inline-block; margin-left: 5px; height: 16px; position: relative; top: 4px;" border="0"></span> {% endif %} @@ -99,18 +99,18 @@ <td><a class="disabled">«</a></td> <td style="margin-right: 15px;"><a class="disabled">‹</a></td> {% else %} - <td><a href="{% url 'dev_status:home'%}?search={{ search }}&items={{ items }}&filter={{ filter }}&sort={{ sort }}&direction={{ direction }}&page=1">«</a></td> - <td style="margin-right: 15px;"><a href="{% url 'dev_status:home'%}?search={{ search }}&items={{ items }}&filter={{ filter }}&sort={{ sort }}&direction={{ direction }}&page={{ page|add:-1 }}">‹</a></td> + {% comment %} <td><a href="{% url 'dev_status:home'%}?search={{ search }}&items={{ items }}&filter={{ filter }}&sort={{ sort }}&direction={{ direction }}&page=1">«</a></td> {% endcomment %} + {% comment %} <td style="margin-right: 15px;"><a href="{% url 'dev_status:home'%}?search={{ search }}&items={{ items }}&filter={{ filter }}&sort={{ sort }}&direction={{ direction }}&page={{ page|add:-1 }}">‹</a></td> {% endcomment %} {% endif %} {% for i in num_pages|times %} - <td><a {% if i == page %}class="active"{% endif %} href="{% url 'dev_status:home'%}?search={{ search }}&items={{ items }}&filter={{ filter }}&sort={{ sort }}&direction={{ direction }}&page={{ i }}">{{ i }}</a></td> + {% comment %} <td><a {% if i == page %}class="active"{% endif %} href="{% url 'dev_status:home'%}?search={{ search }}&items={{ items }}&filter={{ filter }}&sort={{ sort }}&direction={{ direction }}&page={{ i }}">{{ i }}</a></td> {% endcomment %} {% endfor %} {% if page == num_pages %} <td style="margin-left: 15px;"><a class="disabled">›</a></td> <td><a class="disabled">»</a></td> {% else %} - <td style="margin-left: 15px;"><a href="{% url 'dev_status:home'%}?search={{ search }}&items={{ items }}&filter={{ filter }}&sort={{ sort }}&direction={{ direction }}&page={{ page|add:1 }}">›</a></td> - <td><a href="{% url 'dev_status:home'%}?search={{ search }}&items={{ items }}&filter={{ filter }}&sort={{ sort }}&direction={{ direction }}&page={{ num_pages }}">»</a></td> + {% comment %} <td style="margin-left: 15px;"><a href="{% url 'dev_status:home'%}?search={{ search }}&items={{ items }}&filter={{ filter }}&sort={{ sort }}&direction={{ direction }}&page={{ page|add:1 }}">›</a></td> + <td><a href="{% url 'dev_status:home'%}?search={{ search }}&items={{ items }}&filter={{ filter }}&sort={{ sort }}&direction={{ direction }}&page={{ num_pages }}">»</a></td> {% endcomment %} {% endif %} </tr> </table> diff --git a/templates/dev_status/repo.html b/templates/dev_status/repo.html index c5df710b..23230a12 100644 --- a/templates/dev_status/repo.html +++ b/templates/dev_status/repo.html @@ -23,7 +23,7 @@ /> </span> <a - href="{% if parent == '' %}{% url 'dev_status:repo' repo %}{% else %}{% url 'dev_status:repo-path' repo parent %}{% endif %}" + {% comment %} href="{% if parent == '' %}{% url 'dev_status:repo' repo %}{% else %}{% url 'dev_status:repo-path' repo parent %}{% endif %}" {% endcomment %} >..</a > {% endif %} @@ -58,7 +58,7 @@ /> </span> {% endif %} - <a href="{% url 'dev_status:repo-path' repo file.path %}" + {% comment %} <a href="{% url 'dev_status:repo-path' repo file.path %}" {% endcomment %} >{{ file.name }}</a > </td> @@ -85,7 +85,7 @@ > <h4 style="margin: 0"> Viewing - <a href="{% url 'dev_status:repo-path' repo files.path %}" + {% comment %} <a href="{% url 'dev_status:repo-path' repo files.path %}" {% endcomment %} >{{ files.name }}</a > <pre style="display: inline-block; margin-left: 10px"> @@ -113,7 +113,7 @@ > <h4 style="margin: 0; margin-left: 10px"> Viewing - <a href="{% url 'dev_status:repo-path' repo files.path %}" + {% comment %} <a href="{% url 'dev_status:repo-path' repo files.path %}" {% endcomment %} >{{ files.name }}</a > <pre style="display: inline-block; margin-left: 10px"> |
