Changeset 4750 for DASISH


Ignore:
Timestamp:
03/18/14 17:01:58 (10 years ago)
Author:
olof.olsson@snd.gu.se
Message:

loginDialog xul

Location:
DASISH/t5.6/client/trunk/chrome/markingcollection/content/markingcollection
Files:
3 edited
1 copied

Legend:

Unmodified
Added
Removed
  • DASISH/t5.6/client/trunk/chrome/markingcollection/content/markingcollection/annotator-service/annotations.wired.marker.js

    r4742 r4750  
    8383                                targetURL += '/fragment/'+xpointer+'/cached';
    8484                               
     85                                //cache html-dump
    8586                                annotationFramework.postCache(targetURL, cacheMetadata, htmlDump, cacheMimeType);
    8687                            });
  • DASISH/t5.6/client/trunk/chrome/markingcollection/content/markingcollection/autocache.js

    r3406 r4750  
    11var bitsAutocacheObserver = {
    22        domain  : 'wiredmarker', //"objectmng.xxx"ずいう名前の蚭定が倉曎された堎合å
    3 šãŠã§å‡Šç†ã‚’行う
     3šãŠã§å‡Šç†ã‚’行う //I do treatment at all if the setting named has changed
    44        observe : function(aSubject, aTopic, aPrefstring) {
    55                try{
     
    206206/////////////////////////////////////////////////////////////////////
    207207// 指定URLがキャッシュドキュメントぞのURLか
     208// Specified URL is the URL of the document for the cache
    208209/////////////////////////////////////////////////////////////////////
    209210        isCacheURL : function(aURLString){
     
    222223/////////////////////////////////////////////////////////////////////
    223224// キャッシュドキュメントの堎合、マヌキングするか
     225// If the cache document or marking
    224226/////////////////////////////////////////////////////////////////////
    225227        isMarking : function(aURLString){
     
    265267/////////////////////////////////////////////////////////////////////
    266268// 指定した日時のキャッシュが存圚するか
     269// Cache of a specified date and time exists
    267270/////////////////////////////////////////////////////////////////////
    268271        existsCache : function(aURLString,aTimeStamp){
     
    289292/////////////////////////////////////////////////////////////////////
    290293// ドキュメントを開いた日時
     294// Date and time the document is opened
    291295/////////////////////////////////////////////////////////////////////
    292296        getURLTimeStamp : function(aURLString){
    293297                if(!aURLString) return undefined;
    294298                // キャッシュの堎合、キャッシュした日時を返す
     299                // The case of a cache, I return the date and time for which the cache
    295300                if(this.isCacheURL(aURLString)){
    296301                        var file = this.getSaveCacheInfoFile(aURLString);
     
    314319/////////////////////////////////////////////////////////////////////
    315320// キャッシュURLをオリゞナルのURLぞ倉換
     321// The conversion to the URL of the original cache URL
    316322/////////////////////////////////////////////////////////////////////
    317323        convertCacheURLToOriginalURL : function(aURLString){
     
    347353/////////////////////////////////////////////////////////////////////
    348354// URLずタむムスタンプでフォルダ
     355// Folder timestamp and URL
    349356/////////////////////////////////////////////////////////////////////
    350357        getURLCacheDirFromTimeStamp : function(aURLString,aTimeStamp){
     
    443450/////////////////////////////////////////////////////////////////////
    444451// 指定した日時の盎前のタむムスタンプ
     452// Time stamp just before the specified date and time
    445453/////////////////////////////////////////////////////////////////////
    446454        getApproximateCacheTimeStamp : function(aURLString,aTimeStamp){
     
    35723580        },
    35733581};
    3574 
    3575 
  • DASISH/t5.6/client/trunk/chrome/markingcollection/content/markingcollection/loginDialog.xul

    r4728 r4750  
    66        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
    77        xmlns:html="http://www.w3.org/1999/xhtml"
    8         title="&markingcollection.tagoutput.menu.title;"
    9         buttons="accept,cancel"
    10         defaultButton="accept"
     8        title="Login"
    119        onload="tagoutputDialog.init();"
    1210        ondialogaccept="return tagoutputDialog.accept();"
    1311        ondialogcancel="return tagoutputDialog.cancel();">
     12   
    1413        <script type="application/x-javascript" src="chrome://global/content/nsUserSettings.js" />
    1514        <script type="application/x-javascript" src="chrome://markingcollection/content/tagoutputDialog.js"/>
     
    1716                <stringbundle id="tagoutputDialogString" src="chrome://markingcollection/locale/markingcollection.properties" />
    1817        </stringbundleset>
    19         <groupbox>
    20                 <caption label="&markingcollection.tagoutput.output.caption;"/>
    21                 <groupbox>
    22                         <caption label="&markingcollection.tagoutput.style.caption;"/>
    23                         <radiogroup orient="horizontal" oncommand="tagoutputDialog.style(event)">
    24                                 <radio id="no_style"   value="no"   label="&markingcollection.tagoutput.style.no_style;"/>
    25                                 <radio id="with_style" value="with" label="&markingcollection.tagoutput.style.with_style;"/>
    26                         </radiogroup>
    27                 </groupbox>
    28                 <groupbox>
    29                         <caption label="&markingcollection.tagoutput.visibility.caption;"/>
    30                         <radiogroup oncommand="tagoutputDialog.visibility(event)">
    31                                 <radio id="visible" value="visible" label="&markingcollection.tagoutput.visibility.visible;"/>
    32                                 <radio id="hidden"  value="hidden"  label="&markingcollection.tagoutput.visibility.hidden;"/>
    33                                 <hbox align="right">
    34                                         <vbox style="background-color:#fff;">
    35                                                 <description style="color:#f00">&markingcollection.tagoutput.visibility.description1;</description>
    36                                                 <description style="color:#f00">&markingcollection.tagoutput.visibility.description2;</description>
    37                                         </vbox>
    38                                 </hbox>
    39                         </radiogroup>
    40                 </groupbox>
    41                 <groupbox align="center">
    42                         <caption label="&markingcollection.tagoutput.format.caption;"/>
    43                         <label id="format" value=""/>
    44                 </groupbox>
    45         </groupbox>
    46         <groupbox>
    47                 <caption label="&markingcollection.tagoutput.html.caption;"/>
    48                 <checkbox id="path" label="&markingcollection.tagoutput.html.path;" oncommand="tagoutputDialog.path(event)"/>
    49         </groupbox>
     18        <iframe height="500" width="650" type="content" src="https://lux17.mpi.nl/ds/webannotator/api/authentication/login" flex="2" id="browserTable" name="table_frame"/>
    5019</dialog>
  • DASISH/t5.6/client/trunk/chrome/markingcollection/content/markingcollection/sidebar.xul

    r4712 r4750  
    7272    </script>
    7373    <description id="loginInfo"></description>
     74    <button label="Login" oncommand='window.openDialog("chrome://markingcollection/content/loginDialog.xul", "", "chrome,centerscreen,modal", {});'/>
    7475    <stringbundleset id="mcStringBundles">
    7576        <stringbundle id="mcMainString" src="chrome://markingcollection/locale/markingcollection.properties" />
Note: See TracChangeset for help on using the changeset viewer.