Development of an internal social media platform with personalised dashboards for students
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

bookmarklets.html 1.3KB

1234567891011121314151617181920212223242526
  1. {% extends "admin/base_site.html" %}
  2. {% load i18n %}
  3. {% block breadcrumbs %}
  4. <div class="breadcrumbs">
  5. <a href="{% url 'admin:index' %}">{% trans 'Home' %}</a>
  6. &rsaquo; <a href="{% url 'django-admindocs-docroot' %}">{% trans 'Documentation' %}</a>
  7. &rsaquo; {% trans 'Bookmarklets' %}
  8. </div>
  9. {% endblock %}
  10. {% block title %}{% trans "Documentation bookmarklets" %}{% endblock %}
  11. {% block content %}
  12. <p class="help">{% blocktrans trimmed %}
  13. To install bookmarklets, drag the link to your bookmarks toolbar, or right-click
  14. the link and add it to your bookmarks. Now you can select the bookmarklet
  15. from any page in the site.
  16. {% endblocktrans %}</p>
  17. <div id="content-main">
  18. <h3><a href="javascript:(function(){if(typeof ActiveXObject!='undefined'){x=new ActiveXObject('Microsoft.XMLHTTP')}else if(typeof XMLHttpRequest!='undefined'){x=new XMLHttpRequest()}else{return;}x.open('HEAD',location.href,false);x.send(null);try{view=x.getResponseHeader('x-view');}catch(e){alert('No view found for this page');return;}if(view=='undefined'){alert('No view found for this page');}document.location='{% url 'django-admindocs-views-index' %}'+view+'/';})()">{% trans "Documentation for this page" %}</a></h3>
  19. <p>{% trans "Jumps you from any page to the documentation for the view that generates that page." %}</p>
  20. </div>
  21. {% endblock %}